Class NumberWithLabelEditor
java.lang.Object
javax.swing.AbstractCellEditor
org.bidib.wizard.mvc.main.view.table.NumberWithLabelEditor
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor,RangeValidationCallback
public class NumberWithLabelEditor
extends AbstractCellEditor
implements TableCellEditor, RangeValidationCallback
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
ConstructorsConstructorDescriptionNumberWithLabelEditor(String leftText, String rightText) NumberWithLabelEditor(String leftText, String rightText, int maximum) -
Method Summary
Modifier and TypeMethodDescriptionintintgetTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) voidshowValidationMarker(boolean show) Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Constructor Details
-
NumberWithLabelEditor
-
NumberWithLabelEditor
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponentin interfaceTableCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValuein interfaceCellEditor
-
getMinValue
public int getMinValue()- Specified by:
getMinValuein interfaceRangeValidationCallback
-
getMaxValue
public int getMaxValue()- Specified by:
getMaxValuein interfaceRangeValidationCallback
-
showValidationMarker
public void showValidationMarker(boolean show) - Specified by:
showValidationMarkerin interfaceRangeValidationCallback
-