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.


Constructor Index

 o NumberTextFigure()

Method Index

 o getValue()
Gets the numerical value of the contained text.
 o overlayColumns()
Gets the number of columns to be used by the text overlay.
 o setValue(int)
Sets the numberical value of the contained text.

Constructors

 o NumberTextFigure
 public NumberTextFigure()

Methods

 o overlayColumns
 public int overlayColumns()
Gets the number of columns to be used by the text overlay.

Overrides:
overlayColumns in class TextFigure
See Also:
FloatingTextField
 o 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.

 o setValue
 public void setValue(int value)
Sets the numberical value of the contained text.


All Packages  Class Hierarchy  This Package  Previous  Next  Index