|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCH.ifa.draw.standard.AbstractFigure
org.openbp.cockpit.modeler.figures.generic.BasicFigure
org.openbp.cockpit.modeler.figures.generic.XTextFigure
org.openbp.cockpit.modeler.figures.generic.FixedTitleFigure
public class FixedTitleFigure
Fixed width/height text figure that is connected to a given display object (the client) and displays either the name or the display text of the object.
| Field Summary |
|---|
| Fields inherited from class org.openbp.cockpit.modeler.figures.generic.XTextFigure |
|---|
displayBoxCache, HANDLE_DISTANCE, originX, originY |
| Fields inherited from class org.openbp.cockpit.modeler.figures.generic.BasicFigure |
|---|
DECO_FILLCOLOR, DECO_OVERLAY |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Constructor Summary | |
|---|---|
FixedTitleFigure()
Default constructor. |
|
FixedTitleFigure(DisplayObject client)
Constructor. |
|
| Method Summary | |
|---|---|
DisplayObject |
getClient()
Gets the the display object we are connected with. |
java.lang.String |
getTitleFormat()
Gets the title format. |
boolean |
isVerboseDisplay()
Gets the flag if the display text or the object name should be displayed if there is no display name of the client object. |
void |
setClient(DisplayObject client)
Sets the the display object we are connected with. |
void |
setTitleFormat(java.lang.String titleFormat)
Sets the title format. |
void |
setVerboseDisplay(boolean verboseDisplay)
Sets the flag if the display text or the object name should be displayed if there is no display name of the client object. |
void |
updateFigure()
Synchronizes this figure with its provider, i\.e\. the object that is represented by the figure. |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.XTextFigure |
|---|
basicDisplayBox, basicMoveBy, createGeometry, displayBox, drawFigure, getAlignment, getFont, getFontSize, getText, handles, invalidate, isAutoSize, parseGeometry, parseParameter, setAlignment, setAutoSize, setFont, setFontSize, setText |
| Methods inherited from class org.openbp.cockpit.modeler.figures.generic.BasicFigure |
|---|
clone, decorateValue, draw, getDecorationOwner, getDefaultFillColor, getFillColor, getParent, setFillColor, setParent |
| Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
|---|
addFigureChangeListener, addToContainer, canConnect, center, changed, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getAttribute, getZValue, includes, isEmpty, listener, moveBy, read, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openbp.cockpit.modeler.figures.generic.TitleFigure |
|---|
getText, setText |
| Methods inherited from interface CH.ifa.draw.framework.Figure |
|---|
addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Methods inherited from interface CH.ifa.draw.util.Storable |
|---|
read, write |
| Constructor Detail |
|---|
public FixedTitleFigure()
public FixedTitleFigure(DisplayObject client)
client - The display object we are connected with| Method Detail |
|---|
public void updateFigure()
UpdatableFigure
updateFigure in interface UpdatableFigurepublic DisplayObject getClient()
TitleFigure
getClient in interface TitleFigurepublic void setClient(DisplayObject client)
TitleFigure
setClient in interface TitleFigurepublic java.lang.String getTitleFormat()
TitleFigureDisplayObjectDisplayObject
getTitleFormat in interface TitleFigurepublic void setTitleFormat(java.lang.String titleFormat)
TitleFigureDisplayObjectDisplayObject
setTitleFormat in interface TitleFigurepublic boolean isVerboseDisplay()
TitleFigure
isVerboseDisplay in interface TitleFigurepublic void setVerboseDisplay(boolean verboseDisplay)
TitleFigure
setVerboseDisplay in interface TitleFigure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||