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 Vectoroutlinks-
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 voiddestroy()Insert the method's description here.voiddisconnect(Linkable disconnector)Insert the method's description here.intgetInX()Insert the method's description here.intgetInY()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.intgetLinkCount()Insert the method's description here.VectorgetOutlinks()Extra lasy initalization pattern foroutlinksobject.OutLinkgetOutput()intgetRightOffset()Returns the offset in pixels(the length of additional objects (arrows, strings) drawn on the right side of this object.VectorgetStartPoints()Insert the method's description here.booleanisRight()Insert the method's description here.voidsetOutput(OutLink output, OutLink prevOutput)voidsourceDestroyed()Called when VARIABLE link (source) was destroyedvoidvalueWithNoRecord()-
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 foroutlinksobject.- Specified by:
getOutlinksin interfaceMultiInLink- Returns:
- something
-
getLinkCount
public int getLinkCount()
Description copied from interface:MultiInLinkInsert the method's description here. Creation date: (4.5.2001 9:51:40)- Specified by:
getLinkCountin interfaceMultiInLink- Returns:
- java.util.Vector
- See Also:
MultiInLink.getLinkCount()
-
getInX
public int getInX()
Description copied from interface:InLinkInsert the method's description here. Creation date: (29.1.2001 17:55:10)- Specified by:
getInXin interfaceInLink- Returns:
- int
- See Also:
InLink.getInX()
-
getInY
public int getInY()
Description copied from interface:InLinkInsert the method's description here. Creation date: (29.1.2001 17:55:21)- Specified by:
getInYin interfaceInLink- Returns:
- int
- See Also:
InLink.getInY()
-
getOutput
public OutLink getOutput()
- Specified by:
getOutputin interfaceInLink- Returns:
- com.cosylab.vdct.graphics.objects.OutLink
- See Also:
InLink.getOutput()
-
setOutput
public void setOutput(OutLink output, OutLink prevOutput)
- Specified by:
setOutputin 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:
valueWithNoRecordin classEPICSLinkOut
-
destroy
public void destroy()
Description copied from class:EPICSLinkOutInsert the method's description here. Creation date: (29.1.2001 22:11:34)- Overrides:
destroyin classEPICSLinkOut
-
disconnect
public void disconnect(Linkable disconnector)
Description copied from class:EPICSLinkOutInsert the method's description here. Creation date: (29.1.2001 21:44:32)- Specified by:
disconnectin interfaceLinkable- Overrides:
disconnectin classEPICSLinkOut- Parameters:
disconnector- disconnector
-
sourceDestroyed
public void sourceDestroyed()
Description copied from class:EPICSLinkOutCalled when VARIABLE link (source) was destroyed- Overrides:
sourceDestroyedin 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:
getStartPointsin interfaceMultiInLink- Returns:
- java.util.Vector
-
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
-
-