com.antelmann.util.table
Class DateDialogCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
com.antelmann.util.table.AbstractDialogCellEditor<Date>
com.antelmann.util.table.DateDialogCellEditor
- All Implemented Interfaces:
- ValueRetriever<Date>, ValueSetter<Date>, Serializable, CellEditor, TableCellEditor, TreeCellEditor
@ThirdParty(value="uses com.toedter")
public class DateDialogCellEditor
- extends AbstractDialogCellEditor<Date>
provides a dialog with a MyJCalendar component for selecting the date upon edit.
- Since:
- 21. August 2007, 23:14
- Author:
- Holger Antelmann
- See Also:
- Serialized Form
|
Method Summary |
Date |
getRelevantValue()
returns the relevant value for this instance at the time of calling |
void |
setRelevantValue(Date date)
sets the relevant value for this instance with the given value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateDialogCellEditor
public DateDialogCellEditor()
DateDialogCellEditor
public DateDialogCellEditor(String dialogTitle)
DateDialogCellEditor
public DateDialogCellEditor(String dialogTitle,
Date defaultDate)
- if null is given as a title, the column name is used
getRelevantValue
public Date getRelevantValue()
- Description copied from interface:
ValueRetriever
- returns the relevant value for this instance at the time of calling
setRelevantValue
public void setRelevantValue(Date date)
throws Exception
- Description copied from interface:
ValueSetter
- sets the relevant value for this instance with the given value
- Throws:
Exception
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads