|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
CH.ifa.draw.standard.CompositeFigure
org.openbp.cockpit.modeler.figures.tag.AbstractTagFigure
org.openbp.cockpit.modeler.figures.tag.StraightTagFigure
public class StraightTagFigure
Non-rotating tag figure that contains simple content that does not change its order when the tag is moved.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openbp.cockpit.modeler.figures.tag.AbstractTagFigure |
|---|
AbstractTagFigure.TagContent |
| Field Summary | |
|---|---|
protected Orientation |
tagOrientation
Direction the tag is facing |
| Fields inherited from class org.openbp.cockpit.modeler.figures.tag.AbstractTagFigure |
|---|
angle, content, CONTENT_DATA, CONTENT_FLOW, CONTENT_ICON, CONTENT_INTERACTION, CONTENT_STATIC, CONTENT_TEXT, CONTENT_USER1, CONTENT_USER2, contentState, currentContentState, DECO_TAGCONTENTTYPE, layouter, origin, parent, presentationFigure, shadowFigure, visualStatus |
| Fields inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
_nHighestZ, _nLowestZ, fFigures |
| Fields inherited from interface org.openbp.cockpit.modeler.figures.VisualElement |
|---|
VISUAL_DISPLAY_ALL, VISUAL_DND_PARTICIPANT, VISUAL_VISIBLE |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Constructor Summary | |
|---|---|
StraightTagFigure(VisualElement parent,
java.lang.Object modelObject,
java.awt.Point origin)
Constructor. |
|
| Method Summary | |
|---|---|
void |
basicSetAngle(double angle)
Sets the angle to the given one. |
Orientation |
getTagOrientation()
Gets the direction the tag is facing. |
protected void |
initTagLayouter()
Creates the layouter for this tag. |
protected java.awt.Rectangle |
positionDisplayBox(java.awt.Rectangle rect)
Positions the display box of the tag relative to its parent figure. |
| Methods inherited from class CH.ifa.draw.standard.CompositeFigure |
|---|
add, addAll, addAll, bringToFront, draw, figureAt, figureChanged, figureCount, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, figures, figures, figuresReverse, findFigure, findFigure, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphan, orphanAll, orphanAll, release, remove, removeAll, removeAll, removeAll, replace, sendToBack, sendToLayer |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, center, clone, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, getAttribute, getZValue, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface CH.ifa.draw.framework.FigureChangeListener |
|---|
figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate |
| Methods inherited from interface CH.ifa.draw.framework.Figure |
|---|
addFigureChangeListener, addToContainer, center, clone, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, figures, getAttribute, getZValue, includes, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Field Detail |
|---|
protected Orientation tagOrientation
| Constructor Detail |
|---|
public StraightTagFigure(VisualElement parent,
java.lang.Object modelObject,
java.awt.Point origin)
parent - Parent figureorigin - Origin of the tagmodelObject - Model object this tag represents or null| Method Detail |
|---|
protected void initTagLayouter()
HorizontalLayouter
initTagLayouter in class AbstractTagFigureprotected java.awt.Rectangle positionDisplayBox(java.awt.Rectangle rect)
positionDisplayBox in class AbstractTagFigurerect - Rectangle object that contains the size of the figure
AbstractTagFigure.positionDisplayBox(Rectangle rect)public Orientation getTagOrientation()
public void basicSetAngle(double angle)
AbstractTagFigure
basicSetAngle in class AbstractTagFigure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||