|
WebObjects 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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 FormInner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
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, getUIClassID, paramString, updateUI |
Methods inherited from class java.awt.Container |
add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
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 cellEOFormCell
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 formpublic Dimension preferredLayoutSize(Container container)
container
.preferredLayoutSize
in interface LayoutManager
container
- the formpublic void removeLayoutComponent(Component component)
removeLayoutComponent
in interface LayoutManager
component
-
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |