|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.graphics.objects.VisibleObject
com.cosylab.vdct.graphics.objects.Port
public class Port
Insert the type's description here. Creation date: (29.1.2001 20:05:51)
Field Summary | |
---|---|
protected VDBPort |
data
|
protected boolean |
disconnected
|
protected InLink |
inlink
|
protected java.awt.Polygon |
leftPoly
|
protected int |
leftXtranslation
|
protected int |
leftYtranslation
|
protected LinkProperties |
properties
|
protected java.awt.Polygon |
rightPoly
|
protected int |
rightXtranslation
|
protected int |
rightYtranslation
|
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 | |
---|---|
Port(VDBPort data,
ContainerObject parent,
int x,
int y)
Insert the method's description here. |
Method Summary | |
---|---|
void |
accept(Visitor visitor)
Insert the method's description here. |
Connector |
addConnector()
|
boolean |
checkMove(int dx,
int dy)
Insert the method's description here. |
Flexible |
copyToGroup(java.lang.Object dsId,
java.lang.String group)
Returns the copied instance or null if the object cannot be copied. |
void |
destroy()
Insert the method's description here. |
void |
disconnect(Linkable disconnector)
... |
protected void |
draw(java.awt.Graphics g,
boolean hilited)
Insert the method's description here. |
void |
fixLinkProperties()
|
InspectableProperty |
getCommentProperty()
|
VDBPort |
getData()
Returns the data. |
java.lang.String |
getDescription()
Insert the method's description here. |
java.lang.String |
getFlexibleName()
Insert the method's description here. |
java.lang.String |
getHashID()
Insert the method's description here. |
javax.swing.Icon |
getIcon()
Insert the method's description here. |
java.lang.String |
getID()
Insert the method's description here. |
InLink |
getInput()
Insert the method's description here. |
java.util.Vector |
getItems()
Insert the method's description here. |
java.lang.String |
getLayerID()
Insert the method's description here. |
int |
getLeftX()
|
int |
getMode()
Insert the method's description here. |
java.util.ArrayList |
getModeNames()
Obtains list of all mode names for this particular property. |
java.lang.String |
getName()
Insert the method's description here. |
int |
getOutX()
Insert the method's description here. |
int |
getOutY()
Insert the method's description here. |
static GUISeparator |
getPortSeparator()
Insert the method's description here. |
InspectableProperty[] |
getProperties(int mode,
boolean spreadsheet)
|
int |
getQueueCount()
Insert the method's description here. |
int |
getRightX()
|
int |
getTopOffset()
Returns the offset in pixels(the length of additional objects (arrows, strings) drawn above this object. |
boolean |
isConnectable()
Insert the method's description here. |
boolean |
isDisconnected()
Insert the method's description here. |
boolean |
isRight()
Insert the method's description here. |
boolean |
isTextPositionNorth()
|
boolean |
move(int dx,
int dy)
Insert the method's description here. |
boolean |
moveToGroup(java.lang.Object dsId,
java.lang.String group)
Insert the method's description here. |
void |
removeLink()
Insert the method's description here. |
boolean |
rename(java.lang.Object dsId,
java.lang.String newName)
Insert the method's description here. |
void |
rename(java.lang.String oldName,
java.lang.String newName)
|
void |
revalidatePosition()
Insert the method's description here. |
void |
setColor(java.awt.Color newColor)
Insert the method's description here. |
void |
setDescription(java.lang.String description)
Insert the method's description here. |
void |
setDestroyed(boolean newDestroyed)
Insert the method's description here. |
void |
setInput(InLink input)
Insert the method's description here. |
void |
setLayerID(java.lang.String id)
Insert the method's description here. |
void |
setMode(int mode)
|
void |
setTextPositionNorth(boolean isTextPositionNorth)
|
java.lang.String |
toString()
Insert the method's description here. |
protected void |
validate()
Insert the method's description here. |
void |
validateLink()
|
void |
valueChanged()
Insert the method's description here. |
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, getVisibleColor, getWidth, getX, getY, intersects, intersects, isDestroyed, isVisible, isZoomRepaint, markPosition, paint, postDraw, postPaint, 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.popup.Popupable |
---|
getLabel |
Methods inherited from interface com.cosylab.vdct.inspector.Inspectable |
---|
getDsId |
Field Detail |
---|
protected InLink inlink
protected boolean disconnected
protected LinkProperties properties
protected VDBPort data
protected int rightXtranslation
protected int rightYtranslation
protected int leftXtranslation
protected int leftYtranslation
protected java.awt.Polygon leftPoly
protected java.awt.Polygon rightPoly
Constructor Detail |
---|
public Port(VDBPort data, ContainerObject parent, int x, int y)
Method Detail |
---|
public void accept(Visitor visitor)
accept
in interface Visitable
visitor
- com.cosylab.vdct.graphics.objects.Visitorpublic boolean checkMove(int dx, int dy)
checkMove
in interface Movable
dx
- intdy
- int
public void destroy()
destroy
in class VisibleObject
public void removeLink()
public void disconnect(Linkable disconnector)
disconnect
in interface Linkable
protected void draw(java.awt.Graphics g, boolean hilited)
draw
in class VisibleObject
g
- java.awt.Graphicshilited
- booleanpublic java.lang.String getDescription()
getDescription
in interface Descriptable
public java.lang.String getHashID()
getHashID
in class VisibleObject
public java.lang.String getID()
getID
in interface Linkable
public InLink getInput()
getInput
in interface OutLink
public java.util.Vector getItems()
getItems
in interface Popupable
public java.lang.String getLayerID()
getLayerID
in interface Linkable
public boolean isRight()
isRight
in interface OutLink
public int getOutX()
getOutX
in interface OutLink
public int getOutY()
getOutY
in interface OutLink
public int getQueueCount()
getQueueCount
in interface OutLink
public boolean isConnectable()
isConnectable
in interface Linkable
public boolean isDisconnected()
isDisconnected
in interface Linkable
public boolean move(int dx, int dy)
move
in interface Movable
dx
- intdy
- int
public void revalidatePosition()
revalidatePosition
in class VisibleObject
public void setDescription(java.lang.String description)
setDescription
in interface Descriptable
description
- java.lang.Stringpublic void setInput(InLink input)
setInput
in interface OutLink
public void setLayerID(java.lang.String id)
setLayerID
in interface Linkable
id
- java.lang.Stringprotected void validate()
validate
in class VisibleObject
public void setColor(java.awt.Color newColor)
setColor
in class VisibleObject
newColor
- java.awt.Colorpublic int getMode()
OutLink
getMode
in interface OutLink
OutLink.getMode()
public void setMode(int mode)
public InspectableProperty getCommentProperty()
getCommentProperty
in interface Inspectable
Inspectable.getCommentProperty()
public javax.swing.Icon getIcon()
Inspectable
getIcon
in interface Inspectable
Inspectable.getIcon()
public java.util.ArrayList getModeNames()
Inspectable
getModeNames
in interface Inspectable
Inspectable.getModeNames()
public java.lang.String getName()
Inspectable
getName
in interface Inspectable
Inspectable.getName()
public java.lang.String toString()
Flexible
toString
in interface Flexible
toString
in interface Inspectable
toString
in class java.lang.Object
String.toString()
public static GUISeparator getPortSeparator()
public InspectableProperty[] getProperties(int mode, boolean spreadsheet)
getProperties
in interface Inspectable
com.cosylab.vdct.inspector.Inspectable#getProperties(int)
public void valueChanged()
public void setDestroyed(boolean newDestroyed)
VisibleObject
setDestroyed
in class VisibleObject
newDestroyed
- booleanVisibleObject.setDestroyed(boolean)
public void rename(java.lang.String oldName, java.lang.String newName)
public void fixLinkProperties()
EPICSLink.fixLinkProperties()
public VDBPort getData()
public void validateLink()
validateLink
in interface OutLink
OutLink.validateLink()
public int getLeftX()
getLeftX
in interface OutLink
public int getRightX()
getRightX
in interface OutLink
public int getTopOffset()
VisibleObject
getTopOffset
in class VisibleObject
public Connector addConnector()
public void setTextPositionNorth(boolean isTextPositionNorth)
public boolean isTextPositionNorth()
public Flexible copyToGroup(java.lang.Object dsId, java.lang.String group)
Flexible
copyToGroup
in interface Flexible
group
- java.lang.Stringpublic java.lang.String getFlexibleName()
Flexible
getFlexibleName
in interface Flexible
public boolean moveToGroup(java.lang.Object dsId, java.lang.String group)
Flexible
moveToGroup
in interface Flexible
group
- java.lang.Stringpublic boolean rename(java.lang.Object dsId, java.lang.String newName)
Flexible
rename
in interface Flexible
newName
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |