|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.fractal.gui.graph.view.ComponentPart
A component part.
| Field Summary | |
|---|---|
static int |
BOTTOM_BORDER
Bottom border of a component representation. |
static int |
BOTTOM_LEFT_CORNER
Bottom left corner of a component representation. |
static int |
BOTTOM_RIGHT_CORNER
Bottom right corner of a component representation. |
static int |
CONTENT
Content part of a component representation. |
static int |
HEADER
Header part of a component representation. |
static int |
INTERFACE
Interface part of a component representation. |
static int |
LEFT_BORDER
Left border of a component representation. |
static int |
RIGHT_BORDER
Right border of a component representation. |
static int |
TOP_BORDER
Top border of a component representation. |
static int |
TOP_LEFT_CORNER
Top left corner of a component representation. |
static int |
TOP_RIGHT_CORNER
Top right corner of a component representation. |
| Constructor Summary | |
|---|---|
ComponentPart(Component component,
Interface itf,
int part,
java.awt.Rectangle position)
Constructs a new ComponentPart object. |
|
| Method Summary | |
|---|---|
Component |
getComponent()
Returns the component designated by this component part. |
Interface |
getInterface()
Returns the precise interface designated by this component part. |
int |
getPart()
Returns the type of this component part. |
java.awt.Rectangle |
getPosition()
Returns the position of the component designated by this component part. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int HEADER
public static final int TOP_LEFT_CORNER
public static final int TOP_RIGHT_CORNER
public static final int BOTTOM_LEFT_CORNER
public static final int BOTTOM_RIGHT_CORNER
public static final int LEFT_BORDER
public static final int TOP_BORDER
public static final int RIGHT_BORDER
public static final int BOTTOM_BORDER
public static final int CONTENT
public static final int INTERFACE
| Constructor Detail |
public ComponentPart(Component component,
Interface itf,
int part,
java.awt.Rectangle position)
ComponentPart object.
component - the component designated by this component part.itf - the interface of this component designated by this component
part. May be null.part - the type of this component part.position - the position of the component designated by this component
part.| Method Detail |
public Component getComponent()
public Interface getInterface()
getPart is not equal to INTERFACE.public int getPart()
public java.awt.Rectangle getPosition()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||