| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--com.webobjects.eointerface.swing.EOFormCell
EOFormCell objects implement entries in EOForms. An EOFormCell has a field component (an editable EOTextField into which users enter data) and a label (or title) component which is an uneditable text field that identifies the purpose of the form cell's field component.
EOForm, 
Serialized Form| Field Summary | 
| Fields inherited from class javax.swing.JComponent | 
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW | 
| Fields inherited from class java.awt.Component | 
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface java.awt.image.ImageObserver | 
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
EOFormCell()
Constructs a new EOFormCell.  | 
|
| Method Summary | |
 void | 
addActionListener(ActionListener listener)
Adds an ActionListener to the receiver's editable text field.  | 
 void | 
dispose()
Releases all resources used by this object and ensures that it becomes available for garbage collection.  | 
 EOTextField | 
fieldComponent()
Returns the editable text field of the form cell.  | 
 void | 
removeActionListener(ActionListener listener)
Removes an ActionListener from the receiver's editable text field.  | 
 void | 
setTitle(String title)
Sets the receiver's label to title. | 
 void | 
setTitleWidth(int width)
Sets the width of the receiver's label component.  | 
 JTextComponent | 
textComponent()
Returns the editable text field of the form cell as JTextComponent.  | 
 String | 
title()
Returns the receiver's label.  | 
 EOTextField | 
titleComponent()
Returns the label component of the form cell.  | 
 int | 
titleWidth()
Returns the receiver's label component width.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public EOFormCell()
| Method Detail | 
public void addActionListener(ActionListener listener)
listener - the action listenerpublic void dispose()
dispose.
dispose in interface NSDisposablepublic EOTextField fieldComponent()
public void removeActionListener(ActionListener listener)
listener - the action listenerpublic void setTitle(String title)
title.
title - the labelpublic void setTitleWidth(int width)
width - the label component widthpublic JTextComponent textComponent()
textComponent in interface EOTextComponentAccesspublic String title()
public EOTextField titleComponent()
public int titleWidth()
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||