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.TextCellEditor

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.text.JTextComponent
                                   |
                                   +----com.sun.java.swing.JTextField
                                           |
                                           +----grendel.widgets.TextCellEditor

public class  TextCellEditor
     extends com.sun.java.swing.JTextField
     implements grendel.widgets.CellEditor, 
                com.sun.java.swing.event.DocumentListener
{
          // Fields 4
     CellEditorListener fListener;
     boolean fSelected;
     Dimension fSize;
     boolean fStopping;

          // Constructors 1
     public TextCellEditor();

          // Methods 14
     public void addCellEditorListener(CellEditorListener);
     public void cancelCellEditing();
     public void changedUpdate(DocumentEvent);
     public Component getCellEditorComponent();
     public Object getCellEditorValue();
     public void insertUpdate(DocumentEvent);
     public boolean isCellEditable(EventObject);
     public void removeCellEditorListener(CellEditorListener);
     public void removeUpdate(DocumentEvent);
     public void setValue(Object, Object, boolean);
     public boolean shouldSelectCell(EventObject);
     public boolean startCellEditing(EventObject);
     public boolean stopCellEditing();
     protected void updateSize(Dimension);

          // Inner Classes 3
     class CancelAction
     class StopAction
     class MyFocusListener
}



Fields


• fListener

   CellEditorListener fListener


• fSelected

   boolean fSelected


• fStopping

   boolean fStopping


• fSize

   Dimension fSize



Constructors


• TextCellEditor

   public TextCellEditor() 



Methods


• cancelCellEditing

   public void cancelCellEditing() 


• setValue

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


• getCellEditorValue

   public Object getCellEditorValue() 


• isCellEditable

   public boolean isCellEditable(EventObject aEvent) 


• shouldSelectCell

   public boolean shouldSelectCell(EventObject aEvent) 


• stopCellEditing

   public boolean stopCellEditing() 


• startCellEditing

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


• getCellEditorComponent

   public Component getCellEditorComponent() 
Implements:
getCellEditorComponent in interface CellEditor


• addCellEditorListener

   public void addCellEditorListener(CellEditorListener aListener) 


• removeCellEditorListener

   public void removeCellEditorListener(CellEditorListener aListener) 


• updateSize

   protected void updateSize(Dimension aSize) 


• changedUpdate

   public void changedUpdate(DocumentEvent aEvent) 
Implements:
changedUpdate in interface DocumentListener


• insertUpdate

   public void insertUpdate(DocumentEvent aEvent) 
Implements:
insertUpdate in interface DocumentListener


• removeUpdate

   public void removeUpdate(DocumentEvent aEvent) 
Implements:
removeUpdate in interface DocumentListener


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