| com.sun.rave.web.ui.component.FrameSetBase
All known Subclasses: com.sun.rave.web.ui.component.FrameSet,
FrameSetBase | abstract public class FrameSetBase extends javax.faces.component.UIComponentBase (Code) | | Use
the ui:frameSet
tag to define a new set of frames in the rendered HTML page.
When using ui:frameSet
and ui:frame
tags in
your application, you must also set the ui:page
tag's
frame attribute to "true".
HTML
Elements and Layout
The
rendered HTML page contains
an XHTML-compliant <frameset>
element.
Theme
Identifiers
What
theme elements apply?
Client
Side Javascript Functions
None.
Examples
Example
1: Creating a
frameset of two rows and two columns
<?xml
version="1.0"
encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page
contentType="text/html;charset=ISO-8859-1"
pageEncoding="UTF-8"/><f:view>
<ui:page frame="true">
<ui:html>
<ui:head title="blah" />
<ui:frameSet rows="10%,*" cols="10%,*" style="color:blue"
styleClass="blue" toolTip="blah">
<ui:frame toolTip="blah" url="../faces/hyperlink/hyperlink.jsp"
frameBorder="true" noResize="false"/>
<ui:frame toolTip="blah1" url="../faces/hyperlink/nextpage.jsp"
frameBorder="true" noResize="false"/>
<ui:frame toolTip="blah2" url="http://www.google.com"
frameBorder="true" noResize="false"/>
<ui:frame toolTip="blah3" url="http://www.yahoo.com"
frameBorder="true" noResize="false"/>
</ui:frameSet>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|
FrameSetBase | public FrameSetBase()(Code) | | Construct a new FrameSetBase .
|
getBorder | public int getBorder()(Code) | | The width, in pixels, of the space around frames. The frameSpacing
attribute and the border attribute set the same property in different
browsers. Set frameSpacing and border to the same value.
|
getBorderColor | public String getBorderColor()(Code) | | The bordercolor attribute allows you to set the color of the frame
borders using a hex value or a color name.
|
getCols | public String getCols()(Code) | | Defines the number and size of columns in a frameset. The size can be
specified in pixels, percentage of the page width, or with an
asterisk (*). Specifying * causes the columns to use available space.
See the HTML specification for the frameset element for more details.
|
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.
|
getFrameSpacing | public int getFrameSpacing()(Code) | | The width, in pixels, of the space around frames. The frameSpacing attribute
and the border attribute set the same property in different browsers.
Set frameSpacing and border to the same value.
|
getRows | public String getRows()(Code) | | Defines the number and size of rows in a frameset. The size can be
specified in pixels, percentage of the page length, or with an
asterisk (*). Specifying * causes the rows to use available space.
See the HTML specification for the frameset element for more details.
|
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.
|
getToolTip | public String getToolTip()(Code) | | Display the text as a tooltip for this component
|
isFrameBorder | public boolean isFrameBorder()(Code) | | Flag indicating whether frames should have borders or not. If
frameBorder is true, decorative borders are drawn. If frameBorder is
false, a space between frames shows up as the background color of the
page. To show no border or space between frames, you should set
frameBorder to false, and set frameSpacing and border to 0.
|
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.
|
setBorder | public void setBorder(int border)(Code) | | The width, in pixels, of the space around frames. The frameSpacing
attribute and the border attribute set the same property in different
browsers. Set frameSpacing and border to the same value.
See Also: FrameSetBase.getBorder() |
setBorderColor | public void setBorderColor(String borderColor)(Code) | | The bordercolor attribute allows you to set the color of the frame
borders using a hex value or a color name.
See Also: FrameSetBase.getBorderColor() |
setCols | public void setCols(String cols)(Code) | | Defines the number and size of columns in a frameset. The size can be
specified in pixels, percentage of the page width, or with an
asterisk (*). Specifying * causes the columns to use available space.
See the HTML specification for the frameset element for more details.
See Also: FrameSetBase.getCols() |
setFrameBorder | public void setFrameBorder(boolean frameBorder)(Code) | | Flag indicating whether frames should have borders or not. If
frameBorder is true, decorative borders are drawn. If frameBorder is
false, a space between frames shows up as the background color of the
page. To show no border or space between frames, you should set
frameBorder to false, and set frameSpacing and border to 0.
See Also: FrameSetBase.isFrameBorder() |
setFrameSpacing | public void setFrameSpacing(int frameSpacing)(Code) | | The width, in pixels, of the space around frames. The frameSpacing attribute
and the border attribute set the same property in different browsers.
Set frameSpacing and border to the same value.
See Also: FrameSetBase.getFrameSpacing() |
setRows | public void setRows(String rows)(Code) | | Defines the number and size of rows in a frameset. The size can be
specified in pixels, percentage of the page length, or with an
asterisk (*). Specifying * causes the rows to use available space.
See the HTML specification for the frameset element for more details.
See Also: FrameSetBase.getRows() |
|
|