Class EPICSVarLink
- java.lang.Object
-
- com.cosylab.vdct.graphics.objects.VisibleObject
-
- com.cosylab.vdct.graphics.objects.Field
-
- com.cosylab.vdct.graphics.objects.EPICSLink
-
- com.cosylab.vdct.graphics.objects.EPICSVarLink
-
- All Implemented Interfaces:
Descriptable
,InLink
,Linkable
,MultiInLink
,Rotatable
,Visitable
,Popupable
,Inspectable
- Direct Known Subclasses:
EPICSVarOutLink
,TemplateEPICSPort
public class EPICSVarLink extends EPICSLink implements MultiInLink, Popupable, Inspectable
Insert the type's description here. Creation date: (29.1.2001 21:27:30)- Author:
- Matej Sekoranja
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
drawOnlyOneSided
protected Vector
outlinks
-
Fields inherited from class com.cosylab.vdct.graphics.objects.EPICSLink
disconnected, r, rtailLen
-
Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject
x, y, zoomImage
-
Fields inherited from interface com.cosylab.vdct.graphics.objects.InLink
INPUT_MACRO_MODE, OUTPUT_MACRO_MODE
-
-
Constructor Summary
Constructors Constructor Description EPICSVarLink(ContainerObject parent, VDBFieldData fieldData)
EPICSVarLink constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Insert the method's description here.void
disconnect(Linkable disconnector)
Insert the method's description here.protected void
draw(Graphics g, boolean hilited)
Insert the method's description here.protected void
drawOneSided(Graphics g, boolean hilited)
Insert the method's description here.void
fixLinkProperties()
InspectableProperty
getCommentProperty()
Insert the method's description here.Icon
getIcon()
Insert the method's description here.int
getInX()
Insert the method's description here.int
getInY()
Insert the method's description here.Vector
getItems()
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
getLinkSeparator()
Insert the method's description here.ArrayList
getModeNames()
Obtains list of all mode names for this particular property.String
getName()
Insert the method's description here.Vector
getOutlinks()
OutLink
getOutput()
Insert the method's description here.InspectableProperty[]
getProperties(int mode, boolean spreadsheet)
Return properties to be inspected Creation date: (1.2.2001 22:22:37)int
getRightOffset()
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object.int
getRightX()
Vector
getStartPoints()
Insert the method's description here.boolean
isRight()
Insert the method's description here.void
revalidateOutlinkConnectors()
void
revalidatePosition()
Insert the method's description here.void
setOutput(OutLink output, OutLink prevOutput)
Insert the method's description here.String
toString()
Insert the method's description here.void
validateLink()
Insert the method's description here.-
Methods inherited from class com.cosylab.vdct.graphics.objects.EPICSLink
getDescription, getID, getLayerID, isConnectable, isDisconnected, isStaticRight, rotate, setDescription, setLayerID, setRight, validate
-
Methods inherited from class com.cosylab.vdct.graphics.objects.Field
accept, getFieldData, getHashID, getVerticalPosition, getY, revalidatePosition, setVerticalPosition
-
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, getTopOffset, getVisibleColor, getWidth, getX, intersects, 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, 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.inspector.Inspectable
getDsId
-
Methods inherited from interface com.cosylab.vdct.graphics.objects.Linkable
getID, getLayerID, isConnectable, isDisconnected, setLayerID
-
-
-
-
Field Detail
-
outlinks
protected Vector outlinks
-
drawOnlyOneSided
protected boolean drawOnlyOneSided
-
-
Constructor Detail
-
EPICSVarLink
public EPICSVarLink(ContainerObject parent, VDBFieldData fieldData)
EPICSVarLink constructor comment.- Parameters:
parent
- com.cosylab.vdct.graphics.objects.ContainerObjectfieldData
- com.cosylab.vdct.vdb.VDBFieldData
-
-
Method Detail
-
destroy
public void destroy()
Insert the method's description here. Creation date: (29.1.2001 21:59:34)
-
disconnect
public void disconnect(Linkable disconnector)
Insert the method's description here. Creation date: (29.1.2001 21:23:04)- Specified by:
disconnect
in interfaceLinkable
- Overrides:
disconnect
in classEPICSLink
- Parameters:
disconnector
- disconnector
-
drawOneSided
protected void drawOneSided(Graphics g, boolean hilited)
Insert the method's description here. Creation date: (29.1.2001 22:10:37)- Parameters:
g
- java.awt.Graphicshilited
- boolean
-
draw
protected void draw(Graphics g, boolean hilited)
Insert the method's description here. Creation date: (29.1.2001 22:10:37)
-
getCommentProperty
public InspectableProperty getCommentProperty()
Insert the method's description here. Creation date: (1.2.2001 22:22:37)- Specified by:
getCommentProperty
in interfaceInspectable
- Returns:
- com.cosylab.vdct.inspector.InspectableProperty
-
getIcon
public Icon getIcon()
Insert the method's description here. Creation date: (1.2.2001 22:22:37)- Specified by:
getIcon
in interfaceInspectable
- Returns:
- javax.swing.Icon
-
getInX
public int getInX()
Insert the method's description here. Creation date: (29.1.2001 21:34:27)
-
getInY
public int getInY()
Insert the method's description here. Creation date: (29.1.2001 21:34:27)
-
getItems
public Vector getItems()
Insert the method's description here. Creation date: (4.5.2001 8:00:56)
-
getLinkCount
public int getLinkCount()
Insert the method's description here. Creation date: (4.5.2001 9:53:35)- Specified by:
getLinkCount
in interfaceMultiInLink
- Returns:
- java.util.Vector
-
getLinkSeparator
public static GUISeparator getLinkSeparator()
Insert the method's description here. Creation date: (3.2.2001 13:07:04)- Returns:
- com.cosylab.vdct.vdb.GUISeparator
-
getName
public String getName()
Insert the method's description here. Creation date: (1.2.2001 22:22:37)- Specified by:
getName
in interfaceInspectable
- Returns:
- java.lang.String
-
getOutput
public OutLink getOutput()
Insert the method's description here. Creation date: (29.1.2001 21:34:27)
-
getProperties
public InspectableProperty[] getProperties(int mode, boolean spreadsheet)
Return properties to be inspected Creation date: (1.2.2001 22:22:37)- Specified by:
getProperties
in interfaceInspectable
- Parameters:
mode
- modespreadsheet
- spreadsheet- Returns:
- com.cosylab.vdct.inspector.InspectableProperty[]
-
getStartPoints
public Vector getStartPoints()
Insert the method's description here. Creation date: (5.2.2001 12:10:18)- Specified by:
getStartPoints
in interfaceMultiInLink
- Returns:
- java.util.Vector
-
isRight
public boolean isRight()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)
-
setOutput
public void setOutput(OutLink output, OutLink prevOutput)
Insert the method's description here. Creation date: (29.1.2001 21:34:27)
-
toString
public String toString()
Insert the method's description here. Creation date: (4.5.2001 9:20:14)- Specified by:
toString
in interfaceInspectable
- Overrides:
toString
in classObject
- Returns:
- java.lang.String
-
validateLink
public void validateLink()
Insert the method's description here. Creation date: (24.4.2001 19:08:57)
-
getModeNames
public ArrayList getModeNames()
Description copied from interface:Inspectable
Obtains list of all mode names for this particular property. Modes are numbered from 0-n. Creation date: (11.1.2001 21:30:04)- Specified by:
getModeNames
in interfaceInspectable
- Returns:
- java.util.ArrayList array of mode names - obtained using toString().
- See Also:
Inspectable.getModeNames()
-
fixLinkProperties
public void fixLinkProperties()
- Specified by:
fixLinkProperties
in classEPICSLink
- See Also:
EPICSLink.fixLinkProperties()
-
revalidatePosition
public void revalidatePosition()
Description copied from class:Field
Insert the method's description here. Creation date: (21.12.2000 21:22:45)- Overrides:
revalidatePosition
in classField
-
revalidateOutlinkConnectors
public void revalidateOutlinkConnectors()
-
getOutlinks
public Vector getOutlinks()
- Specified by:
getOutlinks
in interfaceMultiInLink
- Returns:
- something
-
getLeftOffset
public int getLeftOffset()
Description copied from class:VisibleObject
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the left side of this object.- Overrides:
getLeftOffset
in classVisibleObject
- Returns:
- something
-
getRightOffset
public int getRightOffset()
Description copied from class:VisibleObject
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object.- Overrides:
getRightOffset
in classVisibleObject
- Returns:
- something
-
-