Package jaxx.runtime.swing.editor
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.StringBEAN_PROPERTYprotected java.util.Calendarcalendarprotected java.util.CalendarcalendarMinutestatic java.lang.StringDATE_PROPERTYprotected TimeEditoreditoreditor uistatic org.apache.commons.logging.Loglogprotected java.lang.reflect.Methodmutatorthe mutator method on the property of boxed bean in the editorstatic java.lang.StringPROPERTY_PROPERTYstatic java.lang.StringTIME_MODEL_PROPERTY -
Constructor Summary
Constructors Constructor Description TimeEditorHandler(TimeEditor ui) -
Method Summary
Modifier and Type Method Description TimeEditorgetEditor()intgetHour()intgetMinute()protected java.lang.reflect.MethodgetMutator()voidinit()protected voidsetDate(java.util.Date oldValue, java.util.Date newValue)protected java.util.DatesetMinuteModel(java.util.Date incomingDate)voidupdateTimeModelFromMinuteModel(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
editor ui -
mutator
protected java.lang.reflect.Method mutatorthe 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
-
-
Method Details
-
init
public void init() -
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()
-