Class TemplateEPICSPort
- 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.EPICSVarLink
-
- com.cosylab.vdct.graphics.objects.TemplateEPICSPort
-
- All Implemented Interfaces:
Descriptable,InLink,Linkable,Movable,MultiInLink,Rotatable,TemplateEPICSLink,Visitable,Popupable,Inspectable
public class TemplateEPICSPort extends EPICSVarLink implements TemplateEPICSLink, Movable
Insert the type's description here. Creation date: (29.1.2001 21:27:30)- Author:
- Matej Sekoranja
-
-
Field Summary
-
Fields inherited from class com.cosylab.vdct.graphics.objects.EPICSVarLink
drawOnlyOneSided, outlinks
-
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
-
-
Constructor Summary
Constructors Constructor Description TemplateEPICSPort(ContainerObject parent, VDBFieldData fieldData)EPICSVarLink constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckMove(int dx, int dy)Insert the method's description here.voiddestroy()Insert the method's description here.voiddestroyAndRemove()Insert the method's description here.voiddisconnect(Linkable disconnector)Insert the method's description here.protected voiddraw(Graphics g, boolean hilited)Insert the method's description here.voidfixTemplateLink()e.g. for rename updates lookup table and fixes sourceStringgetDescription()Insert the method's description here.IcongetIcon()Insert the method's description here.StringgetLabel()Insert the method's description here.StringgetLayerID()Insert the method's description here.static GUISeparatorgetPortSeparator()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)booleanisRight()Insert the method's description here.booleanisVisible()Insert the method's description here.booleanmove(int dx, int dy)Insert the method's description here.voidsetDestroyed(boolean newDestroyed)Insert the method's description here.voidsetRight(boolean isRight)Insert the method's description here.StringtoString()Insert the method's description here.voidupdateTemplateLink()Insert the method's description here.voidvisilibityChanged(boolean visible)-
Methods inherited from class com.cosylab.vdct.graphics.objects.EPICSVarLink
drawOneSided, fixLinkProperties, getCommentProperty, getInX, getInY, getItems, getLeftOffset, getLeftX, getLinkCount, getLinkSeparator, getModeNames, getName, getOutlinks, getOutput, getRightOffset, getRightX, getStartPoints, revalidateOutlinkConnectors, revalidatePosition, setOutput, validateLink
-
Methods inherited from class com.cosylab.vdct.graphics.objects.EPICSLink
getID, isConnectable, isDisconnected, isStaticRight, rotate, setDescription, setLayerID, validate
-
Methods inherited from class com.cosylab.vdct.graphics.objects.Field
accept, getFieldData, getHashID, getVerticalPosition, getY, revalidatePosition, setVerticalPosition
-
Methods inherited from class com.cosylab.vdct.graphics.objects.VisibleObject
forceValidation, getColor, getDsId, getFont, getHeight, getMarkedX, getMarkedY, getMoveInsideView, getParent, getRheight, getRlabelX, getRlabelY, getRootContainer, getRscale, getRwidth, getRx, getRy, getScale, getTopOffset, getVisibleColor, getWidth, getX, intersects, intersects, isDestroyed, isZoomRepaint, markPosition, paint, postDraw, postPaint, setColor, 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, isConnectable, isDisconnected, setLayerID
-
-
-
-
Constructor Detail
-
TemplateEPICSPort
public TemplateEPICSPort(ContainerObject parent, VDBFieldData fieldData)
EPICSVarLink constructor comment.- Parameters:
parent- com.cosylab.vdct.graphics.objects.ContainerObjectfieldData- com.cosylab.vdct.vdb.VDBFieldData
-
-
Method Detail
-
updateTemplateLink
public void updateTemplateLink()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)- Specified by:
updateTemplateLinkin interfaceTemplateEPICSLink
-
fixTemplateLink
public void fixTemplateLink()
e.g. for rename updates lookup table and fixes source
-
getLabel
public String getLabel()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)- Specified by:
getLabelin interfacePopupable- Overrides:
getLabelin classVisibleObject- Returns:
- String
-
isRight
public boolean isRight()
Insert the method's description here. Creation date: (30.1.2001 16:58:58)
-
draw
protected void draw(Graphics g, boolean hilited)
Insert the method's description here. Creation date: (29.1.2001 22:10:37)- Overrides:
drawin classEPICSVarLink- Parameters:
g- java.awt.Graphicshilited- boolean
-
destroyAndRemove
public void destroyAndRemove()
Insert the method's description here. Creation date: (30.1.2001 11:59:21)- Specified by:
destroyAndRemovein interfaceTemplateEPICSLink
-
destroy
public void destroy()
Description copied from class:EPICSVarLinkInsert the method's description here. Creation date: (29.1.2001 21:59:34)- Overrides:
destroyin classEPICSVarLink
-
disconnect
public void disconnect(Linkable disconnector)
Insert the method's description here. Creation date: (29.1.2001 21:23:04)- Specified by:
disconnectin interfaceLinkable- Overrides:
disconnectin classEPICSVarLink- Parameters:
disconnector- disconnector
-
setDestroyed
public void setDestroyed(boolean newDestroyed)
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (5.5.2001 18:02:09)- Overrides:
setDestroyedin classVisibleObject- Parameters:
newDestroyed- boolean- See Also:
VisibleObject.setDestroyed(boolean)
-
getPortSeparator
public static GUISeparator getPortSeparator()
Insert the method's description here. Creation date: (3.2.2001 13:07:04)- Returns:
- com.cosylab.vdct.vdb.GUISeparator
-
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- Overrides:
getPropertiesin classEPICSVarLink- Parameters:
mode- modespreadsheet- spreadsheet- Returns:
- com.cosylab.vdct.inspector.InspectableProperty[]
-
toString
public String toString()
Insert the method's description here. Creation date: (4.5.2001 9:20:14)- Specified by:
toStringin interfaceInspectable- Overrides:
toStringin classEPICSVarLink- Returns:
- java.lang.String
-
getIcon
public Icon getIcon()
Insert the method's description here. Creation date: (1.2.2001 22:22:37)- Specified by:
getIconin interfaceInspectable- Overrides:
getIconin classEPICSVarLink- Returns:
- javax.swing.Icon
-
getDescription
public String getDescription()
Insert the method's description here. Creation date: (1.2.2001 12:07:15)- Specified by:
getDescriptionin interfaceDescriptable- Overrides:
getDescriptionin classEPICSLink- Returns:
- java.lang.String
-
visilibityChanged
public void visilibityChanged(boolean visible)
- Parameters:
visible- visible
-
isVisible
public boolean isVisible()
Description copied from class:VisibleObjectInsert the method's description here. Creation date: (30.1.2001 16:58:58)- Overrides:
isVisiblein classVisibleObject- Returns:
- something
- See Also:
VisibleObject.isVisible()
-
setRight
public void setRight(boolean isRight)
Description copied from class:EPICSLinkInsert the method's description here. Creation date: (30.1.2001 16:58:58)- Specified by:
setRightin interfaceRotatable- Overrides:
setRightin classEPICSLink- Parameters:
isRight- isRight- See Also:
Rotatable.setRight(boolean)
-
checkMove
public boolean checkMove(int dx, int dy)Description copied from interface:MovableInsert the method's description here. Creation date: (27.12.2000 13:08:09)- Specified by:
checkMovein interfaceMovable- Parameters:
dx- intdy- int- Returns:
- boolean
- See Also:
Movable.checkMove(int, int)
-
move
public boolean move(int dx, int dy)Description copied from interface:MovableInsert the method's description here. Creation date: (25.12.2000 14:13:14)- Specified by:
movein interfaceMovable- Parameters:
dx- intdy- int- Returns:
- boolean
- See Also:
Movable.move(int, int)
-
getLayerID
public String getLayerID()
Description copied from class:EPICSLinkInsert the method's description here. Creation date: (29.1.2001 21:23:04)- Specified by:
getLayerIDin interfaceLinkable- Overrides:
getLayerIDin classEPICSLink- Returns:
- java.lang.String
-
-