Class HexOrDecimalInput

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

public class HexOrDecimalInput extends JTextField
See Also:
  • Constructor Details

    • HexOrDecimalInput

      public HexOrDecimalInput()
    • HexOrDecimalInput

      public HexOrDecimalInput(int columns)
    • HexOrDecimalInput

      public HexOrDecimalInput(Long initialValue)
  • Method Details

    • getValue

      public Long getValue()
    • getIntValue

      public int getIntValue()
    • setValue

      public void setValue(int newValue)
    • setValue

      public void setValue(Long newValue)
    • setHexMode

      public void setHexMode()
    • setDecimalMode

      public void setDecimalMode()
    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • setAllowNegative

      public void setAllowNegative(boolean b)