HiRISE

HiRISE.HiVali
Class CheckListEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by HiRISE.HiVali.CheckListEditor
All Implemented Interfaces:
ActionListener, Serializable, EventListener, CellEditor, ChangeListener, TableCellEditor

public class CheckListEditor
extends AbstractCellEditor
implements TableCellEditor, ActionListener, ChangeListener

Version:
1.1
Author:
guym
See Also:
Serialized Form

Field Summary
static String ID
          CVS ID
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
CheckListEditor(EdrTableModel model)
           
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 Object getCellEditorValue()
           
 Component getTableCellEditorComponent(JTable table, Object value, boolean selected, int row, int col)
           
 void setChoices(int level, Vector options)
           
 void stateChanged(ChangeEvent evt)
           
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
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, stopCellEditing
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

CheckListEditor

public CheckListEditor(EdrTableModel model)
Method Detail

stateChanged

public void stateChanged(ChangeEvent evt)
Specified by:
stateChanged in interface ChangeListener

actionPerformed

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

getCellEditorValue

public Object getCellEditorValue()
Specified by:
getCellEditorValue in interface CellEditor

setChoices

public void setChoices(int level,
                       Vector options)

getTableCellEditorComponent

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

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona