|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractConnector
org.openbp.cockpit.modeler.figures.tag.TagConnector
public class TagConnector
Connector used within a tag. The orientation of the connector is determined by the orientation of the socket it belongs to.
| Constructor Summary | |
|---|---|
TagConnector(AbstractTagFigure connectorFigure)
Default constructor. |
|
| Method Summary | |
|---|---|
protected java.awt.Point |
findPoint(CH.ifa.draw.framework.ConnectionFigure connection)
|
void |
flipOrientation()
Flips the locked orientation. |
Orientation |
getLockedOrientation()
Gets the locked orientation of the connector, if any. |
Orientation |
getOrientation()
Determines the direction the connector is facing to. |
SocketFigure |
getSocketFigure()
Returns the owning tag. |
boolean |
isOrientationLocked()
Checks if the direction is locked. |
void |
setLockedOrientation(Orientation lockedOrientation)
Sets the locked orientation of the connector, if any. |
void |
toggleOrientationLock()
Toggles the orientation lock. |
void |
updateOrientation()
Updates the orientation of attached connections. |
| Methods inherited from class CH.ifa.draw.standard.AbstractConnector |
|---|
containsPoint, displayBox, draw, findEnd, findStart, owner, read, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagConnector(AbstractTagFigure connectorFigure)
connectorFigure - Figure that owns the connector| Method Detail |
|---|
protected java.awt.Point findPoint(CH.ifa.draw.framework.ConnectionFigure connection)
findPoint in class CH.ifa.draw.standard.AbstractConnectorpublic SocketFigure getSocketFigure()
public Orientation getOrientation()
Orientation.RIGHT/Orientation.BOTTOM/Orientation.LEFT/Orientation.TOPpublic boolean isOrientationLocked()
public void toggleOrientationLock()
public void flipOrientation()
public Orientation getLockedOrientation()
Orientation.UNDETERMINED/Orientation.RIGHT/Orientation.BOTTOM/Orientation.LEFT/Orientation.TOPpublic void setLockedOrientation(Orientation lockedOrientation)
lockedOrientation - Orientation.UNDETERMINED/Orientation.RIGHT/Orientation.BOTTOM/Orientation.LEFT/Orientation.TOPpublic void updateOrientation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||