All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.figures.NumberTextFigure
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractFigure
|
+----CH.ifa.draw.figures.AttributeFigure
|
+----CH.ifa.draw.figures.TextFigure
|
+----CH.ifa.draw.figures.NumberTextFigure
- public class NumberTextFigure
- extends TextFigure
A TextFigure specialized to edit numbers.
-
NumberTextFigure()
-
-
getValue()
- Gets the numerical value of the contained text.
-
overlayColumns()
- Gets the number of columns to be used by the text overlay.
-
setValue(int)
- Sets the numberical value of the contained text.
NumberTextFigure
public NumberTextFigure()
overlayColumns
public int overlayColumns()
- Gets the number of columns to be used by the text overlay.
- Overrides:
- overlayColumns in class TextFigure
- See Also:
- FloatingTextField
getValue
public int getValue()
- Gets the numerical value of the contained text.
return the value or 0 in the case of an illegal number format.
setValue
public void setValue(int value)
- Sets the numberical value of the contained text.
All Packages Class Hierarchy This Package Previous Next Index