Class MilitaryTimeDocument

All Implemented Interfaces:
Serializable, Document

public class MilitaryTimeDocument extends RmaDocument
a Military Time document for JTextFields, and other components that use PlainDocument. values in the range 0000 to 2459
See Also:
  • Constructor Details

    • MilitaryTimeDocument

      public MilitaryTimeDocument()
    • MilitaryTimeDocument

      public MilitaryTimeDocument(AbstractDocument.Content c)
  • Method Details

    • setAllowsHour2400

      public void setAllowsHour2400(boolean b)
    • getAllowsHour2400

      public boolean getAllowsHour2400()
    • setAllowsMinutes

      public void setAllowsMinutes(boolean b)
    • getAllowsMinutes

      public boolean getAllowsMinutes()
    • isValidChar

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