|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Positionable
Provide an interface that the Gui and EditorPanel
will use for any repository object that it is expected to render
by a DrawVertex implementation.
| Method Summary | |
|---|---|
java.awt.Point |
getAbsolutePosition()
Return the absolute coordinate of this . |
java.awt.Color |
getBackgroundColor()
|
java.awt.Color |
getForegroundColor()
|
java.lang.String |
getLabel()
|
java.awt.Point |
getLabelPosition()
|
int |
getLabelXPos()
|
int |
getLabelYPos()
|
java.awt.Point |
getPosition()
Return the Point that represents the position of this
Positionable in a Panel. |
Positionable |
getPositionedRelativeTo()
Return the Positionable this is relative to. |
java.lang.Object |
getRepObject()
|
java.awt.Color |
getTextColor()
|
int |
getXPos()
|
int |
getYPos()
|
void |
setAbsolutePosition(int x,
int y)
|
void |
setBackgroundColor(java.awt.Color c)
|
void |
setForegroundColor(java.awt.Color c)
|
void |
setLabel(java.lang.String label)
|
void |
setLabelPosition(int x,
int y)
|
void |
setLabelXPos(int x)
|
void |
setLabelYPos(int y)
|
void |
setPosition(int x,
int y)
|
void |
setTextColor(java.awt.Color c)
|
void |
setXPos(int x)
|
void |
setYPos(int y)
|
| Method Detail |
|---|
int getXPos()
int getYPos()
void setXPos(int x)
void setYPos(int y)
void setPosition(int x,
int y)
void setAbsolutePosition(int x,
int y)
java.awt.Point getPosition()
Point that represents the position of this
Positionable in a Panel. Note that depending on
the implementation of the interface, this might a coordinate
relative to some other positionable
java.awt.Point getAbsolutePosition()
Positionable getPositionedRelativeTo()
Positionable this is relative to. If not relative
to some other Positionable then return null.
int getLabelXPos()
int getLabelYPos()
void setLabelXPos(int x)
void setLabelYPos(int y)
java.awt.Point getLabelPosition()
void setLabelPosition(int x,
int y)
java.lang.String getLabel()
void setLabel(java.lang.String label)
java.awt.Color getForegroundColor()
void setForegroundColor(java.awt.Color c)
java.awt.Color getBackgroundColor()
void setBackgroundColor(java.awt.Color c)
java.awt.Color getTextColor()
void setTextColor(java.awt.Color c)
java.lang.Object getRepObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||