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 booleandrawOnlyOneSidedprotected Vectoroutlinks-
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 voiddestroy()Insert the method's description here.voiddisconnect(Linkable disconnector)Insert the method's description here.protected voiddraw(Graphics g, boolean hilited)Insert the method's description here.protected voiddrawOneSided(Graphics g, boolean hilited)Insert the method's description here.voidfixLinkProperties()InspectablePropertygetCommentProperty()Insert the method's description here.IcongetIcon()Insert the method's description here.intgetInX()Insert the method's description here.intgetInY()Insert the method's description here.VectorgetItems()Insert the method's description here.intgetLeftOffset()Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the left side of this object.intgetLeftX()intgetLinkCount()Insert the method's description here.static GUISeparatorgetLinkSeparator()Insert the method's description here.ArrayListgetModeNames()Obtains list of all mode names for this particular property.StringgetName()Insert the method's description here.VectorgetOutlinks()OutLinkgetOutput()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)intgetRightOffset()Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object.intgetRightX()VectorgetStartPoints()Insert the method's description here.booleanisRight()Insert the method's description here.voidrevalidateOutlinkConnectors()voidrevalidatePosition()Insert the method's description here.voidsetOutput(OutLink output, OutLink prevOutput)Insert the method's description here.StringtoString()Insert the method's description here.voidvalidateLink()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:
disconnectin interfaceLinkable- Overrides:
disconnectin 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:
getCommentPropertyin 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:
getIconin 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:
getLinkCountin 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:
getNamein 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:
getPropertiesin 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:
getStartPointsin 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:
toStringin interfaceInspectable- Overrides:
toStringin 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:InspectableObtains 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:
getModeNamesin interfaceInspectable- Returns:
- java.util.ArrayList array of mode names - obtained using toString().
- See Also:
Inspectable.getModeNames()
-
fixLinkProperties
public void fixLinkProperties()
- Specified by:
fixLinkPropertiesin classEPICSLink- See Also:
EPICSLink.fixLinkProperties()
-
revalidatePosition
public void revalidatePosition()
Description copied from class:FieldInsert the method's description here. Creation date: (21.12.2000 21:22:45)- Overrides:
revalidatePositionin classField
-
revalidateOutlinkConnectors
public void revalidateOutlinkConnectors()
-
getOutlinks
public Vector getOutlinks()
- Specified by:
getOutlinksin interfaceMultiInLink- Returns:
- something
-
getLeftOffset
public int getLeftOffset()
Description copied from class:VisibleObjectReturns the offset in pixels(the length of additional objects (arrows, strings) drawn on the left side of this object.- Overrides:
getLeftOffsetin classVisibleObject- Returns:
- something
-
getRightOffset
public int getRightOffset()
Description copied from class:VisibleObjectReturns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object.- Overrides:
getRightOffsetin classVisibleObject- Returns:
- something
-
-