Class PathnameDocument

All Implemented Interfaces:
Serializable, Document
Direct Known Subclasses:
FilenameDocument

public class PathnameDocument extends RmaDocument
a Pathname document for JTextFields, and other components that use PlainDocument
See Also:
  • Field Details

    • INVALID_CHARS

      public static final int[] INVALID_CHARS
    • ALLOWABLE_CHARS

      public static final int[] ALLOWABLE_CHARS
  • Constructor Details

    • PathnameDocument

      public PathnameDocument()
    • PathnameDocument

      public PathnameDocument(AbstractDocument.Content c)
    • PathnameDocument

      public PathnameDocument(int len)
  • Method Details

    • setAllowWindowsPath

      public void setAllowWindowsPath(boolean allowWindowsPaths)
    • isValidChar

      protected boolean isValidChar(char c, int offs)
      Overrides:
      isValidChar in class RmaDocument
    • addAllowableChar

      public void addAllowableChar(char ch, int pos)