FreeHEP API
Version current

org.freehep.util.parameterdatabase.editor
Class DoubleRangeEditor

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byjavax.swing.DefaultCellEditor
          extended byorg.freehep.util.parameterdatabase.editor.DoubleRangeEditor
All Implemented Interfaces:
ActionListener, CellEditor, EventListener, Serializable, TableCellEditor, TreeCellEditor

public class DoubleRangeEditor
extends DefaultCellEditor
implements ActionListener

This allows a DoubleRange to be edited within a table.

See Also:
Serialized Form
Source Code:
DoubleRangeEditor.java

Nested Class Summary
 
Nested classes inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
 
Field Summary
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
DoubleRangeEditor()
          This creates a cell editor for a DoubleRange object.
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 DoubleRange getState()
           
 void setState(DoubleRange range)
           
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
 
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, removeCellEditorListener
 

Constructor Detail

DoubleRangeEditor

public DoubleRangeEditor()
This creates a cell editor for a DoubleRange object.

Method Detail

setState

public void setState(DoubleRange range)

getState

public DoubleRange getState()

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.