|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.zfqjava.swing.cell.AbstractCellEditor | +--com.zfqjava.swing.cell.DateCellEditor
DateCellEditor
provides a date editor,
can be used as JTable
, JTree
cell editor.
Fields inherited from class com.zfqjava.swing.cell.AbstractCellEditor |
changeEvent, listenerList, useSelectionColor |
Constructor Summary | |
DateCellEditor()
Constructs a DateCellEditor |
Method Summary | |
protected void |
commitEdit()
Commits the editing. |
java.awt.Component |
getComponent()
Returns the component for this editor. |
protected java.lang.Object |
getValue()
Returns the value for current editor |
protected void |
setValue(java.lang.Object value)
Sets the value for current editor. |
Methods inherited from class com.zfqjava.swing.cell.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, getCellEditorValue, getCellProvider, getListCellEditorComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, removeCellEditorListener, setCellProvider, shouldSelectCell, stopCellEditing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DateCellEditor()
Method Detail |
public java.awt.Component getComponent()
AbstractCellEditor
getComponent
in class AbstractCellEditor
com.zfqjava.swing.cell.AbstractCellEditor
protected void setValue(java.lang.Object value)
AbstractCellEditor
setValue
in class AbstractCellEditor
com.zfqjava.swing.cell.AbstractCellEditor
value
- the value to editorprotected java.lang.Object getValue()
AbstractCellEditor
getValue
in class AbstractCellEditor
com.zfqjava.swing.cell.AbstractCellEditor
protected void commitEdit() throws java.text.ParseException
AbstractCellEditor
AbstractCellEditor.stopCellEditing()
, if
cannot commit current editing, should throws exception.commitEdit
in class AbstractCellEditor
com.zfqjava.swing.cell.AbstractCellEditor
java.text.ParseException
- if cannot commit the editing
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |