Package org.esa.snap.rcp.util
Class DateTimePickerCellEditor
- java.lang.Object
-
- javax.swing.AbstractCellEditor
-
- org.jdesktop.swingx.table.DatePickerCellEditor
-
- org.esa.snap.rcp.util.DateTimePickerCellEditor
-
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
,TreeCellEditor
public class DateTimePickerCellEditor extends org.jdesktop.swingx.table.DatePickerCellEditor
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jdesktop.swingx.table.DatePickerCellEditor
clickCountToStart, dateFormat, datePicker, ignoreAction
-
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description DateTimePickerCellEditor(DateFormat dateFormat, DateFormat timeFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Component
getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
DateFormat
getTimeFormat()
static void
main(String[] args)
void
setTimeFormat(DateFormat timeFormat)
-
Methods inherited from class org.jdesktop.swingx.table.DatePickerCellEditor
commitChange, createPickerActionListener, getCellEditorValue, getClickCountToStart, getFormats, getPickerActionListener, getTreeCellEditorComponent, getValueAsDate, handleParseException, isCellEditable, isEmpty, setClickCountToStart, setFormats, stopCellEditing
-
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell
-
-
-
-
Constructor Detail
-
DateTimePickerCellEditor
public DateTimePickerCellEditor(DateFormat dateFormat, DateFormat timeFormat)
-
-
Method Detail
-
setTimeFormat
public void setTimeFormat(DateFormat timeFormat)
-
getTimeFormat
public DateFormat getTimeFormat()
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
- Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
- Overrides:
getTableCellEditorComponent
in classorg.jdesktop.swingx.table.DatePickerCellEditor
-
main
public static void main(String[] args)
-
-