|
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 | +--javax.swing.JPanel | +--com.webobjects.eointerface.swing.EOView | +--com.webobjects.eointerface.swing.EOMatrix | +--com.webobjects.eointerface.swing.EOForm
EOForm is a subclass of EOMatrix that manages a collection of labelled text fields laid out on a grid. Each label/text field pair is an EOFormCell.
EOMatrix
,
EOFormCell
,
Serialized FormField 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 | |
EOForm(int rows,
int columns,
int columnSpacing,
int rowSpacing)
Constructs a new EOForm with rows number of rows, columns number of columns,
a row spacing of rowSpacing and a column spacing of columnSpacing . |
Method Summary | |
Component |
add(Component component)
Adds a form cell to the EOForm. |
void |
addLayoutComponent(String name,
Component component)
Simply returns, does nothing. |
void |
layoutContainer(Container container)
Lays out the labels and text fields of the EOForm container . |
Dimension |
minimumLayoutSize(Container container)
Returns the minimum size of the form container . |
Dimension |
preferredLayoutSize(Container container)
Returns the preferred size of the form container . |
void |
removeLayoutComponent(Component component)
Simply returns, does nothing. |
Methods inherited from class com.webobjects.eointerface.swing.EOView |
dispose, setBounds |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EOForm(int rows, int columns, int columnSpacing, int rowSpacing)
rows
number of rows, columns
number of columns,
a row spacing of rowSpacing
and a column spacing of columnSpacing
.
rows
- the number of rowscolumns
- the number of columnscolumnSpacing
- the column spacingrowSpacing
- the row spacingMethod Detail |
public Component add(Component component)
component
has to be an EOFormCell.
add
in class EOMatrix
component
- the form cell
EOFormCell
public void addLayoutComponent(String name, Component component)
addLayoutComponent
in interface LayoutManager
name
- component
- public void layoutContainer(Container container)
container
.
layoutContainer
in interface LayoutManager
container
- the formpublic Dimension minimumLayoutSize(Container container)
container
.
minimumLayoutSize
in interface LayoutManager
container
- the form
public Dimension preferredLayoutSize(Container container)
container
.
preferredLayoutSize
in interface LayoutManager
container
- the form
public void removeLayoutComponent(Component component)
removeLayoutComponent
in interface LayoutManager
component
-
|
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 |