| com.sun.rave.web.ui.component.PanelGroupBase
All known Subclasses: com.sun.rave.web.ui.component.PanelGroup,
PanelGroupBase | abstract public class PanelGroupBase extends javax.faces.component.UIComponentBase (Code) | | Use the ui:panelGroup tag to display a group of components
that are separated by a common separator. This tag is often useful for
providing a consistently formatted layout of a group of components.
HTML Elements and Layout
By default the PanelGroup component is rendered with a
element surrounding the group of child
components. You can change the rendered element to a
by setting the block attribute to
true . When a is used, the
panel group is displayed on a new line. Note that if you use a
component in the ui:panelGroup tag that renders a block
element such as a
, that component is always
displayed on its own line. The behavior of child block elements is
independent of the setting of the block attribute.
PanelGroup is a NamingContainer.
Theme Identifiers
Not Applicable
Client Side Javascript Functions
Not Applicable
Examples:
Example 1: Buttons in a panelGroup that uses default separator
The default separator is a return character.
Example 2: Specifying a separator with the separator
attribute
This example uses the separator attribute to specify a separator
consisting of a pipe character surrounded by spaces.
Example 3: Specifying a separator with the separator
facet
This example shows how to use the separator facet and
the block attribute.
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|
Method Summary | |
public String | getFamily() Return the identifier of the component family to which this
component belongs. | public String | getSeparator() The String of characters that should be inserted between each UIComponent that is
a child of this component. | public String | getStyle() | public String | getStyleClass() | public boolean | isBlock() By default, the panelGroup component is rendered on the same line as the component
that comes before it and the component that follows, in a flow layout. | public boolean | isVisible() Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. | public void | restoreState(FacesContext _context, Object _state) | public Object | saveState(FacesContext _context) | public void | setBlock(boolean block) By default, the panelGroup component is rendered on the same line as the component
that comes before it and the component that follows, in a flow layout. | public void | setSeparator(String separator) The String of characters that should be inserted between each UIComponent that is
a child of this component. | public void | setStyle(String style) | public void | setStyleClass(String styleClass) | public void | setVisible(boolean visible) Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. |
PanelGroupBase | public PanelGroupBase()(Code) | | Construct a new PanelGroupBase .
|
getFamily | public String getFamily()(Code) | | Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType property, may be used to select
the appropriate
Renderer for this component instance.
|
getSeparator | public String getSeparator()(Code) | | The String of characters that should be inserted between each UIComponent that is
a child of this component. If this attribute is not specified, then a newline will be
inserted between each component.
|
getStyle | public String getStyle()(Code) | | CSS style(s) to be applied when this component is rendered.
|
getStyleClass | public String getStyleClass()(Code) | | CSS style class(es) to be applied when this component is rendered.
|
isBlock | public boolean isBlock()(Code) | | By default, the panelGroup component is rendered on the same line as the component
that comes before it and the component that follows, in a flow layout. If the block attribute
is set to true, the panelGroup component is rendered on its own line. The components
before it and after it are on different lines. The block attribute has no effect on the
panelGroup component's children.
|
isVisible | public boolean isVisible()(Code) | | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
|
restoreState | public void restoreState(FacesContext _context, Object _state)(Code) | | Restore the state of this component.
|
saveState | public Object saveState(FacesContext _context)(Code) | | Save the state of this component.
|
setBlock | public void setBlock(boolean block)(Code) | | By default, the panelGroup component is rendered on the same line as the component
that comes before it and the component that follows, in a flow layout. If the block attribute
is set to true, the panelGroup component is rendered on its own line. The components
before it and after it are on different lines. The block attribute has no effect on the
panelGroup component's children.
See Also: PanelGroupBase.isBlock() |
setSeparator | public void setSeparator(String separator)(Code) | | The String of characters that should be inserted between each UIComponent that is
a child of this component. If this attribute is not specified, then a newline will be
inserted between each component.
See Also: PanelGroupBase.getSeparator() |
setVisible | public void setVisible(boolean visible)(Code) | | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
See Also: PanelGroupBase.isVisible() |
|
|