|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.graphics.objects.VisibleObject
com.cosylab.vdct.graphics.objects.Vertex
public class Vertex
Field Summary |
---|
Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
---|
x, y, zoomImage |
Constructor Summary | |
---|---|
Vertex(VisibleObject owner,
int parX,
int parY)
|
Method Summary | |
---|---|
void |
accept(Visitor visitor)
|
boolean |
checkMove(int dx,
int dy)
Insert the method's description here. |
protected void |
draw(java.awt.Graphics g,
boolean hilited)
Insert the method's description here. |
java.lang.Object |
getDsId()
|
java.lang.String |
getHashID()
Insert the method's description here. |
java.util.Vector |
getItems()
Insert the method's description here. |
ContainerObject |
getRootContainer()
|
VisibleObject |
intersects(int px,
int py)
Default impmlementation for square (must be rescaled) Creation date: (19.12.2000 20:20:20) |
VisibleObject |
intersects(int p1x,
int p1y,
int p2x,
int p2y)
Default impmlementation for square (must be rescaled) p1 is upper-left point Creation date: (19.12.2000 20:20:20) |
boolean |
isHilited()
Returns the hilited. |
boolean |
move(int dx,
int dy)
Insert the method's description here. |
void |
revalidatePosition()
Insert the method's description here. |
void |
setX(int parX)
Insert the method's description here. |
void |
setY(int parY)
Insert the method's description here. |
protected void |
validate()
Insert the method's description here. |
Methods inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
---|
destroy, forceValidation, getColor, getFont, getHeight, getLabel, getLeftOffset, getMarkedX, getMarkedY, getMoveInsideView, getParent, getRheight, getRightOffset, getRlabelX, getRlabelY, getRscale, getRwidth, getRx, getRy, getScale, getTopOffset, getVisibleColor, getWidth, getX, getY, isDestroyed, isVisible, isZoomRepaint, markPosition, paint, postDraw, postPaint, setColor, setDestroyed, setFont, setHeight, setLabel, setParent, setRheight, setRlabelX, setRlabelY, setRwidth, setRx, setRy, setScale, setWidth, setZoomRepaint, snapToGrid, unconditionalValidation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cosylab.vdct.graphics.popup.Popupable |
---|
getLabel |
Constructor Detail |
---|
public Vertex(VisibleObject owner, int parX, int parY)
Method Detail |
---|
public void accept(Visitor visitor)
accept
in interface Visitable
visitor
- com.cosylab.vdct.graphics.objects.Visitorpublic boolean checkMove(int dx, int dy)
Movable
checkMove
in interface Movable
dx
- intdy
- int
protected void draw(java.awt.Graphics g, boolean hilited)
VisibleObject
draw
in class VisibleObject
g
- java.awt.Graphicshilited
- booleanpublic java.lang.String getHashID()
VisibleObject
getHashID
in class VisibleObject
public java.util.Vector getItems()
Popupable
getItems
in interface Popupable
public boolean move(int dx, int dy)
Movable
move
in interface Movable
dx
- intdy
- int
public void revalidatePosition()
VisibleObject
revalidatePosition
in class VisibleObject
public void setX(int parX)
VisibleObject
setX
in class VisibleObject
parX
- intpublic void setY(int parY)
VisibleObject
setY
in class VisibleObject
parY
- intprotected void validate()
VisibleObject
validate
in class VisibleObject
public boolean isHilited()
public VisibleObject intersects(int px, int py)
intersects
in class VisibleObject
px
- intpy
- int
public VisibleObject intersects(int p1x, int p1y, int p2x, int p2y)
intersects
in class VisibleObject
p1x
- intp1y
- intp2x
- intp2y
- int
public ContainerObject getRootContainer()
getRootContainer
in class VisibleObject
public java.lang.Object getDsId()
getDsId
in class VisibleObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |