Class TimeEditorModel

  • All Implemented Interfaces:
    Serializable, ModelToBean

    public class TimeEditorModel
    extends org.jdesktop.beans.AbstractSerializableBean
    implements ModelToBean
    Created on 11/30/14.
    Since:
    2.18
    Author:
    Tony Chemit - chemit@codelutin.com
    See Also:
    Serialized Form
    • Field Detail

      • bean

        protected Serializable bean
        Optional bean where to push back dates.
      • propertyTime

        protected String propertyTime
        Optional bean property where to push back the time date.
      • time

        protected Date time
        Time
      • valueIsAdjusting

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

        protected final Calendar calendar
    • Constructor Detail

      • TimeEditorModel

        public TimeEditorModel()
    • Method Detail

      • getPropertyTime

        public String getPropertyTime()
      • setPropertyTime

        public void setPropertyTime​(String propertyTime)
      • isValueIsAdjusting

        public boolean isValueIsAdjusting()
      • setValueIsAdjusting

        public void setValueIsAdjusting​(boolean valueIsAdjusting)
      • setHour

        public void setHour​(Integer hour)
      • setMinute

        public void setMinute​(Integer minute)
      • getTimeInMinutes

        public Integer getTimeInMinutes()
      • setTimeInMinutes

        public void setTimeInMinutes​(Integer time)
      • getTime

        public Date getTime()
      • setTime

        public void setTime​(Date time)
      • getMinute

        protected Integer getMinute​(Date date)
      • fireTime

        protected void fireTime​(Date oldTime)
      • fireTimeInMinutes

        protected void fireTimeInMinutes​(Integer oldDate)
      • fireValueIsAdjusting

        protected void fireValueIsAdjusting​(boolean oldValue)
      • canUpdateBeanValuePredicate

        protected com.google.common.base.Predicate<TimeEditorModel> canUpdateBeanValuePredicate()