|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
com.jidesoft.grid.AbstractJideCellEditor
com.jidesoft.grid.ContextSensitiveCellEditor
com.jidesoft.grid.ExComboBoxCellEditor
com.jidesoft.grid.CheckBoxListComboBoxCellEditor
public class CheckBoxListComboBoxCellEditor
This class is for any cell editor where one needs to choose multiple value from a list. It used CheckBoxListExComboBox as the editor.
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.grid.ExComboBoxCellEditor |
|---|
_comboBox |
| Fields inherited from class com.jidesoft.grid.ContextSensitiveCellEditor |
|---|
DEFAULT_CELL_EDITOR_BORDER |
| Fields inherited from class com.jidesoft.grid.AbstractJideCellEditor |
|---|
_clickCountToStart |
| Fields inherited from class javax.swing.AbstractCellEditor |
|---|
changeEvent, listenerList |
| Constructor Summary | |
|---|---|
CheckBoxListComboBoxCellEditor()
|
|
CheckBoxListComboBoxCellEditor(ComboBoxModel model)
Creates a CheckBoxListComboBoxCellEditor that takes it's items from an existing
ComboBoxModel. |
|
CheckBoxListComboBoxCellEditor(ComboBoxModel model,
Class<?> type)
Creates a CheckBoxListComboBoxCellEditor that takes it's items from an existing
ComboBoxModel. |
|
CheckBoxListComboBoxCellEditor(Object[] data)
Creates a CheckBoxListComboBoxCellEditor that contains the elements in the specified array. |
|
CheckBoxListComboBoxCellEditor(Object[] data,
Class<?> type)
Creates a CheckBoxListComboBoxCellEditor that contains the elements in the specified array. |
|
CheckBoxListComboBoxCellEditor(Vector<?> data)
Creates a CheckBoxListComboBoxCellEditor that contains the elements in the specified Vector. |
|
CheckBoxListComboBoxCellEditor(Vector<?> data,
Class<?> type)
Creates a CheckBoxListComboBoxCellEditor that contains the elements in the specified Vector. |
|
| Method Summary | |
|---|---|
protected CheckBoxListExComboBox |
createCheckBoxListComboBox(ComboBoxModel model,
Class<?> type)
Creates the checkbox list combobox. |
ExComboBox |
createExComboBox()
Creates an ExComboBox or its subclass used by this cell editor. |
void |
setComboBoxModel(ComboBoxModel model)
Updates the model for the combobox. |
void |
setComboBoxType(Class<?> type)
Updates the data type for the combobox. |
void |
setConverterContext(ConverterContext context)
Set the converter context for the cell editor. |
void |
setPossibleValues(Object[] data)
Sets possible value set for the cell editor. |
| Methods inherited from class com.jidesoft.grid.ExComboBoxCellEditor |
|---|
actionPerformed, createExComboBox, customizeExComboBox, getCellEditorValue, getComboBox, getTableCellEditorComponent, isEditorStyleSupported, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, setCellEditorValue, setConverter, setType, stopCellEditing |
| Methods inherited from class com.jidesoft.grid.ContextSensitiveCellEditor |
|---|
getConverter, getConverterContext, getEditorContext, getEditorStyle, getType, isUseConverterContext, setEditorContext, setEditorStyle, setUseConverterContext |
| Methods inherited from class com.jidesoft.grid.AbstractJideCellEditor |
|---|
addValidationListener, getClickCountToStart, getDefaultErrorBehavior, getValidationListeners, isAutoStopCellEditing, isCellEditable, isPassEnterKeyToTable, removeValidationListener, setAutoStopCellEditing, setClickCountToStart, setDefaultErrorBehavior, setPassEnterKeyToTable, validate |
| Methods inherited from class javax.swing.AbstractCellEditor |
|---|
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.CellEditor |
|---|
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell |
| Constructor Detail |
|---|
public CheckBoxListComboBoxCellEditor()
public CheckBoxListComboBoxCellEditor(Object[] data)
CheckBoxListComboBoxCellEditor that contains the elements in the specified array. By
default the first item in the array (and therefore the data model) becomes selected.
data - an array of objects to insert into the combo boxpublic CheckBoxListComboBoxCellEditor(Vector<?> data)
CheckBoxListComboBoxCellEditor that contains the elements in the specified Vector. By
default the first item in the Vector (and therefore the data model) becomes selected.
data - an array of objects to insert into the combo boxpublic CheckBoxListComboBoxCellEditor(ComboBoxModel model)
CheckBoxListComboBoxCellEditor that takes it's items from an existing
ComboBoxModel. Since the ComboBoxModel is provided, a combo box created using this
constructor does not create a default combo box model and may impact how the insert, remove and add methods
behave.
model - the ComboBoxModel that provides the displayed list of items
public CheckBoxListComboBoxCellEditor(Object[] data,
Class<?> type)
CheckBoxListComboBoxCellEditor that contains the elements in the specified array. By
default the first item in the array (and therefore the data model) becomes selected.
data - an array of objects to insert into the combo boxtype - the array type of element in the data array as the CheckBoxListComboBoxCellEditor is used to select
multiple items.
public CheckBoxListComboBoxCellEditor(Vector<?> data,
Class<?> type)
CheckBoxListComboBoxCellEditor that contains the elements in the specified Vector. By
default the first item in the Vector (and therefore the data model) becomes selected.
data - an array of objects to insert into the combo boxtype - the array type of element in the data array as the CheckBoxListComboBoxCellEditor is used to select
multiple items.
public CheckBoxListComboBoxCellEditor(ComboBoxModel model,
Class<?> type)
CheckBoxListComboBoxCellEditor that takes it's items from an existing
ComboBoxModel. Since the ComboBoxModel is provided, a combo box created using this
constructor does not create a default combo box model and may impact how the insert, remove and add methods
behave.
model - the ComboBoxModel that provides the displayed list of itemstype - the array type of element in the data array as the CheckBoxListComboBoxCellEditor is used to select
multiple items.| Method Detail |
|---|
public ExComboBox createExComboBox()
ExComboBoxCellEditor
createExComboBox in class ExComboBoxCellEditorpublic void setComboBoxModel(ComboBoxModel model)
model - the model for the combobox.public void setComboBoxType(Class<?> type)
type - the type for the combobox.
protected CheckBoxListExComboBox createCheckBoxListComboBox(ComboBoxModel model,
Class<?> type)
model - the combobox modeltype - the element type
public void setPossibleValues(Object[] data)
data - the possible value setpublic void setConverterContext(ConverterContext context)
ContextSensitiveCellEditorContextSensitiveCellEditor.isUseConverterContext() to decide
if the editor should use the cell's converter context or use null always.
setConverterContext in interface ConverterContextSupportsetConverterContext in class ContextSensitiveCellEditorcontext - the converter contextContextSensitiveCellEditor.getConverterContext()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||