|
|||||||||
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.Macro
public class Macro
Insert the type's description here. Creation date: (29.1.2001 20:05:51)
Field Summary | |
---|---|
protected VDBMacro |
data
|
protected boolean |
disconnected
|
protected java.awt.Polygon |
leftPoly
|
protected int |
leftXtranslation
|
protected int |
leftYtranslation
|
protected java.util.Vector |
outlinks
|
protected java.awt.Polygon |
rightPoly
|
protected int |
rightXtranslation
|
protected int |
rightYtranslation
|
Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
---|
x, y, zoomImage |
Constructor Summary | |
---|---|
Macro(VDBMacro data,
ContainerObject parent,
int x,
int y)
Insert the method's description here. |
Method Summary | |
---|---|
void |
accept(Visitor visitor)
Insert the method's description here. |
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. |
void |
disconnect(Linkable disconnector)
Insert the method's description here. |
protected void |
draw(java.awt.Graphics g,
boolean hilited)
Insert the method's description here. |
InspectableProperty |
getCommentProperty()
|
VDBMacro |
getData()
Returns the data. |
java.lang.String |
getDescription()
Insert the method's description here. |
java.lang.String |
getFlexibleName()
Insert the method's description here. |
java.lang.String |
getHashID()
Insert the method's description here. |
javax.swing.Icon |
getIcon()
Insert the method's description here. |
java.lang.String |
getID()
Insert the method's description here. |
int |
getInX()
Insert the method's description here. |
int |
getInY()
Insert the method's description here. |
java.util.Vector |
getItems()
Insert the method's description here. |
java.lang.String |
getLayerID()
Insert the method's description here. |
int |
getLeftOffset()
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the left side of this object. |
int |
getLeftX()
|
int |
getLinkCount()
Insert the method's description here. |
static GUISeparator |
getMacroSeparator()
Insert the method's description here. |
int |
getMode()
|
java.util.ArrayList |
getModeNames()
Obtains list of all mode names for this particular property. |
java.lang.String |
getName()
Insert the method's description here. |
java.util.Vector |
getOutlinks()
|
OutLink |
getOutput()
Insert the method's description here. |
InspectableProperty[] |
getProperties(int mode,
boolean spreadsheet)
|
int |
getRightOffset()
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object. |
int |
getRightX()
|
java.util.Vector |
getStartPoints()
Insert the method's description here. |
int |
getTopOffset()
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn above this object. |
boolean |
isConnectable()
Insert the method's description here. |
boolean |
isDisconnected()
Insert the method's description here. |
boolean |
isRight()
Insert the method's description here. |
boolean |
isTextPositionNorth()
|
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 |
rename(java.lang.String oldName,
java.lang.String newName)
|
void |
revalidatePosition()
Insert the method's description here. |
void |
setDescription(java.lang.String description)
Insert the method's description here. |
void |
setDestroyed(boolean newDestroyed)
Insert the method's description here. |
void |
setLayerID(java.lang.String id)
Insert the method's description here. |
void |
setMode(int mode)
|
void |
setOutput(OutLink output,
OutLink prevOutput)
Insert the method's description here. |
void |
setTextPositionNorth(boolean isTextPositionNorth)
|
java.lang.String |
toString()
Insert the method's description here. |
void |
updateTemplateLink()
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 |
---|
forceValidation, getColor, getDsId, getFont, getHeight, getLabel, getMarkedX, getMarkedY, getMoveInsideView, getParent, getRheight, getRlabelX, getRlabelY, getRootContainer, getRscale, getRwidth, getRx, getRy, getScale, getVisibleColor, getWidth, getX, getY, intersects, intersects, isDestroyed, isVisible, isZoomRepaint, markPosition, paint, postDraw, postPaint, setColor, setFont, setHeight, setLabel, setParent, setRheight, setRlabelX, setRlabelY, setRwidth, setRx, setRy, setScale, setWidth, setX, setY, setZoomRepaint, snapToGrid, unconditionalValidation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.cosylab.vdct.graphics.popup.Popupable |
---|
getLabel |
Methods inherited from interface com.cosylab.vdct.inspector.Inspectable |
---|
getDsId |
Field Detail |
---|
protected boolean disconnected
protected java.util.Vector outlinks
protected VDBMacro data
protected int rightXtranslation
protected int rightYtranslation
protected int leftXtranslation
protected int leftYtranslation
protected java.awt.Polygon leftPoly
protected java.awt.Polygon rightPoly
Constructor Detail |
---|
public Macro(VDBMacro data, ContainerObject parent, int x, int y)
Method Detail |
---|
public void accept(Visitor visitor)
accept
in interface Visitable
visitor
- com.cosylab.vdct.graphics.objects.Visitorpublic boolean checkMove(int dx, int dy)
checkMove
in interface Movable
dx
- intdy
- int
public void destroy()
destroy
in class VisibleObject
public void disconnect(Linkable disconnector)
disconnect
in interface Linkable
protected void draw(java.awt.Graphics g, boolean hilited)
draw
in class VisibleObject
g
- java.awt.Graphicshilited
- booleanpublic java.lang.String getDescription()
getDescription
in interface Descriptable
public java.lang.String getHashID()
getHashID
in class VisibleObject
public java.lang.String getID()
getID
in interface Linkable
public java.util.Vector getItems()
getItems
in interface Popupable
public java.lang.String getLayerID()
getLayerID
in interface Linkable
public int getInX()
getInX
in interface InLink
public int getInY()
getInY
in interface InLink
public boolean isConnectable()
isConnectable
in interface Linkable
public boolean isDisconnected()
isDisconnected
in interface Linkable
public boolean move(int dx, int dy)
move
in interface Movable
dx
- intdy
- int
public void revalidatePosition()
revalidatePosition
in class VisibleObject
public void setDescription(java.lang.String description)
setDescription
in interface Descriptable
description
- java.lang.Stringpublic void setLayerID(java.lang.String id)
setLayerID
in interface Linkable
id
- java.lang.Stringprotected void validate()
validate
in class VisibleObject
public int getMode()
OutLink.getMode()
public void setTextPositionNorth(boolean isTextPositionNorth)
public boolean isTextPositionNorth()
public void setMode(int mode)
public InspectableProperty getCommentProperty()
getCommentProperty
in interface Inspectable
Inspectable.getCommentProperty()
public javax.swing.Icon getIcon()
Inspectable
getIcon
in interface Inspectable
Inspectable.getIcon()
public java.util.ArrayList getModeNames()
Inspectable
getModeNames
in interface Inspectable
Inspectable.getModeNames()
public java.lang.String getName()
Inspectable
getName
in interface Inspectable
Inspectable.getName()
public java.lang.String toString()
Flexible
toString
in interface Flexible
toString
in interface Inspectable
toString
in class java.lang.Object
String.toString()
public static GUISeparator getMacroSeparator()
public InspectableProperty[] getProperties(int mode, boolean spreadsheet)
getProperties
in interface Inspectable
Inspectable.getProperties(int, boolean spreadsheet)
public void setDestroyed(boolean newDestroyed)
VisibleObject
setDestroyed
in class VisibleObject
newDestroyed
- booleanVisibleObject.setDestroyed(boolean)
public void rename(java.lang.String oldName, java.lang.String newName)
public VDBMacro getData()
public java.util.Vector getStartPoints()
getStartPoints
in interface MultiInLink
public boolean isRight()
isRight
in interface InLink
public void setOutput(OutLink output, OutLink prevOutput)
setOutput
in interface InLink
output
- com.cosylab.vdct.graphics.objects.OutLinkprevOutput
- com.cosylab.vdct.graphics.objects.OutLinkpublic OutLink getOutput()
getOutput
in interface InLink
public void updateTemplateLink()
public int getLeftX()
getLeftX
in interface InLink
public int getRightX()
getRightX
in interface InLink
public int getLinkCount()
MultiInLink
getLinkCount
in interface MultiInLink
public java.util.Vector getOutlinks()
getOutlinks
in interface MultiInLink
public int getTopOffset()
VisibleObject
getTopOffset
in class VisibleObject
public int getLeftOffset()
VisibleObject
getLeftOffset
in class VisibleObject
public int getRightOffset()
VisibleObject
getRightOffset
in class VisibleObject
public Flexible copyToGroup(java.lang.Object dsId, java.lang.String group)
Flexible
copyToGroup
in interface Flexible
group
- java.lang.Stringpublic java.lang.String getFlexibleName()
Flexible
getFlexibleName
in interface Flexible
public boolean moveToGroup(java.lang.Object dsId, java.lang.String group)
Flexible
moveToGroup
in interface Flexible
group
- java.lang.Stringpublic boolean rename(java.lang.Object dsId, java.lang.String newName)
Flexible
rename
in interface Flexible
newName
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |