|
WebObjects 5.4.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.webobjects.eointerface.swing.EOFormCell
public class 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| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| 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 dispose()
dispose.
dispose in interface NSDisposablepublic JTextComponent textComponent()
textComponent in interface EOTextComponentAccesspublic EOTextField fieldComponent()
public EOTextField titleComponent()
public void setTitle(String title)
title.
title - the labelpublic String title()
public void setTitleWidth(int width)
width - the label component widthpublic int titleWidth()
public void addActionListener(ActionListener listener)
listener - the action listenerpublic void removeActionListener(ActionListener listener)
listener - the action listener
|
Last updated June 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||