|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.cell.AbstractCellEditor
com.zfqjava.swing.cell.StreamCellEditor
public class StreamCellEditor
StreamCellEditor provides a stream editor,
can be used as JTable, JTree
cell editor.
Support Object Type:
| Field Summary |
|---|
| Fields inherited from class com.zfqjava.swing.cell.AbstractCellEditor |
|---|
CANCEL_EDITING_ON_FOCUS_LOST, changeEvent, COMMIT, COMMIT_OR_EDITING, COMMIT_OR_REVERT, DO_NOTHING_ON_FOCUS_LOST, listenerList, STOP_EDITING_ON_FOCUS_LOST, useSelectionColor |
| Constructor Summary | |
|---|---|
StreamCellEditor()
Constructs a StreamCellEditor |
|
| Method Summary | |
|---|---|
protected void |
commitEdit()
Commits the editing. |
Component |
getComponent()
Returns the component for this editor. |
protected Object |
getValue()
Returns the value for current editor |
protected void |
setValue(Object value)
Sets the value for current editor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamCellEditor()
| Method Detail |
|---|
public Component getComponent()
AbstractCellEditor
getComponent in class AbstractCellEditorprotected void setValue(Object value)
AbstractCellEditor
setValue in class AbstractCellEditorvalue - the value to editorprotected Object getValue()
AbstractCellEditor
getValue in class AbstractCellEditor
protected void commitEdit()
throws ParseException
AbstractCellEditorAbstractCellEditor.stopCellEditing(), if
cannot commit current editing, should throws exception.
commitEdit in class AbstractCellEditorParseException - if cannot commit the editing
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||