JIDE 2.8.0

com.jidesoft.grid
Class SliderCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by com.jidesoft.grid.AbstractJideCellEditor
          extended by com.jidesoft.grid.ContextSensitiveCellEditor
              extended by com.jidesoft.grid.SliderCellEditor
All Implemented Interfaces:
ConverterContextSupport, EditorContextSupport, JideCellEditor, Serializable, CellEditor, TableCellEditor

public class SliderCellEditor
extends ContextSensitiveCellEditor
implements TableCellEditor

A CellEditor that uses a JSlider.

See Also:
Serialized Form

Field Summary
static EditorContext CONTEXT
           
 
Fields inherited from class com.jidesoft.grid.ContextSensitiveCellEditor
DEFAULT_CELL_EDITOR_BORDER
 
Fields inherited from class com.jidesoft.grid.AbstractJideCellEditor
_clickCountToStart
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
SliderCellEditor()
          Constructor
SliderCellEditor(int min, int max)
           
 
Method Summary
 Object getCellEditorValue()
          Gets the value of the cell editor.
 Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
           
 void setCellEditorValue(Object value)
           
 boolean stopCellEditing()
           
 
Methods inherited from class com.jidesoft.grid.ContextSensitiveCellEditor
getConverter, getConverterContext, getEditorContext, getType, isUseConverterContext, setConverter, setConverterContext, setEditorContext, setType, setUseConverterContext
 
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 javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell
 

Field Detail

CONTEXT

public static final EditorContext CONTEXT
Constructor Detail

SliderCellEditor

public SliderCellEditor()
Constructor


SliderCellEditor

public SliderCellEditor(int min,
                        int max)
Method Detail

getCellEditorValue

public Object getCellEditorValue()
Gets the value of the cell editor.

Specified by:
getCellEditorValue in interface CellEditor
Returns:
the value in this cell editor.

setCellEditorValue

public void setCellEditorValue(Object value)

getTableCellEditorComponent

public Component getTableCellEditorComponent(JTable table,
                                             Object value,
                                             boolean isSelected,
                                             int row,
                                             int column)
Specified by:
getTableCellEditorComponent in interface TableCellEditor

stopCellEditing

public boolean stopCellEditing()
Specified by:
stopCellEditing in interface CellEditor
Overrides:
stopCellEditing in class AbstractCellEditor

JIDE 2.8.0