Class DateEditorModel

  • All Implemented Interfaces:
    Serializable, ModelToBean

    public class DateEditorModel
    extends org.jdesktop.beans.AbstractSerializableBean
    implements ModelToBean
    Created on 9/9/14.
    Since:
    2.12
    Author:
    Tony Chemit - dev@tchemit.fr
    See Also:
    Serialized Form
    • Field Detail

      • fillState

        protected final boolean fillState
        State to be able to custom the model. will be pass to false by the DateTimeEditorHandler#init(DateTimeEditor).
        See Also:
        Constant Field Values
      • calendar

        protected final Calendar calendar
      • bean

        protected Object bean
        Optional bean where to push back dates.
      • property

        protected String property
        Optional bean property where to push back the day date.
      • editable

        protected boolean editable
        Is date editable ?
      • date

        protected Date date
        Full date (date + time)
      • valueIsAdjusting

        protected boolean valueIsAdjusting
        To stop propagate events when we are doing some modifications on the model.
    • Constructor Detail

      • DateEditorModel

        public DateEditorModel()
    • Method Detail

      • getProperty

        public String getProperty()
      • setProperty

        public void setProperty​(String property)
      • setBean

        public void setBean​(Object bean)
      • isEditable

        public boolean isEditable()
      • setEditable

        public void setEditable​(boolean editable)
      • isValueIsAdjusting

        public boolean isValueIsAdjusting()
      • setValueIsAdjusting

        public void setValueIsAdjusting​(boolean valueIsAdjusting)
      • getDate

        public Date getDate()
      • setDate

        public void setDate​(Date date)
      • fireDate

        protected void fireDate​(Date oldDate)
      • fireValueIsAdjusting

        protected void fireValueIsAdjusting​(boolean oldValue)