Method Summary |
|
public void | _postInitialize(FormPanel panel, Container cc) PostInitialize is called once after all components in a FormPanel have
been instantiated at runtime (not design time). |
public static FormComponent | create() Creates a form component. |
public String | getAbsolutePath() Returns the absolute path to this form. |
public int | getCellHeight() Returns the total height in pixels of the cells occupied by this
component. |
public int | getCellWidth() Returns the total width in pixels of the cells occupied by this
component. |
public int | getCellX() Returns the left location of this component's cell in the parent
coordinates. |
public int | getCellY() Returns the top location of this component's cell in the parent
coordinates. |
public GridView | getChildView() Returns the GridView that is associated with this form. |
public int | getColumnCount() Returns the number of columns in this form. |
public FormMemento | getExternalState(StateRequest si) Always call this method instead of getState when saving a top level form. |
public String | getFileName() Returns the filename of this form. |
public FocusPolicyMemento | getFocusPolicy() Returns the focus policy assigned to this form. |
public GridComponent | getGridComponent(int col, int row) Returns the child grid component that occupies the given row and column
in this form. |
public String | getId() Returns a unique id for this form. |
public static FormComponent | getParentForm(Component comp) Traverses the container hiearchy for the given form starting from its
parent and traversing until it encounters a FormComponent instance. |
public FormComponent | getParentForm() Traverses the container hiearchy for this form starting from its parent
and traversing until it encounters a FormComponent instance.
the formcomponent that is the closest ancestor of this form. |
public String | getRelativePath() Returns the relative path to this form. |
public int | getRowCount() Returns the number of rows in this form. |
public GridComponent | getSelectedComponent() Returns the selected child component in this form. |
public ComponentMemento | getState(StateRequest si) Saves this form's state as a memento object.
Parameters: si - a state request that has some control over how the form stateis stored. |
public static FormComponent | getTopLevelForm(Component comp) Traverses the container hierarchy for the given component and returns the
first parent that is a top-level FormComponent. |
public Iterator | gridIterator() Returns an interator that iterates over the grid components in a child
view. |
public boolean | isEmbedded() Returns true if this form is an embedded form. |
public boolean | isLinked() Returns true if this form is linked. |
public boolean | isTopLevelForm() Return true if this form is the top-most form in the container hierarchy. |
protected FormComponent | openLinkedForm(FormMemento fm) Creates and initializes a FormComponent from the given form memento. |
public void | postInitialize(FormPanel panel) PostInitialize is called once after all components in a form have been
re-instantiated at runtime (not design time). |
protected void | postSetState(ComponentMemento cm) Performs any final initialization of this form component after it's state
has been restored. |
public void | print() |
public void | revalidate() Override revalidate so we can forward the call to the underlying GridView
as well. |
public void | setAbsolutePath(String path) Sets the absolute path for this form. |
protected void | setBean(JETABean jbean) Override GridComponent implementation so we can add the child to this
container for the design view. |
public void | setControlButtonsVisible(boolean bVisible) |
public void | setFocusPolicy(FocusPolicyMemento fm) |
public void | setSelected(boolean bsel) Override setSelected so we can deselect everything in the child view when
being dselected. |
public void | setState(ComponentMemento memento) Resets this component from a previously saved state. |
public void | setTopLevelForm(boolean topLevel) Sets the flag used to indicate is this is the top-most form when saving
this form. |