Class LongDocument

All Implemented Interfaces:
Serializable, Document

public class LongDocument extends PlainDocument
See Also:
  • Field Details

    • _length

      protected int _length
  • Constructor Details

  • Method Details

    • setMin

      public void setMin(long min)
    • getMin

      public long getMin()
    • setMax

      public void setMax(long max)
    • getMax

      public long getMax()
    • setLength

      public void setLength(int length)
    • getLength

      public int getLength(int length)
    • setAllowsNegativeNumbers

      public void setAllowsNegativeNumbers(boolean b)
    • allowsNegativeNumber

      public boolean allowsNegativeNumber()
    • insertString

      public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
      Specified by:
      insertString in interface Document
      Overrides:
      insertString in class PlainDocument
      Throws:
      BadLocationException