Package jaxx.runtime.swing.editor
Class TimeEditorHandler
- java.lang.Object
-
- jaxx.runtime.swing.editor.TimeEditorHandler
-
public class TimeEditorHandler extends Object
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_PROPERTYprotected Calendarcalendarprotected CalendarcalendarMinutestatic StringDATE_PROPERTYprotected TimeEditoreditoreditor uistatic org.apache.commons.logging.Loglogprotected Methodmutatorthe mutator method on the property of boxed bean in the editorstatic StringPROPERTY_PROPERTYstatic StringTIME_MODEL_PROPERTY
-
Constructor Summary
Constructors Constructor Description TimeEditorHandler(TimeEditor ui)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeEditorgetEditor()intgetHour()intgetMinute()protected MethodgetMutator()voidinit()protected voidsetDate(Date oldValue, Date newValue)protected DatesetMinuteModel(Date incomingDate)voidupdateTimeModelFromMinuteModel(Date minuteDate)
-
-
-
Field Detail
-
log
public static final org.apache.commons.logging.Log log
-
BEAN_PROPERTY
public static final String BEAN_PROPERTY
- See Also:
- Constant Field Values
-
PROPERTY_PROPERTY
public static final String PROPERTY_PROPERTY
- See Also:
- Constant Field Values
-
DATE_PROPERTY
public static final String DATE_PROPERTY
- See Also:
- Constant Field Values
-
TIME_MODEL_PROPERTY
public static final String TIME_MODEL_PROPERTY
- See Also:
- Constant Field Values
-
editor
protected TimeEditor editor
editor ui
-
mutator
protected Method mutator
the mutator method on the property of boxed bean in the editor
-
calendar
protected Calendar calendar
-
calendarMinute
protected Calendar calendarMinute
-
-
Constructor Detail
-
TimeEditorHandler
public TimeEditorHandler(TimeEditor ui)
-
-
Method Detail
-
init
public void init()
-
getEditor
public TimeEditor getEditor()
-
getMinute
public int getMinute()
-
getHour
public int getHour()
-
updateTimeModelFromMinuteModel
public void updateTimeModelFromMinuteModel(Date minuteDate)
-
getMutator
protected Method getMutator()
-
-