| |
|
| com.sun.rave.web.ui.component.BodyBase
All known Subclasses: com.sun.rave.web.ui.component.Body,
BodyBase | abstract public class BodyBase extends javax.faces.component.UIComponentBase (Code) | | Use the ui:body
tag to create an HTML <body>
tag and attributes in the rendered HTML page. The
ui:body tag should be used in conjunction with the ui:head and the ui:page
tag.
HTML Elements and Layout
The ui:body tag encloses the body content of the
JSP page, just as a <body> tag encloses the content of an HTML
page. The ui:body tag should be placed after the ui:head
tag
within the ui:page
tag. Attributes that are
specified with the ui:body tag are used to specify the
corresponding attributes in the rendered <body>
element.
Client Side Javascript Functions
None.
Example 1: Create a body tag
<ui:page>
<ui:head title="body test" >
<ui:meta httpHead="refresh"
content="5" />
</ui:head>
<ui:body id="bodytest">
....your body content
...
</ui:body id="bodytest">
</ui:page>
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|
BodyBase | public BodyBase()(Code) | | Construct a new BodyBase .
|
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.
|
getFocus | public String getFocus()(Code) | | Specify the ID of the component that should receive focus when
the page is loaded. If the attribute is not set, or if the value
is null, the component which submitted the page (if any)
receives focus.
|
getImageURL | public String getImageURL()(Code) | | Resource path of an image used to appear in the background
|
getOnBlur | public String getOnBlur()(Code) | | Scripting code executed when this element loses focus.
|
getOnClick | public String getOnClick()(Code) | | Scripting code executed when a mouse click
occurs over this component.
|
getOnDblClick | public String getOnDblClick()(Code) | | Scripting code executed when a mouse double click
occurs over this component.
|
getOnFocus | public String getOnFocus()(Code) | | Scripting code executed when this component receives focus. An
element receives focus when the user selects the element by pressing
the tab key or clicking the mouse.
|
getOnKeyDown | public String getOnKeyDown()(Code) | | Scripting code executed when the user presses down on a key while the
component has focus.
|
getOnKeyPress | public String getOnKeyPress()(Code) | | Scripting code executed when the user presses and releases a key while
the component has focus.
|
getOnKeyUp | public String getOnKeyUp()(Code) | | Scripting code executed when the user releases a key while the
component has focus.
|
getOnLoad | public String getOnLoad()(Code) | | Scripting code executed when when this page is loaded in a browser.
|
getOnMouseDown | public String getOnMouseDown()(Code) | | Scripting code executed when the user presses a mouse button while the
mouse pointer is on the component.
|
getOnMouseMove | public String getOnMouseMove()(Code) | | Scripting code executed when the user moves the mouse pointer while
over the component.
|
getOnMouseOut | public String getOnMouseOut()(Code) | | Scripting code executed when a mouse out movement
occurs over this component.
|
getOnMouseOver | public String getOnMouseOver()(Code) | | Scripting code executed when the user moves the mouse pointer into
the boundary of this component.
|
getOnMouseUp | public String getOnMouseUp()(Code) | | Scripting code executed when the user releases a mouse button while
the mouse pointer is on the component.
|
getOnUnload | public String getOnUnload()(Code) | | Scripting code executed when this page is unloaded from a browser as a user exits the page.
|
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.
|
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.
|
setFocus | public void setFocus(String focus)(Code) | | Specify the ID of the component that should receive focus when
the page is loaded. If the attribute is not set, or if the value
is null, the component which submitted the page (if any)
receives focus.
See Also: BodyBase.getFocus() |
setOnFocus | public void setOnFocus(String onFocus)(Code) | | Scripting code executed when this component receives focus. An
element receives focus when the user selects the element by pressing
the tab key or clicking the mouse.
See Also: BodyBase.getOnFocus() |
setOnKeyDown | public void setOnKeyDown(String onKeyDown)(Code) | | Scripting code executed when the user presses down on a key while the
component has focus.
See Also: BodyBase.getOnKeyDown() |
setOnKeyPress | public void setOnKeyPress(String onKeyPress)(Code) | | Scripting code executed when the user presses and releases a key while
the component has focus.
See Also: BodyBase.getOnKeyPress() |
setOnKeyUp | public void setOnKeyUp(String onKeyUp)(Code) | | Scripting code executed when the user releases a key while the
component has focus.
See Also: BodyBase.getOnKeyUp() |
setOnMouseDown | public void setOnMouseDown(String onMouseDown)(Code) | | Scripting code executed when the user presses a mouse button while the
mouse pointer is on the component.
See Also: BodyBase.getOnMouseDown() |
setOnMouseMove | public void setOnMouseMove(String onMouseMove)(Code) | | Scripting code executed when the user moves the mouse pointer while
over the component.
See Also: BodyBase.getOnMouseMove() |
setOnMouseOver | public void setOnMouseOver(String onMouseOver)(Code) | | Scripting code executed when the user moves the mouse pointer into
the boundary of this component.
See Also: BodyBase.getOnMouseOver() |
setOnMouseUp | public void setOnMouseUp(String onMouseUp)(Code) | | Scripting code executed when the user releases a mouse button while
the mouse pointer is on the component.
See Also: BodyBase.getOnMouseUp() |
setOnUnload | public void setOnUnload(String onUnload)(Code) | | Scripting code executed when this page is unloaded from a browser as a user exits the page.
See Also: BodyBase.getOnUnload() |
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: BodyBase.isVisible() |
|
|
|