|
||||||||||
| 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.DefaultCellEditor
|
+--com.zfqjava.swing.cell.FileCellEditor
FileCellEditor provides a file editor,
can be used as JTable, JTree
cell editor.
| Fields inherited from class com.zfqjava.swing.cell.DefaultCellEditor |
iconLabel, textField |
| Fields inherited from class com.zfqjava.swing.cell.AbstractCellEditor |
changeEvent, listenerList, useSelectionColor |
| Constructor Summary | |
FileCellEditor()
Constructs a FileCellEditor |
|
| Method Summary | |
protected void |
commitEdit()
Commits the editing. |
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.DefaultCellEditor |
getComponent, isCellEditable, setValue |
| Methods inherited from class com.zfqjava.swing.cell.AbstractCellEditor |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorComponent, getCellEditorListeners, getCellEditorValue, getCellProvider, getListCellEditorComponent, getTableCellEditorComponent, getTreeCellEditorComponent, removeCellEditorListener, setCellProvider, shouldSelectCell, stopCellEditing, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileCellEditor()
| Method Detail |
protected void commitEdit()
throws java.text.ParseException
AbstractCellEditorAbstractCellEditor.stopCellEditing(), if
cannot commit current editing, should throws exception.commitEdit in class DefaultCellEditorcom.zfqjava.swing.cell.AbstractCellEditorjava.text.ParseException - if cannot commit the editingprotected void setValue(java.lang.Object value)
AbstractCellEditorsetValue in class DefaultCellEditorcom.zfqjava.swing.cell.AbstractCellEditorvalue - the value to editorprotected java.lang.Object getValue()
AbstractCellEditorgetValue in class DefaultCellEditorcom.zfqjava.swing.cell.AbstractCellEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||