|
|||||||||
| 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.Box
public class Box
| Field Summary |
|---|
| Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
|---|
x, y, zoomImage |
| Constructor Summary | |
|---|---|
Box(java.lang.String parName,
Group parentGroup,
int posX,
int posY,
int posX2,
int posY2)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
|
boolean |
checkMove(int dx,
int dy)
Insert the method's description here. |
Flexible |
copyToGroup(java.lang.Object dsId,
java.lang.String group)
Returns the copied instance or null if the object cannot be copied. |
void |
destroy()
Insert the method's description here. |
protected void |
draw(java.awt.Graphics g,
boolean hilited)
Insert the method's description here. |
Vertex |
getEndVertex()
|
java.lang.String |
getFlexibleName()
Insert the method's description here. |
java.lang.String |
getHashID()
Insert the method's description here. |
int |
getHeight()
Insert the method's description here. |
boolean |
getIsDashed()
|
java.util.Vector |
getItems()
Insert the method's description here. |
java.lang.String |
getName()
|
Vertex |
getStartVertex()
|
int |
getWidth()
Insert the method's description here. |
int |
getX()
Insert the method's description here. |
int |
getY()
Insert the method's description here. |
VisibleObject |
hiliteComponentsCheck(int x,
int y)
Returned value inicates change Creation date: (21.12.2000 22:21:12) |
VisibleObject |
intersects(int px,
int py)
Creation date: (19.12.2000 20:20:20) |
boolean |
move(int dx,
int dy)
Insert the method's description here. |
boolean |
moveToGroup(java.lang.Object dsId,
java.lang.String group)
Insert the method's description here. |
boolean |
rename(java.lang.Object dsId,
java.lang.String newName)
Insert the method's description here. |
void |
revalidatePosition()
Insert the method's description here. |
void |
setIsDashed(boolean parIsDashed)
|
void |
snapToGrid()
Snap to grid. |
protected void |
validate()
Insert the method's description here. |
| Methods inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
|---|
forceValidation, getColor, getDsId, getFont, getLabel, getLeftOffset, getMarkedX, getMarkedY, getMoveInsideView, getParent, getRheight, getRightOffset, getRlabelX, getRlabelY, getRootContainer, getRscale, getRwidth, getRx, getRy, getScale, getTopOffset, getVisibleColor, intersects, isDestroyed, isVisible, isZoomRepaint, markPosition, paint, postDraw, postPaint, setColor, setDestroyed, setFont, setHeight, setLabel, setParent, setRheight, setRlabelX, setRlabelY, setRwidth, setRx, setRy, setScale, setWidth, setX, setY, setZoomRepaint, 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 Box(java.lang.String parName,
Group parentGroup,
int posX,
int posY,
int posX2,
int posY2)
| Method Detail |
|---|
public void accept(Visitor visitor)
accept in interface Visitablevisitor - com.cosylab.vdct.graphics.objects.Visitor
public boolean checkMove(int dx,
int dy)
Movable
checkMove in interface Movabledx - intdy - int
public Flexible copyToGroup(java.lang.Object dsId,
java.lang.String group)
Flexible
copyToGroup in interface Flexiblegroup - java.lang.Stringpublic void destroy()
VisibleObject
destroy in class VisibleObject
protected void draw(java.awt.Graphics g,
boolean hilited)
VisibleObject
draw in class VisibleObjectg - java.awt.Graphicshilited - booleanpublic Vertex getEndVertex()
public java.lang.String getFlexibleName()
Flexible
getFlexibleName in interface Flexiblepublic boolean getIsDashed()
public java.lang.String getHashID()
VisibleObject
getHashID in class VisibleObjectpublic java.util.Vector getItems()
Popupable
getItems in interface Popupablepublic java.lang.String getName()
getName in interface BorderObjectpublic Vertex getStartVertex()
public boolean move(int dx,
int dy)
Movable
move in interface Movabledx - intdy - int
public boolean moveToGroup(java.lang.Object dsId,
java.lang.String group)
Flexible
moveToGroup in interface Flexiblegroup - java.lang.String
public boolean rename(java.lang.Object dsId,
java.lang.String newName)
Flexible
rename in interface FlexiblenewName - java.lang.Stringpublic void revalidatePosition()
VisibleObject
revalidatePosition in class VisibleObjectpublic void setIsDashed(boolean parIsDashed)
protected void validate()
VisibleObject
validate in class VisibleObject
public VisibleObject hiliteComponentsCheck(int x,
int y)
x - inty - int
public VisibleObject intersects(int px,
int py)
intersects in class VisibleObjectpx - intpy - int
public int getX()
VisibleObject
getX in class VisibleObjectpublic int getY()
VisibleObject
getY in class VisibleObjectpublic int getWidth()
VisibleObject
getWidth in class VisibleObjectpublic int getHeight()
VisibleObject
getHeight in class VisibleObjectpublic void snapToGrid()
VisibleObject
snapToGrid in class VisibleObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||