public class TimestampPickerControllerImpl extends AbstractPickerController<java.sql.Timestamp> implements TimestampPickerController
changeListenerHelper, LOG
Constructor and Description |
---|
TimestampPickerControllerImpl(javax.swing.text.JTextComponent txtDate,
javax.swing.JButton btnDate,
javax.swing.JSpinner spnTime,
javax.swing.JSpinner spnMileseconds) |
Modifier and Type | Method and Description |
---|---|
void |
coerceAndSet(java.lang.Object value) |
java.sql.Timestamp |
get() |
java.text.DateFormat |
getDateFormat() |
javax.swing.text.MaskFormatter |
getMask() |
boolean |
isEmpty() |
boolean |
isEnabled() |
boolean |
isValid() |
static void |
selfRegister() |
void |
set(java.sql.Timestamp timestamp) |
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 TimestampPickerControllerImpl(javax.swing.text.JTextComponent txtDate, javax.swing.JButton btnDate, javax.swing.JSpinner spnTime, javax.swing.JSpinner spnMileseconds)
public static void selfRegister()
public void uninstall()
uninstall
in interface TimestampPickerController
public boolean isValid()
isValid
in interface PickerController<java.sql.Timestamp>
isValid
in class AbstractPickerController<java.sql.Timestamp>
public boolean isEmpty()
isEmpty
in interface PickerController<java.sql.Timestamp>
isEmpty
in class AbstractPickerController<java.sql.Timestamp>
public java.sql.Timestamp get()
get
in interface PickerController<java.sql.Timestamp>
public void set(java.sql.Timestamp timestamp)
set
in interface PickerController<java.sql.Timestamp>
public void setEnabled(boolean enabled)
setEnabled
in interface PickerController<java.sql.Timestamp>
public boolean isEnabled()
isEnabled
in interface PickerController<java.sql.Timestamp>
public void coerceAndSet(java.lang.Object value)
coerceAndSet
in interface PickerController<java.sql.Timestamp>
public java.text.DateFormat getDateFormat()
getDateFormat
in interface TimestampPickerController
public javax.swing.text.MaskFormatter getMask()
getMask
in interface TimestampPickerController
public void setEmptyText(java.lang.String emptyText)
setEmptyText
in interface TimestampPickerController