Class Border
- java.lang.Object
-
- com.cosylab.vdct.graphics.objects.VisibleObject
-
- com.cosylab.vdct.graphics.objects.ContainerObject
-
- com.cosylab.vdct.graphics.objects.Border
-
- All Implemented Interfaces:
Clipboardable,Flexible,Movable,SaveObject,Selectable,Visitable
public class Border extends ContainerObject implements Selectable, SaveObject, Flexible, Clipboardable, Movable
- Author:
- msekoranja
-
-
Field Summary
-
Fields inherited from class com.cosylab.vdct.graphics.objects.ContainerObject
subObjects, subObjectsV, useHashtable
-
Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject
x, y, zoomImage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)booleancheckMove(int dx, int dy)Insert the method's description here.FlexiblecopyToGroup(Object dsId, String group)Returns the copied instance or null if the object cannot be copied.voiddestroy()Insert the method's description here.protected voiddraw(Graphics g, boolean hilited)Insert the method's description here.StringgetFlexibleName()Insert the method's description here.StringgetHashID()Insert the method's description here.StringgetName()VisibleObjecthiliteComponentsCheck(int x, int y)Returned value inicates change Creation date: (21.12.2000 22:21:12)VisibleObjectintersects(int px, int py)Default impmlementation for square (must be rescaled) Creation date: (19.12.2000 20:20:20)VisibleObjectintersects(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)booleanmove(int dx, int dy)Insert the method's description here.booleanmoveToGroup(Object dsId, String group)Insert the method's description here.ObjectremoveObject(String id)Insert the method's description here.booleanrename(Object dsId, String newName)Insert the method's description here.voidrevalidatePosition()Insert the method's description here.protected voidvalidate()Insert the method's description here.-
Methods inherited from class com.cosylab.vdct.graphics.objects.ContainerObject
addSubObject, addSubObject, addSubObject, clear, containsObject, getRootContainer, getSubObject, getSubObjects, getSubObjectsV, updateFields
-
Methods inherited from class com.cosylab.vdct.graphics.objects.VisibleObject
forceValidation, getColor, getDsId, 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, setX, setY, setZoomRepaint, snapToGrid, unconditionalValidation
-
-
-
-
Method Detail
-
removeObject
public Object removeObject(String id)
Description copied from class:ContainerObjectInsert the method's description here. Creation date: (21.12.2000 20:32:49)- Overrides:
removeObjectin classContainerObject- Parameters:
id- java.lang.String- Returns:
- java.lang.Object
-
destroy
public void destroy()
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (30.1.2001 11:58:53)- Overrides:
destroyin classVisibleObject
-
draw
protected void draw(Graphics g, boolean hilited)
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (19.12.2000 21:30:46)- Specified by:
drawin classVisibleObject- Parameters:
g- java.awt.Graphicshilited- boolean
-
getHashID
public String getHashID()
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (3.5.2001 16:40:00)- Specified by:
getHashIDin classVisibleObject- Returns:
- java.lang.String
-
revalidatePosition
public void revalidatePosition()
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (21.12.2000 21:21:59)- Specified by:
revalidatePositionin classVisibleObject
-
validate
protected void validate()
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (19.12.2000 21:31:15)- Specified by:
validatein classVisibleObject
-
getFlexibleName
public String getFlexibleName()
Description copied from interface:FlexibleInsert the method's description here. Creation date: (3.5.2001 10:15:48)- Specified by:
getFlexibleNamein interfaceFlexible- Returns:
- java.lang.String
-
checkMove
public boolean checkMove(int dx, int dy)Description copied from interface:MovableInsert the method's description here. Creation date: (27.12.2000 13:08:09)
-
move
public boolean move(int dx, int dy)Description copied from interface:MovableInsert the method's description here. Creation date: (25.12.2000 14:13:14)
-
accept
public void accept(Visitor visitor)
-
hiliteComponentsCheck
public VisibleObject hiliteComponentsCheck(int x, int y)
Returned value inicates change Creation date: (21.12.2000 22:21:12)- Parameters:
x- inty- int- Returns:
- com.cosylab.visible.objects.VisibleObject
-
intersects
public VisibleObject intersects(int px, int py)
Description copied from class:VisibleObjectDefault impmlementation for square (must be rescaled) Creation date: (19.12.2000 20:20:20)- Overrides:
intersectsin classVisibleObject- Parameters:
px- intpy- int- Returns:
- com.cosylab.visible.objects.VisibleObject
-
intersects
public VisibleObject intersects(int p1x, int p1y, int p2x, int p2y)
Description copied from class:VisibleObjectDefault impmlementation for square (must be rescaled) p1 is upper-left point Creation date: (19.12.2000 20:20:20)- Overrides:
intersectsin classVisibleObject- Parameters:
p1x- intp1y- intp2x- intp2y- int- Returns:
- com.cosylab.visible.objects.VisibleObject
-
getName
public String getName()
- Returns:
- Returns the name.
-
copyToGroup
public Flexible copyToGroup(Object dsId, String group)
Description copied from interface:FlexibleReturns the copied instance or null if the object cannot be copied. Creation date: (4.2.2001 21:59:44)- Specified by:
copyToGroupin interfaceFlexible- Parameters:
dsId- dsIdgroup- java.lang.String- Returns:
- something
-
moveToGroup
public boolean moveToGroup(Object dsId, String group)
Description copied from interface:FlexibleInsert the method's description here. Creation date: (4.2.2001 22:00:01)- Specified by:
moveToGroupin interfaceFlexible- Parameters:
dsId- dsIdgroup- java.lang.String- Returns:
- something
-
-