public class DatePickerControllerImpl extends AbstractPickerController<java.util.Date> implements DatePickerController
changeListenerHelper, LOG
Constructor and Description |
---|
DatePickerControllerImpl(javax.swing.text.JTextComponent txtDate,
javax.swing.JButton btnDate) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkContents() |
void |
coerceAndSet(java.lang.Object value) |
java.util.Date |
get() |
java.sql.Date |
getDate() |
java.text.DateFormat |
getDateFormat() |
protected JCalendar |
getJCalendar() |
javax.swing.text.MaskFormatter |
getMask() |
protected java.lang.String |
getText() |
java.sql.Timestamp |
getTimestamp() |
boolean |
isEmpty() |
boolean |
isEnabled() |
boolean |
isValid() |
static void |
selfRegister() |
void |
set(java.util.Date date) |
void |
setEmptyText(java.lang.String emptyText) |
void |
setEnabled(boolean enabled) |
void |
uninstall() |
addChangeListener, coerce, existsIcon, fireChangeEvent, fireChangeEvent, getChangeListeners, getIcon, hasChangeListeners, initButton, initText, isEditable, removeAllChangeListener, removeChangeListener, setEditable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditable, setEditable
addChangeListener, getChangeListeners, hasChangeListeners, removeAllChangeListener, removeChangeListener
public DatePickerControllerImpl(javax.swing.text.JTextComponent txtDate, javax.swing.JButton btnDate)
public static void selfRegister()
public void uninstall()
uninstall
in interface DatePickerController
protected java.lang.String getText()
protected void checkContents()
public boolean isValid()
isValid
in interface PickerController<java.util.Date>
isValid
in class AbstractPickerController<java.util.Date>
public boolean isEmpty()
isEmpty
in interface PickerController<java.util.Date>
isEmpty
in class AbstractPickerController<java.util.Date>
public java.util.Date get()
get
in interface PickerController<java.util.Date>
public void set(java.util.Date date)
set
in interface PickerController<java.util.Date>
public void setEnabled(boolean enabled)
setEnabled
in interface PickerController<java.util.Date>
public boolean isEnabled()
isEnabled
in interface PickerController<java.util.Date>
protected JCalendar getJCalendar()
public void coerceAndSet(java.lang.Object value)
coerceAndSet
in interface PickerController<java.util.Date>
public java.text.DateFormat getDateFormat()
getDateFormat
in interface DatePickerController
public javax.swing.text.MaskFormatter getMask()
getMask
in interface DatePickerController
public void setEmptyText(java.lang.String emptyText)
setEmptyText
in interface DatePickerController
public java.sql.Timestamp getTimestamp()
getTimestamp
in interface DatePickerController
public java.sql.Date getDate()
getDate
in interface DatePickerController