|
|||||||||
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.figures.AttributeFigure
CH.ifa.draw.figures.TextFigure
CH.ifa.draw.figures.NumberTextFigure
public class NumberTextFigure
A TextFigure specialized to edit numbers.
Field Summary |
---|
Fields inherited from interface CH.ifa.draw.framework.Figure |
---|
POPUP_MENU |
Constructor Summary | |
---|---|
NumberTextFigure()
|
Method Summary | |
---|---|
int |
getValue()
Gets the numerical value of the contained text. |
int |
overlayColumns()
Gets the number of columns to be used by the text overlay. |
void |
setValue(int value)
Sets the numberical value of the contained text. |
Methods inherited from class CH.ifa.draw.figures.TextFigure |
---|
acceptsTyping, basicDisplayBox, basicMoveBy, changed, connect, createCurrentFont, disconnect, displayBox, drawBackground, drawFrame, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getAttribute, getFont, getText, handles, moveBy, read, readOnly, release, setAttribute, setCurrentFontName, setCurrentFontSize, setCurrentFontStyle, setFont, setReadOnly, setText, textDisplayBox, updateLocation, write |
Methods inherited from class CH.ifa.draw.figures.AttributeFigure |
---|
draw, getDefaultAttribute, getFillColor, getFrameColor |
Methods inherited from class CH.ifa.draw.standard.AbstractFigure |
---|
addFigureChangeListener, addToContainer, canConnect, center, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, includes, invalidate, isEmpty, listener, removeFigureChangeListener, removeFromContainer, size, willChange |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberTextFigure()
Method Detail |
---|
public int overlayColumns()
overlayColumns
in interface TextHolder
overlayColumns
in class TextFigure
FloatingTextField
public int getValue()
public void setValue(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |