Class EPICSLinkOut
- 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
-
- All Implemented Interfaces:
Descriptable
,Linkable
,OutLink
,Rotatable
,Visitable
,Popupable
,Inspectable
- Direct Known Subclasses:
EPICSLinkOutIn
public abstract class EPICSLinkOut extends EPICSLink implements OutLink, Popupable, Inspectable
Insert the type's description here. Creation date: (30.1.2001 12:26:07)- Author:
- Matej Sekoranja
-
-
Field Summary
Fields Modifier and Type Field Description protected Font
font2
protected boolean
hasEndpoint
protected InLink
inlink
protected String
label2
protected int
labelLen
static char
LINK_SEPARATOR
protected LinkProperties
properties
protected int
realHalfHeight
protected int
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.OutLink
CONSTANT_PORT_MODE, EXTERNAL_INPUT_MODE, EXTERNAL_OUTPUT_MODE, INPUT_PORT_MODE, INVISIBLE_MODE, NORMAL_MODE, OUTPUT_PORT_MODE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EPICSLinkOut(ContainerObject parent, VDBFieldData fieldData)
EPICSOutLink constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Connector
addConnector()
Insert the method's description here.void
destroy()
Insert the method's description here.static void
destroyChain(Linkable link, OutLink out)
Insert the method's description here.void
disconnect(Linkable disconnector)
Insert the method's description here.void
fixLinkProperties()
Insert the method's description here.static String
generateConnectorID(EPICSLink outlink)
Insert the method's description here.InspectableProperty
getCommentProperty()
Insert the method's description here.static InLink
getEndPoint(Linkable link)
Insert the method's description here.static GUISeparator
getFieldSeparator()
Insert the method's description here.Icon
getIcon()
Insert the method's description here.InLink
getInput()
Insert the method's description here.Vector
getItems()
Insert the method's description here.int
getLeftX()
LinkProperties
getLinkProperties()
Insert the method's description here.int
getMode()
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.int
getOutX()
Insert the method's description here.int
getOutY()
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
getQueueCount()
Insert the method's description here.static GUISeparator
getRecordSeparator()
Insert the method's description here.int
getRightX()
static OutLink
getStartPoint(Linkable link)
Insert the method's description here.static InLink
getTarget(Object dsId, LinkProperties link)
static InLink
getTarget(Object dsId, LinkProperties link, boolean allowLinkOutAsTarget)
static InLink
getTarget(Object dsId, LinkProperties link, boolean allowLinkOutAsTarget, boolean doNotSearchRecordFields)
get/create target link field Creation date: (30.1.2001 13:40:51)boolean
isRight()
Insert the method's description here.void
setColor(Color newColor)
Insert the method's description here.void
setInput(InLink input)
Insert the method's description here.void
sourceDestroyed()
Called when VARIABLE link (source) was destroyedString
toString()
Insert the method's description here.void
validate()
Insert the method's description here.protected void
validateFontAndDimension(double Rscale, int rwidth, int rheight)
void
validateLink()
void
valueChanged()
Insert the method's description here.void
valueWithNoRecord()
-
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, getLeftOffset, getMarkedX, getMarkedY, getMoveInsideView, getParent, getRheight, getRightOffset, 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
-
LINK_SEPARATOR
public static final char LINK_SEPARATOR
- See Also:
- Constant Field Values
-
inlink
protected InLink inlink
-
properties
protected LinkProperties properties
-
label2
protected String label2
-
font2
protected Font font2
-
realLabelLen
protected int realLabelLen
-
labelLen
protected int labelLen
-
realHalfHeight
protected int realHalfHeight
-
hasEndpoint
protected boolean hasEndpoint
-
-
Constructor Detail
-
EPICSLinkOut
protected EPICSLinkOut(ContainerObject parent, VDBFieldData fieldData)
EPICSOutLink constructor comment.- Parameters:
parent
- com.cosylab.vdct.graphics.objects.ContainerObjectfieldData
- com.cosylab.vdct.vdb.VDBFieldData
-
-
Method Detail
-
addConnector
public Connector addConnector()
Insert the method's description here. Creation date: (4.2.2001 12:50:51)- Returns:
- something
-
sourceDestroyed
public void sourceDestroyed()
Called when VARIABLE link (source) was destroyed
-
destroy
public void destroy()
Insert the method's description here. Creation date: (29.1.2001 22:11:34)
-
destroyChain
public static void destroyChain(Linkable link, OutLink out)
Insert the method's description here. Creation date: (4.2.2001 21:32:42)- Parameters:
link
- first inlink of the outout
- source of the link
-
disconnect
public void disconnect(Linkable disconnector)
Insert the method's description here. Creation date: (29.1.2001 21:44:32)- Specified by:
disconnect
in interfaceLinkable
- Overrides:
disconnect
in classEPICSLink
- Parameters:
disconnector
- disconnector
-
fixLinkProperties
public void fixLinkProperties()
Insert the method's description here. Creation date: (30.1.2001 12:25:44)- Specified by:
fixLinkProperties
in classEPICSLink
-
generateConnectorID
public static String generateConnectorID(EPICSLink outlink)
Insert the method's description here. Creation date: (4.2.2001 13:01:01)- Parameters:
outlink
- com.cosylab.vdct.graphics.objects.EPICSLinkOut- Returns:
- java.lang.String
-
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
-
getEndPoint
public static InLink getEndPoint(Linkable link)
Insert the method's description here. Creation date: (1.2.2001 11:26:33)- Parameters:
link
- com.cosylab.vdct.graphics.objects.Linkable- Returns:
- com.cosylab.vdct.graphics.objects.InLink
-
getFieldSeparator
public static GUISeparator getFieldSeparator()
Insert the method's description here. Creation date: (3.2.2001 13:07:04)- Returns:
- com.cosylab.vdct.vdb.GUISeparator
-
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
-
getInput
public InLink getInput()
Insert the method's description here. Creation date: (29.1.2001 22:22:14)
-
getItems
public Vector getItems()
Insert the method's description here. Creation date: (3.2.2001 11:23:59)
-
getLinkProperties
public LinkProperties getLinkProperties()
Insert the method's description here. Creation date: (30.1.2001 12:23:39)- Returns:
- com.cosylab.vdct.vdb.LinkProperties
-
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
-
getOutX
public int getOutX()
Insert the method's description here. Creation date: (29.1.2001 22:22:13)
-
getOutY
public int getOutY()
Insert the method's description here. Creation date: (29.1.2001 22:22:13)
-
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[]
-
getQueueCount
public int getQueueCount()
Insert the method's description here. Creation date: (30.1.2001 14:48:39)- Specified by:
getQueueCount
in interfaceOutLink
- Returns:
- int
-
getRecordSeparator
public static GUISeparator getRecordSeparator()
Insert the method's description here. Creation date: (3.2.2001 13:07:04)- Returns:
- com.cosylab.vdct.vdb.GUISeparator
-
getStartPoint
public static OutLink getStartPoint(Linkable link)
Insert the method's description here. Creation date: (1.2.2001 11:25:46)- Parameters:
link
- com.cosylab.vdct.graphics.objects.Linkable- Returns:
- com.cosylab.vdct.graphics.objects.OutLink
-
getTarget
public static InLink getTarget(Object dsId, LinkProperties link)
- Parameters:
dsId
- dsIdlink
- link- Returns:
- something
-
getTarget
public static InLink getTarget(Object dsId, LinkProperties link, boolean allowLinkOutAsTarget)
- Parameters:
dsId
- dsIdlink
- linkallowLinkOutAsTarget
- allowLinkOutAsTarget- Returns:
- something
-
getTarget
public static InLink getTarget(Object dsId, LinkProperties link, boolean allowLinkOutAsTarget, boolean doNotSearchRecordFields)
get/create target link field Creation date: (30.1.2001 13:40:51)- Parameters:
dsId
- dsIddoNotSearchRecordFields
- doNotSearchRecordFieldsallowLinkOutAsTarget
- allowLinkOutAsTargetlink
- com.cosylab.vdct.vdb.LinkProperties- Returns:
- com.cosylab.vdct.graphics.objects.InLink
-
isRight
public boolean isRight()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)
-
setColor
public void setColor(Color newColor)
Insert the method's description here. Creation date: (4.2.2001 12:46:30)- Overrides:
setColor
in classVisibleObject
- Parameters:
newColor
- java.awt.Color
-
setInput
public void setInput(InLink input)
Insert the method's description here. Creation date: (29.1.2001 22:22:13)
-
toString
public String toString()
Insert the method's description here. Creation date: (1.2.2001 22:31:14)- Specified by:
toString
in interfaceInspectable
- Overrides:
toString
in classObject
- Returns:
- java.lang.String
-
valueWithNoRecord
public void valueWithNoRecord()
-
validateFontAndDimension
protected void validateFontAndDimension(double Rscale, int rwidth, int rheight)
- Parameters:
Rscale
- Rscalerwidth
- rwidthrheight
- rheight
-
validate
public void validate()
Insert the method's description here. Creation date: (31.1.2001 18:27:35)
-
valueChanged
public void valueChanged()
Insert the method's description here. Creation date: (30.1.2001 12:24:26)
-
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()
-
getMode
public int getMode()
Description copied from interface:OutLink
Insert the method's description here. Creation date: (29.1.2001 17:53:09)- Specified by:
getMode
in interfaceOutLink
- Returns:
- int
- See Also:
OutLink.getMode()
-
validateLink
public void validateLink()
- Specified by:
validateLink
in interfaceOutLink
- See Also:
OutLink.validateLink()
-
-