Class PMIDateTimePopupSelector.DateTimeFormatter

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Enclosing class:
    PMIDateTimePopupSelector

    public class PMIDateTimePopupSelector.DateTimeFormatter
    extends javax.swing.text.DefaultFormatter
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DateTimeFormatter​(java.lang.String format)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFormat()  
      void setFormat​(java.lang.String format)  
      java.lang.Object stringToValue​(java.lang.String s)  
      java.lang.String valueToString​(java.lang.Object o)  
      • Methods inherited from class javax.swing.text.DefaultFormatter

        clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
      • Methods inherited from class javax.swing.JFormattedTextField.AbstractFormatter

        getActions, getFormattedTextField, invalidEdit, setEditValid, uninstall
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateTimeFormatter

        public DateTimeFormatter​(java.lang.String format)
    • Method Detail

      • valueToString

        public java.lang.String valueToString​(java.lang.Object o)
                                       throws java.text.ParseException
        Overrides:
        valueToString in class javax.swing.text.DefaultFormatter
        Throws:
        java.text.ParseException
      • stringToValue

        public java.lang.Object stringToValue​(java.lang.String s)
                                       throws java.text.ParseException
        Overrides:
        stringToValue in class javax.swing.text.DefaultFormatter
        Throws:
        java.text.ParseException
      • getFormat

        public java.lang.String getFormat()
      • setFormat

        public void setFormat​(java.lang.String format)