| javax.swing.JPanel org.swingml.component.GridBagPanelComponent
GridBagPanelComponent | public class GridBagPanelComponent extends JPanel (Code) | | This class provides the actual instantiation and management of the
<GRIDBAG-PANEL> tag on the rendered form. This class operates
essentially as a SwingML-style wrapper around a standard JPanel
that lays out its child components using GridBagLayout.
The overridden add() method accepts GridBagRowComponents that in
turn contain GridBagCell components which themselves contain the actual
references to the component to display within the GridBagPanelComponent
instance. The detailed parameters regarding the layout settings for each
component are hierarchically stored within the GridBagRowModel and GridBagCellModel
components passed in during the add() invocation.
|
GridBagPanelComponent | public GridBagPanelComponent(GridBagPanelModel aModel)(Code) | | Constructor for GridBagPanelComponent. This
constructor essentially sets the layout to GridBagLayout
and assigns the necessary model information to properties
of this component.
Parameters: model - A valid reference to an instance of the GridBagPanelModel class. See Also: org.swingml.model.GridBagPanelModel |
add | public Component add(Component aComponent)(Code) | | This overridden method handles the addition of GridBagRow components.
It is also important to note that after rendering is complete, it is possible
for InvokableEvent instances to call add() with other component instances.
Parameters: component - The component to add to the current GridBagPanelComponent instance. The component that was added to the GridBagPanelComponent. See Also: org.swingml.component.GridBagRowComponent |
submit | public void submit(String anAddress, String aTargetContainer, boolean aRepaint)(Code) | | |
|
|