Class TimeEditorHandler

java.lang.Object
jaxx.runtime.swing.editor.TimeEditorHandler

public class TimeEditorHandler
extends java.lang.Object
Author:
Tony Chemit - chemit@codelutin.com
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String BEAN_PROPERTY  
    protected java.util.Calendar calendar  
    protected java.util.Calendar calendarMinute  
    static java.lang.String DATE_PROPERTY  
    protected TimeEditor editor
    editor ui
    static org.apache.commons.logging.Log log  
    protected java.lang.reflect.Method mutator
    the mutator method on the property of boxed bean in the editor
    static java.lang.String PROPERTY_PROPERTY  
    static java.lang.String TIME_MODEL_PROPERTY  
  • Constructor Summary

    Constructors
    Constructor Description
    TimeEditorHandler​(TimeEditor ui)  
  • Method Summary

    Modifier and Type Method Description
    TimeEditor getEditor()  
    int getHour()  
    int getMinute()  
    protected java.lang.reflect.Method getMutator()  
    void init()  
    protected void setDate​(java.util.Date oldValue, java.util.Date newValue)  
    protected java.util.Date setMinuteModel​(java.util.Date incomingDate)  
    void updateTimeModelFromMinuteModel​(java.util.Date minuteDate)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      public static final org.apache.commons.logging.Log log
    • BEAN_PROPERTY

      public static final java.lang.String BEAN_PROPERTY
      See Also:
      Constant Field Values
    • PROPERTY_PROPERTY

      public static final java.lang.String PROPERTY_PROPERTY
      See Also:
      Constant Field Values
    • DATE_PROPERTY

      public static final java.lang.String DATE_PROPERTY
      See Also:
      Constant Field Values
    • TIME_MODEL_PROPERTY

      public static final java.lang.String TIME_MODEL_PROPERTY
      See Also:
      Constant Field Values
    • editor

      protected TimeEditor editor
      editor ui
    • mutator

      protected java.lang.reflect.Method mutator
      the mutator method on the property of boxed bean in the editor
    • calendar

      protected java.util.Calendar calendar
    • calendarMinute

      protected java.util.Calendar calendarMinute
  • Constructor Details

    • TimeEditorHandler

      public TimeEditorHandler​(TimeEditor ui)
  • Method Details

    • init

      public void init()
    • getEditor

      public TimeEditor getEditor()
    • setMinuteModel

      protected java.util.Date setMinuteModel​(java.util.Date incomingDate)
    • getMinute

      public int getMinute()
    • getHour

      public int getHour()
    • updateTimeModelFromMinuteModel

      public void updateTimeModelFromMinuteModel​(java.util.Date minuteDate)
    • setDate

      protected void setDate​(java.util.Date oldValue, java.util.Date newValue)
    • getMutator

      protected java.lang.reflect.Method getMutator()