jaxx.runtime.swing.editor
Class TimeEditorHandler

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

public class TimeEditorHandler
extends java.lang.Object

Author:
tchemit

Field Summary
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
TimeEditorHandler(TimeEditor ui)
           
 
Method Summary
 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 Detail

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 Detail

TimeEditorHandler

public TimeEditorHandler(TimeEditor ui)
Method Detail

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()


Copyright © 2008-2010 CodeLutin. All Rights Reserved.