Class UnlimitedTimeEditorModel

  • All Implemented Interfaces:
    io.ultreia.java4all.bean.GetterProducer, io.ultreia.java4all.bean.JavaBean, io.ultreia.java4all.bean.SetterProducer, ModelToBean

    public class UnlimitedTimeEditorModel
    extends io.ultreia.java4all.bean.AbstractJavaBean
    implements ModelToBean
    Created on 11/30/14.
    Since:
    2.18
    Author:
    Tony Chemit - dev@tchemit.fr
    • 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
      • bean

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

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

        protected Integer time
        Time in minutes.
      • valueIsAdjusting

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

      • UnlimitedTimeEditorModel

        public UnlimitedTimeEditorModel()
    • Method Detail

      • getPropertyTime

        public String getPropertyTime()
      • setPropertyTime

        public void setPropertyTime​(String propertyTime)
      • setBean

        public void setBean​(Object bean)
      • getTime

        public Integer getTime()
      • setTime

        public void setTime​(Integer time)
      • getHours

        public int getHours()
      • setHours

        public void setHours​(Integer hour)
      • getMinutes

        public int getMinutes()
      • setMinutes

        public void setMinutes​(Integer minutes)
      • isValueIsAdjusting

        public boolean isValueIsAdjusting()
      • setValueIsAdjusting

        public void setValueIsAdjusting​(boolean valueIsAdjusting)
      • getHours

        public int getHours​(Integer time)
      • getMinutes

        public int getMinutes​(Integer time)
      • fireTime

        protected void fireTime​(Integer oldTime)
      • fireValueIsAdjusting

        protected void fireValueIsAdjusting​(boolean oldValue)