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