Class EPICSLinkOutIn
- 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.EPICSLinkOut
-
- com.cosylab.vdct.graphics.objects.EPICSLinkOutIn
-
- All Implemented Interfaces:
Descriptable
,InLink
,Linkable
,MultiInLink
,OutLink
,Rotatable
,Visitable
,Popupable
,Inspectable
- Direct Known Subclasses:
EPICSInLink
,EPICSOutLink
public abstract class EPICSLinkOutIn extends EPICSLinkOut implements MultiInLink
Adds InLink capability (for ports) to EPICSLinkOut objects- Author:
- Matej
-
-
Field Summary
Fields Modifier and Type Field Description protected Vector
outlinks
-
Fields inherited from class com.cosylab.vdct.graphics.objects.EPICSLinkOut
font2, hasEndpoint, inlink, label2, labelLen, LINK_SEPARATOR, properties, realHalfHeight, realLabelLen
-
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
-
Fields inherited from interface com.cosylab.vdct.graphics.objects.OutLink
CONSTANT_PORT_MODE, EXTERNAL_INPUT_MODE, EXTERNAL_OUTPUT_MODE, INPUT_PORT_MODE, INVISIBLE_MODE, NORMAL_MODE, OUTPUT_PORT_MODE
-
-
Constructor Summary
Constructors Constructor Description EPICSLinkOutIn(ContainerObject parent, VDBFieldData fieldData)
Constructor for EPICSLinkOutIn.
-
Method Summary
All 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.int
getInX()
Insert the method's description here.int
getInY()
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
getLinkCount()
Insert the method's description here.Vector
getOutlinks()
Extra lasy initalization pattern foroutlinks
object.OutLink
getOutput()
int
getRightOffset()
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object.Vector
getStartPoints()
Insert the method's description here.boolean
isRight()
Insert the method's description here.void
setOutput(OutLink output, OutLink prevOutput)
void
sourceDestroyed()
Called when VARIABLE link (source) was destroyedvoid
valueWithNoRecord()
-
Methods inherited from class com.cosylab.vdct.graphics.objects.EPICSLinkOut
addConnector, destroyChain, fixLinkProperties, generateConnectorID, getCommentProperty, getEndPoint, getFieldSeparator, getIcon, getInput, getItems, getLeftX, getLinkProperties, getMode, getModeNames, getName, getOutX, getOutY, getProperties, getQueueCount, getRecordSeparator, getRightX, getStartPoint, getTarget, getTarget, getTarget, setColor, setInput, toString, validate, validateFontAndDimension, validateLink, valueChanged
-
Methods inherited from class com.cosylab.vdct.graphics.objects.EPICSLink
getDescription, getID, getLayerID, isConnectable, isDisconnected, isStaticRight, rotate, setDescription, setLayerID, setRight
-
Methods inherited from class com.cosylab.vdct.graphics.objects.Field
accept, draw, getFieldData, getHashID, getVerticalPosition, getY, revalidatePosition, 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, 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
-
-
Constructor Detail
-
EPICSLinkOutIn
public EPICSLinkOutIn(ContainerObject parent, VDBFieldData fieldData)
Constructor for EPICSLinkOutIn.- Parameters:
parent
- parentfieldData
- fieldData
-
-
Method Detail
-
getOutlinks
public Vector getOutlinks()
Extra lasy initalization pattern foroutlinks
object.- Specified by:
getOutlinks
in interfaceMultiInLink
- Returns:
- something
-
getLinkCount
public int getLinkCount()
Description copied from interface:MultiInLink
Insert the method's description here. Creation date: (4.5.2001 9:51:40)- Specified by:
getLinkCount
in interfaceMultiInLink
- Returns:
- java.util.Vector
- See Also:
MultiInLink.getLinkCount()
-
getInX
public int getInX()
Description copied from interface:InLink
Insert the method's description here. Creation date: (29.1.2001 17:55:10)- Specified by:
getInX
in interfaceInLink
- Returns:
- int
- See Also:
InLink.getInX()
-
getInY
public int getInY()
Description copied from interface:InLink
Insert the method's description here. Creation date: (29.1.2001 17:55:21)- Specified by:
getInY
in interfaceInLink
- Returns:
- int
- See Also:
InLink.getInY()
-
getOutput
public OutLink getOutput()
- Specified by:
getOutput
in interfaceInLink
- Returns:
- com.cosylab.vdct.graphics.objects.OutLink
- See Also:
InLink.getOutput()
-
setOutput
public void setOutput(OutLink output, OutLink prevOutput)
- Specified by:
setOutput
in interfaceInLink
- Parameters:
output
- com.cosylab.vdct.graphics.objects.OutLinkprevOutput
- com.cosylab.vdct.graphics.objects.OutLink- See Also:
InLink.setOutput(OutLink, OutLink)
-
valueWithNoRecord
public void valueWithNoRecord()
- Overrides:
valueWithNoRecord
in classEPICSLinkOut
-
destroy
public void destroy()
Description copied from class:EPICSLinkOut
Insert the method's description here. Creation date: (29.1.2001 22:11:34)- Overrides:
destroy
in classEPICSLinkOut
-
disconnect
public void disconnect(Linkable disconnector)
Description copied from class:EPICSLinkOut
Insert the method's description here. Creation date: (29.1.2001 21:44:32)- Specified by:
disconnect
in interfaceLinkable
- Overrides:
disconnect
in classEPICSLinkOut
- Parameters:
disconnector
- disconnector
-
sourceDestroyed
public void sourceDestroyed()
Description copied from class:EPICSLinkOut
Called when VARIABLE link (source) was destroyed- Overrides:
sourceDestroyed
in classEPICSLinkOut
- See Also:
EPICSLinkOut.sourceDestroyed()
-
isRight
public boolean isRight()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)
-
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
-
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
-
-