Package jaxx.runtime.swing.editor
Class SimpleTimeEditorHandler
java.lang.Object
jaxx.runtime.swing.editor.SimpleTimeEditorHandler
public class SimpleTimeEditorHandler
extends java.lang.Object
- Since:
- 2.6
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description protected java.util.CalendarcalendarDateprotected java.util.CalendarcalendarHourprotected java.util.CalendarcalendarMinuteprotected java.util.CalendarcalendarSecondprotected java.lang.reflect.Methodmutatorthe mutator method on the property of boxed bean in the editor -
Constructor Summary
Constructors Constructor Description SimpleTimeEditorHandler(SimpleTimeEditor editor) -
Method Summary
Modifier and Type Method Description SimpleTimeEditorgetEditor()protected java.lang.reflect.MethodgetMutator()voidinit()protected voidsetDate(java.util.Date oldValue, java.util.Date newValue)protected java.util.DatesetMinuteModel(java.util.Date incomingDate)protected java.util.DatesetSecondModel(java.util.Date incomingDate)voidupdateTimeModelFromHour(java.lang.Integer hour)voidupdateTimeModelFromMinute(java.util.Date minuteDate)voidupdateTimeModelFromSecond(java.util.Date secondDate)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
mutator
protected java.lang.reflect.Method mutatorthe mutator method on the property of boxed bean in the editor -
calendarSecond
protected final java.util.Calendar calendarSecond -
calendarMinute
protected final java.util.Calendar calendarMinute -
calendarHour
protected final java.util.Calendar calendarHour -
calendarDate
protected final java.util.Calendar calendarDate
-
-
Constructor Details
-
SimpleTimeEditorHandler
-
-
Method Details
-
init
public void init() -
getEditor
-
setMinuteModel
protected java.util.Date setMinuteModel(java.util.Date incomingDate) -
setSecondModel
protected java.util.Date setSecondModel(java.util.Date incomingDate) -
updateTimeModelFromHour
public void updateTimeModelFromHour(java.lang.Integer hour) -
updateTimeModelFromMinute
public void updateTimeModelFromMinute(java.util.Date minuteDate) -
updateTimeModelFromSecond
public void updateTimeModelFromSecond(java.util.Date secondDate) -
setDate
protected void setDate(java.util.Date oldValue, java.util.Date newValue) -
getMutator
protected java.lang.reflect.Method getMutator()
-