com.alee.extended.list
Class WebCheckBoxListCellEditor
java.lang.Object
com.alee.laf.list.editor.AbstractListCellEditor<WebTextField,CheckBoxCellData>
com.alee.extended.list.WebCheckBoxListCellEditor
- All Implemented Interfaces:
- ListCellEditor<WebTextField,CheckBoxCellData>
public class WebCheckBoxListCellEditor
- extends AbstractListCellEditor<WebTextField,CheckBoxCellData>
Custom list cell editor used in WebCheckBoxListCell component.
- Author:
- Mikle Garin
Methods inherited from class com.alee.laf.list.editor.AbstractListCellEditor |
addEditor, cancelEdit, createCellEditorListeners, editCancelled, editStarted, editStopped, getCellEditor, getClicksToEdit, getEditorBounds, install, installStartEditActions, isCellEditable, isEditing, removeEditor, setClicksToEdit, startEdit, stopEdit, uninstall, uninstallStartEditActions, updateListModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebCheckBoxListCellEditor
public WebCheckBoxListCellEditor()
createCellEditor
protected WebTextField createCellEditor(javax.swing.JList list,
int index,
CheckBoxCellData value)
- Creates list cell editor component for the cell nder specified index.
- Specified by:
createCellEditor
in class AbstractListCellEditor<WebTextField,CheckBoxCellData>
- Parameters:
list
- list to processindex
- cell indexvalue
- cell value
- Returns:
- list cell editor created for the cell under specified index
getEditorBounds
protected java.awt.Rectangle getEditorBounds(javax.swing.JList list,
int index,
CheckBoxCellData value,
java.awt.Rectangle cellBounds)
- Returns list cell editor bounds within the cell.
- Overrides:
getEditorBounds
in class AbstractListCellEditor<WebTextField,CheckBoxCellData>
- Parameters:
list
- list to processindex
- cell indexvalue
- cell valuecellBounds
- cell bounds
- Returns:
- list cell editor bounds within the list
getCellEditorValue
public CheckBoxCellData getCellEditorValue(javax.swing.JList list,
int index,
CheckBoxCellData oldValue)
- Returns editor value that will replace the specified old value in the model.
- Parameters:
list
- list to processindex
- cell indexoldValue
- old cell value
- Returns:
- editor value