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 Fontfont2protected booleanhasEndpointprotected InLinkinlinkprotected Stringlabel2protected intlabelLenstatic charLINK_SEPARATORprotected LinkPropertiespropertiesprotected intrealHalfHeightprotected intrealLabelLen-
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 protectedEPICSLinkOut(ContainerObject parent, VDBFieldData fieldData)EPICSOutLink constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectoraddConnector()Insert the method's description here.voiddestroy()Insert the method's description here.static voiddestroyChain(Linkable link, OutLink out)Insert the method's description here.voiddisconnect(Linkable disconnector)Insert the method's description here.voidfixLinkProperties()Insert the method's description here.static StringgenerateConnectorID(EPICSLink outlink)Insert the method's description here.InspectablePropertygetCommentProperty()Insert the method's description here.static InLinkgetEndPoint(Linkable link)Insert the method's description here.static GUISeparatorgetFieldSeparator()Insert the method's description here.IcongetIcon()Insert the method's description here.InLinkgetInput()Insert the method's description here.VectorgetItems()Insert the method's description here.intgetLeftX()LinkPropertiesgetLinkProperties()Insert the method's description here.intgetMode()Insert the method's description here.ArrayListgetModeNames()Obtains list of all mode names for this particular property.StringgetName()Insert the method's description here.intgetOutX()Insert the method's description here.intgetOutY()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)intgetQueueCount()Insert the method's description here.static GUISeparatorgetRecordSeparator()Insert the method's description here.intgetRightX()static OutLinkgetStartPoint(Linkable link)Insert the method's description here.static InLinkgetTarget(Object dsId, LinkProperties link)static InLinkgetTarget(Object dsId, LinkProperties link, boolean allowLinkOutAsTarget)static InLinkgetTarget(Object dsId, LinkProperties link, boolean allowLinkOutAsTarget, boolean doNotSearchRecordFields)get/create target link field Creation date: (30.1.2001 13:40:51)booleanisRight()Insert the method's description here.voidsetColor(Color newColor)Insert the method's description here.voidsetInput(InLink input)Insert the method's description here.voidsourceDestroyed()Called when VARIABLE link (source) was destroyedStringtoString()Insert the method's description here.voidvalidate()Insert the method's description here.protected voidvalidateFontAndDimension(double Rscale, int rwidth, int rheight)voidvalidateLink()voidvalueChanged()Insert the method's description here.voidvalueWithNoRecord()-
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:
disconnectin interfaceLinkable- Overrides:
disconnectin classEPICSLink- Parameters:
disconnector- disconnector
-
fixLinkProperties
public void fixLinkProperties()
Insert the method's description here. Creation date: (30.1.2001 12:25:44)- Specified by:
fixLinkPropertiesin 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:
getCommentPropertyin 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:
getIconin 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:
getNamein 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:
getPropertiesin 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:
getQueueCountin 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:
setColorin 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:
toStringin interfaceInspectable- Overrides:
toStringin 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: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()
-
getMode
public int getMode()
Description copied from interface:OutLinkInsert the method's description here. Creation date: (29.1.2001 17:53:09)- Specified by:
getModein interfaceOutLink- Returns:
- int
- See Also:
OutLink.getMode()
-
validateLink
public void validateLink()
- Specified by:
validateLinkin interfaceOutLink- See Also:
OutLink.validateLink()
-
-