|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractCellEditor groovy.swing.impl.ClosureCellEditor
class ClosureCellEditor extends AbstractCellEditor
Property Summary | |
---|---|
Map |
callbacks
|
List |
children
|
int |
column
|
boolean |
defaultEditor
|
Closure |
editorValue
|
boolean |
expanded
|
boolean |
leaf
|
Closure |
prepareEditor
|
int |
row
|
boolean |
selected
|
JTable |
table
|
JTree |
tree
|
Object |
value
|
Constructor Summary | |
ClosureCellEditor(Closure c = null, Map callbacks = [:])
|
Method Summary | |
---|---|
Object
|
getCellEditorValue()
|
Component
|
getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
|
Component
|
getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
|
Object
|
invokeMethod(String name, Object args)
|
void
|
setEditorValue(Closure editorValue)
|
void
|
setPrepareEditor(Closure prepareEditor)
|
Methods inherited from class AbstractCellEditor | |
---|---|
isCellEditable, addCellEditorListener, removeCellEditorListener, stopCellEditing, getCellEditorListeners, shouldSelectCell, cancelCellEditing, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, getCellEditorValue |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
Map callbacks
List children
int column
boolean defaultEditor
Closure editorValue
boolean expanded
boolean leaf
Closure prepareEditor
int row
boolean selected
JTable table
JTree tree
Object value
Constructor Detail |
---|
ClosureCellEditor(Closure c = null, Map callbacks = [:])
Method Detail |
---|
@Override Object getCellEditorValue()
@Override Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
@Override Object invokeMethod(String name, Object args)
void setEditorValue(Closure editorValue)
void setPrepareEditor(Closure prepareEditor)
Copyright © 2003-2013 The Codehaus. All rights reserved.