You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.widgets.ToggleCellEditor

java.lang.Object
   |
   +----grendel.widgets.ToggleCellEditor

public class  ToggleCellEditor
     extends java.lang.Object
     implements grendel.widgets.CellEditor, 
                java.awt.event.ActionListener
{
          // Fields 2
     CellEditorListener fListener;
     JCheckBox fToggle;

          // Constructors 1
     public ToggleCellEditor();

          // Methods 12
     public void actionPerformed(ActionEvent);
     public void addCellEditorListener(CellEditorListener);
     public void cancelCellEditing();
     public Component getCellEditorComponent();
     public Object getCellEditorValue();
     public JCheckBox getCheckBox();
     public boolean isCellEditable(EventObject);
     public void removeCellEditorListener(CellEditorListener);
     public void setValue(Object, Object, boolean);
     public boolean shouldSelectCell(EventObject);
     public boolean startCellEditing(EventObject);
     public boolean stopCellEditing();
}



Fields


fToggle

   JCheckBox fToggle


fListener

   CellEditorListener fListener



Constructors


ToggleCellEditor

   public ToggleCellEditor() 



Methods


isCellEditable

   public boolean isCellEditable(EventObject aEvent) 


shouldSelectCell

   public boolean shouldSelectCell(EventObject aEvent) 


startCellEditing

   public boolean startCellEditing(EventObject aEvent) 
Implements:
startCellEditing in interface CellEditor


stopCellEditing

   public boolean stopCellEditing() 


cancelCellEditing

   public void cancelCellEditing() 


setValue

   public void setValue(Object aObject, 
                        Object aData, 
                        boolean aSelected) 
Implements:
setValue in interface CellEditor


getCellEditorComponent

   public Component getCellEditorComponent() 
Implements:
getCellEditorComponent in interface CellEditor


getCellEditorValue

   public Object getCellEditorValue() 


addCellEditorListener

   public void addCellEditorListener(CellEditorListener aListener) 


removeCellEditorListener

   public void removeCellEditorListener(CellEditorListener aListener) 


actionPerformed

   public void actionPerformed(ActionEvent e) 
Implements:
actionPerformed in interface ActionListener


getCheckBox

   public JCheckBox getCheckBox() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4