public static class SampleCategoryComponent.SampleCategoryEditor<C extends Serializable> extends AbstractCellEditor implements TableCellEditor, FocusListener, AncestorListener
| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.decorator.Decorator<C> |
categoryDecorator |
protected JPanel |
editor |
protected JLabel |
editorLabel |
protected org.nuiton.jaxx.widgets.number.NumberEditor |
numberEditor |
changeEvent, listenerList| Constructor and Description |
|---|
SampleCategoryComponent.SampleCategoryEditor(org.nuiton.decorator.Decorator<C> categoryDecorator,
WeightUnit weightUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
ancestorAdded(AncestorEvent event) |
void |
ancestorMoved(AncestorEvent event) |
void |
ancestorRemoved(AncestorEvent event) |
void |
cancelCellEditing() |
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
Float |
getCellEditorValue() |
org.nuiton.jaxx.widgets.number.NumberEditor |
getNumberEditor() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
protected void |
resetEditor() |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCellclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, isCellEditable, removeCellEditorListener, shouldSelectCellprotected final org.nuiton.jaxx.widgets.number.NumberEditor numberEditor
protected final JPanel editor
protected final JLabel editorLabel
protected final org.nuiton.decorator.Decorator<C extends Serializable> categoryDecorator
public SampleCategoryComponent.SampleCategoryEditor(org.nuiton.decorator.Decorator<C> categoryDecorator, WeightUnit weightUnit)
public org.nuiton.jaxx.widgets.number.NumberEditor getNumberEditor()
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic Float getCellEditorValue()
getCellEditorValue in interface CellEditorpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerpublic void ancestorAdded(AncestorEvent event)
ancestorAdded in interface AncestorListenerpublic void ancestorRemoved(AncestorEvent event)
ancestorRemoved in interface AncestorListenerpublic void ancestorMoved(AncestorEvent event)
ancestorMoved in interface AncestorListenerpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class AbstractCellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorcancelCellEditing in class AbstractCellEditorprotected void resetEditor()
Copyright © 2012–2015 Ifremer. All rights reserved.