public class TypesafeEnumCellEditor extends DefaultCellEditor
DefaultCellEditor.EditorDelegate
clickCountToStart, delegate, editorComponent
changeEvent, listenerList
Constructor and Description |
---|
TypesafeEnumCellEditor(Locale locale)
Creates a new instance of HorizontalAlignmentCellEditor
|
Modifier and Type | Method and Description |
---|---|
protected Class |
getClass(JTable table,
int row,
int column) |
Locale |
getLocale()
Getter for property locale.
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
Implements the
TableCellEditor interface. |
void |
setLocale(Locale locale)
Setter for property locale.
|
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, removeCellEditorListener
public TypesafeEnumCellEditor(Locale locale)
public Locale getLocale()
public void setLocale(Locale locale)
locale
- New value of property locale.public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
TableCellEditor
interface.getTableCellEditorComponent
in interface TableCellEditor
getTableCellEditorComponent
in class DefaultCellEditor
Copyright © 2002–2016 SoftSmithy. All rights reserved.