com.jidesoft.grid
Class FontNameCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
com.jidesoft.grid.AbstractJideCellEditor
com.jidesoft.grid.ContextSensitiveCellEditor
com.jidesoft.grid.ExComboBoxCellEditor
com.jidesoft.grid.ListComboBoxCellEditor
com.jidesoft.grid.FontNameCellEditor
- All Implemented Interfaces:
- ConverterContextSupport, EditorContextSupport, EditorStyleSupport, JideCellEditor, ActionListener, Serializable, EventListener, CellEditor, PopupMenuListener, TableCellEditor
public class FontNameCellEditor
- extends ListComboBoxCellEditor
CellEditor for FontFace.
- See Also:
- Serialized Form
Methods inherited from class com.jidesoft.grid.ExComboBoxCellEditor |
actionPerformed, customizeExComboBox, getCellEditorValue, getComboBox, getTableCellEditorComponent, isEditorStyleSupported, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, setCellEditorValue, setConverter, setType, stopCellEditing |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT
public static final EditorContext CONTEXT
FontNameCellEditor
public FontNameCellEditor()
- Creates FontNameCellEditor.
createListComboBox
protected ListExComboBox createListComboBox(ComboBoxModel model,
Class<?> type)
- Description copied from class:
ListComboBoxCellEditor
- Creates the list combobox.
- Overrides:
createListComboBox
in class ListComboBoxCellEditor
- Parameters:
model
- the ComboBoxModel
that provides the displayed list of itemstype
- the element type.
- Returns:
- the list combobox.
setupListComboBox
protected void setupListComboBox(ListExComboBox listComboBox)
- Setup the ListExComboBox. Adds AutoCompletion feature to it. The default code is
Component editorComponent = listComboBox.getEditor().getEditorComponent();
if (editorComponent instanceof JTextComponent) {
List
- Parameters:
listComboBox
- the ListComboBox