com.cosylab.vdct.graphics.objects
Class EPICSLinkOutIn

java.lang.Object
  extended by com.cosylab.vdct.graphics.objects.VisibleObject
      extended by com.cosylab.vdct.graphics.objects.Field
          extended by com.cosylab.vdct.graphics.objects.EPICSLink
              extended by com.cosylab.vdct.graphics.objects.EPICSLinkOut
                  extended by 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
protected  java.util.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.Field
fieldData
 
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
EPICSLinkOutIn(ContainerObject parent, VDBFieldData fieldData)
          Constructor for EPICSLinkOutIn.
 
Method Summary
 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.
 java.util.Vector getOutlinks()
          Extra lasy initalization pattern for outlinks 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.
 java.util.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 destroyed
 void 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.graphics.objects.InLink
getLeftX, getRightX
 
Methods inherited from interface com.cosylab.vdct.graphics.objects.Linkable
getID, getLayerID, isConnectable, isDisconnected, setLayerID
 
Methods inherited from interface com.cosylab.vdct.graphics.popup.Popupable
getLabel
 
Methods inherited from interface com.cosylab.vdct.inspector.Inspectable
getDsId
 

Field Detail

outlinks

protected java.util.Vector outlinks
Constructor Detail

EPICSLinkOutIn

public EPICSLinkOutIn(ContainerObject parent,
                      VDBFieldData fieldData)
Constructor for EPICSLinkOutIn.

Parameters:
parent -
fieldData -
Method Detail

getOutlinks

public java.util.Vector getOutlinks()
Extra lasy initalization pattern for outlinks object.

Specified by:
getOutlinks in interface MultiInLink

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 interface MultiInLink
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 interface InLink
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 interface InLink
Returns:
int
See Also:
InLink.getInY()

getOutput

public OutLink getOutput()
Specified by:
getOutput in interface InLink
Returns:
com.cosylab.vdct.graphics.objects.OutLink
See Also:
InLink.getOutput()

setOutput

public void setOutput(OutLink output,
                      OutLink prevOutput)
Specified by:
setOutput in interface InLink
Parameters:
output - com.cosylab.vdct.graphics.objects.OutLink
prevOutput - com.cosylab.vdct.graphics.objects.OutLink
See Also:
InLink.setOutput(OutLink, OutLink)

valueWithNoRecord

public void valueWithNoRecord()
Overrides:
valueWithNoRecord in class EPICSLinkOut

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 class EPICSLinkOut

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 interface Linkable
Overrides:
disconnect in class EPICSLinkOut

sourceDestroyed

public void sourceDestroyed()
Description copied from class: EPICSLinkOut
Called when VARIABLE link (source) was destroyed

Overrides:
sourceDestroyed in class EPICSLinkOut
See Also:
EPICSLinkOut.sourceDestroyed()

isRight

public boolean isRight()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)

Specified by:
isRight in interface InLink
Specified by:
isRight in interface OutLink
Specified by:
isRight in interface Rotatable
Overrides:
isRight in class EPICSLinkOut
Returns:
boolean

getStartPoints

public java.util.Vector getStartPoints()
Insert the method's description here. Creation date: (5.2.2001 12:10:18)

Specified by:
getStartPoints in interface MultiInLink
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 class VisibleObject
Returns:

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 class VisibleObject
Returns: