Class IntegerField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

public class IntegerField extends NumberField
This is a NumberField that accepts only integers.
Version:
1.0
Author:
Douglas Brown
See Also:
  • Constructor Details

    • IntegerField

      public IntegerField(int columns)
      Constructs an IntegerField.
      Parameters:
      columns - the number of columns available for text characters
  • Method Details

    • getIntValue

      public int getIntValue()
      Gets the integer value from the text field.
      Returns:
      the value
    • setIntValue

      public void setIntValue(int value)
      Sets the integer value.
      Parameters:
      value - the value