Liking cljdoc? Tell your friends :D

javax.swing.DefaultCellEditor

The default editor for table and tree cells.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

The default editor for table and tree cells.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

->default-cell-editorclj

(->default-cell-editor text-field)

Constructor.

Constructs a DefaultCellEditor that uses a text field.

text-field - a JTextField object - javax.swing.JTextField

Constructor.

Constructs a DefaultCellEditor that uses a text field.

text-field - a JTextField object - `javax.swing.JTextField`
raw docstring

cancel-cell-editingclj

(cancel-cell-editing this)

Forwards the message from the CellEditor to the delegate.

Forwards the message from the CellEditor to
the delegate.
raw docstring

cell-editable?clj

(cell-editable? this an-event)

Forwards the message from the CellEditor to the delegate.

an-event - an event object - java.util.EventObject

returns: true - boolean

Forwards the message from the CellEditor to
 the delegate.

an-event - an event object - `java.util.EventObject`

returns: true - `boolean`
raw docstring

get-cell-editor-valueclj

(get-cell-editor-value this)

Forwards the message from the CellEditor to the delegate.

returns: the value contained in the editor - java.lang.Object

Forwards the message from the CellEditor to
 the delegate.

returns: the value contained in the editor - `java.lang.Object`
raw docstring

get-click-count-to-startclj

(get-click-count-to-start this)

Returns the number of clicks needed to start editing.

returns: the number of clicks needed to start editing - int

Returns the number of clicks needed to start editing.

returns: the number of clicks needed to start editing - `int`
raw docstring

get-componentclj

(get-component this)

Returns a reference to the editor component.

returns: the editor Component - java.awt.Component

Returns a reference to the editor component.

returns: the editor Component - `java.awt.Component`
raw docstring

get-table-cell-editor-componentclj

(get-table-cell-editor-component this table value is-selected row column)

Implements the TableCellEditor interface.

table - the JTable that is asking the editor to edit; can be null - javax.swing.JTable value - the value of the cell to be edited; it is up to the specific editor to interpret and draw the value. For example, if value is the string "true", it could be rendered as a string or it could be rendered as a check box that is checked. null is a valid value - java.lang.Object is-selected - true if the cell is to be rendered with highlighting - boolean row - the row of the cell being edited - int column - the column of the cell being edited - int

returns: the component for editing - java.awt.Component

Implements the TableCellEditor interface.

table - the JTable that is asking the editor to edit; can be null - `javax.swing.JTable`
value - the value of the cell to be edited; it is up to the specific editor to interpret and draw the value. For example, if value is the string "true", it could be rendered as a string or it could be rendered as a check box that is checked. null is a valid value - `java.lang.Object`
is-selected - true if the cell is to be rendered with highlighting - `boolean`
row - the row of the cell being edited - `int`
column - the column of the cell being edited - `int`

returns: the component for editing - `java.awt.Component`
raw docstring

get-tree-cell-editor-componentclj

(get-tree-cell-editor-component this tree value is-selected expanded leaf row)

Implements the TreeCellEditor interface.

tree - the JTree that is asking the editor to edit; this parameter can be null - javax.swing.JTree value - the value of the cell to be edited - java.lang.Object is-selected - true if the cell is to be rendered with selection highlighting - boolean expanded - true if the node is expanded - boolean leaf - true if the node is a leaf node - boolean row - the row index of the node being edited - int

returns: the component for editing - java.awt.Component

Implements the TreeCellEditor interface.

tree - the JTree that is asking the editor to edit; this parameter can be null - `javax.swing.JTree`
value - the value of the cell to be edited - `java.lang.Object`
is-selected - true if the cell is to be rendered with selection highlighting - `boolean`
expanded - true if the node is expanded - `boolean`
leaf - true if the node is a leaf node - `boolean`
row - the row index of the node being edited - `int`

returns: the component for editing - `java.awt.Component`
raw docstring

set-click-count-to-startclj

(set-click-count-to-start this count)

Specifies the number of clicks needed to start editing.

count - an int specifying the number of clicks needed to start editing - int

Specifies the number of clicks needed to start editing.

count - an int specifying the number of clicks needed to start editing - `int`
raw docstring

should-select-cell?clj

(should-select-cell? this an-event)

Forwards the message from the CellEditor to the delegate.

an-event - an event object - java.util.EventObject

returns: true - boolean

Forwards the message from the CellEditor to
 the delegate.

an-event - an event object - `java.util.EventObject`

returns: true - `boolean`
raw docstring

stop-cell-editingclj

(stop-cell-editing this)

Forwards the message from the CellEditor to the delegate.

returns: true - boolean

Forwards the message from the CellEditor to
 the delegate.

returns: true - `boolean`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close