Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.javatools.ui
Class TriStateCellEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by javax.swing.DefaultCellEditor
          extended by oracle.javatools.ui.TriStateCellEditor

All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor

public class TriStateCellEditor
extends javax.swing.DefaultCellEditor

An editor for TriStateCheckBoxes in Trees and Tables.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
javax.swing.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
TriStateCellEditor()
          A new editor using a TriStateCheckBox as the editor
TriStateCellEditor(TriStateCheckBox checkBox)
          A new editor using the passed component as the editor component

 

Method Summary
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
           

 

Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, 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

TriStateCellEditor

public TriStateCellEditor()
A new editor using a TriStateCheckBox as the editor

TriStateCellEditor

public TriStateCellEditor(TriStateCheckBox checkBox)
A new editor using the passed component as the editor component
Parameters:
checkBox -

Method Detail

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
Specified by:
getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
Overrides:
getTableCellEditorComponent in class javax.swing.DefaultCellEditor

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.