|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pzgui.AbstractDrawable
org.pzgui.layout.AbstractLayoutable
org.openflow.gui.drawables.LayoutableIcon
public class LayoutableIcon
| Constructor Summary | |
|---|---|
LayoutableIcon(long id,
Icon icon,
int x,
int y)
|
|
LayoutableIcon(long id,
Icon icon,
int x,
int y,
int w,
int h)
|
|
| Method Summary | |
|---|---|
boolean |
contains(int x,
int y)
returns true if the area described by getHeight()/getWidth() contains x, y |
void |
drawObject(java.awt.Graphics2D gfx)
Draw this object |
java.lang.Iterable<Link> |
getEdges()
Return an iterator over the edges in a Vertex |
int |
getHeight()
gets the height of this object |
long |
getID()
Returns a unique ID for this node |
int |
getWidth()
gets the width of this object |
| Methods inherited from class org.pzgui.layout.AbstractLayoutable |
|---|
canPositionChange, drag, getPos, getX, getY, hasPositionChanged, setCanPositionChange, setPos, setXPos, setYPos, unsetPositionChanged |
| Methods inherited from class org.pzgui.AbstractDrawable |
|---|
drawBeforeObject, isDrawn, isHovered, isSelected, setHovered, setSelected, unsetDrawn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.pzgui.Drawable |
|---|
drag, drawBeforeObject, isDrawn, isHovered, isSelected, setHovered, setSelected, unsetDrawn |
| Methods inherited from interface org.pzgui.layout.Layoutable |
|---|
canPositionChange, getPos, getX, getY, hasPositionChanged, setCanPositionChange, setPos, setXPos, setYPos, unsetPositionChanged |
| Constructor Detail |
|---|
public LayoutableIcon(long id,
Icon icon,
int x,
int y)
public LayoutableIcon(long id,
Icon icon,
int x,
int y,
int w,
int h)
| Method Detail |
|---|
public void drawObject(java.awt.Graphics2D gfx)
Drawable
drawObject in interface DrawabledrawObject in class AbstractDrawable
public boolean contains(int x,
int y)
AbstractLayoutable
contains in interface Drawablecontains in class AbstractLayoutablepublic java.lang.Iterable<Link> getEdges()
Vertex
getEdges in interface Vertex<Link>public int getHeight()
Layoutable
getHeight in interface Layoutablepublic long getID()
Layoutable
getID in interface Layoutablepublic int getWidth()
Layoutable
getWidth in interface Layoutable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||