|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.sun.webui.jsf.component.Frame
public class Frame
The Frame component is used inside a FrameSet component to denote a frame.
Constructor Summary | |
---|---|
Frame()
Construct a new Frame . |
Method Summary | |
---|---|
java.lang.String |
getFamily()
Return the family for this component. |
java.lang.String |
getLongDesc()
A URL to a long description of the frame contents. |
int |
getMarginHeight()
Defines the top and bottom margins in the frame |
int |
getMarginWidth()
Defines the left and right margins in the frame |
java.lang.String |
getName()
Defines a unique name for the frame (to use in scripts) |
java.lang.String |
getScrolling()
Determines scrollbar action (valid values are: yes, no, auto) |
java.lang.String |
getStyle()
CSS style(s) to be applied to the outermost HTML element when this component is rendered. |
java.lang.String |
getStyleClass()
CSS style class(es) to be applied to the outermost HTML element when this component is rendered. |
java.lang.String |
getToolTip()
Sets the value of the title attribute for the HTML element. |
java.lang.String |
getUrl()
Defines the URL of the file to show in the frame. |
boolean |
isFrameBorder()
Set the value of the frameBorder attribute to "true" when a border is needed around the frame. |
boolean |
isNoResize()
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame. |
void |
restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext _context)
Save the state of this component. |
void |
setFrameBorder(boolean frameBorder)
Set the value of the frameBorder attribute to "true" when a border is needed around the frame. |
void |
setId(java.lang.String id)
The component identifier for this component. |
void |
setLongDesc(java.lang.String longDesc)
A URL to a long description of the frame contents. |
void |
setMarginHeight(int marginHeight)
Defines the top and bottom margins in the frame |
void |
setMarginWidth(int marginWidth)
Defines the left and right margins in the frame |
void |
setName(java.lang.String name)
Defines a unique name for the frame (to use in scripts) |
void |
setNoResize(boolean noResize)
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame. |
void |
setRendered(boolean rendered)
Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. |
void |
setScrolling(java.lang.String scrolling)
Determines scrollbar action (valid values are: yes, no, auto) |
void |
setStyle(java.lang.String style)
CSS style(s) to be applied to the outermost HTML element when this component is rendered. |
void |
setStyleClass(java.lang.String styleClass)
CSS style class(es) to be applied to the outermost HTML element when this component is rendered. |
void |
setToolTip(java.lang.String toolTip)
Sets the value of the title attribute for the HTML element. |
void |
setUrl(java.lang.String url)
Defines the URL of the file to show in the frame. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setParent, setRendererType, setTransient, setValueBinding, setValueExpression |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Frame()
Construct a new Frame
.
Method Detail |
---|
public java.lang.String getFamily()
Return the family for this component.
getFamily
in class javax.faces.component.UIComponent
public void setId(java.lang.String id)
setId
in class javax.faces.component.UIComponentBase
public void setRendered(boolean rendered)
setRendered
in class javax.faces.component.UIComponentBase
public boolean isFrameBorder()
Set the value of the frameBorder attribute to "true" when a border is needed around the frame.
public void setFrameBorder(boolean frameBorder)
Set the value of the frameBorder attribute to "true" when a border is needed around the frame.
isFrameBorder()
public java.lang.String getLongDesc()
A URL to a long description of the frame contents. Use it for browsers that do not support frames
public void setLongDesc(java.lang.String longDesc)
A URL to a long description of the frame contents. Use it for browsers that do not support frames
getLongDesc()
public int getMarginHeight()
Defines the top and bottom margins in the frame
public void setMarginHeight(int marginHeight)
Defines the top and bottom margins in the frame
getMarginHeight()
public int getMarginWidth()
Defines the left and right margins in the frame
public void setMarginWidth(int marginWidth)
Defines the left and right margins in the frame
getMarginWidth()
public java.lang.String getName()
Defines a unique name for the frame (to use in scripts)
public void setName(java.lang.String name)
Defines a unique name for the frame (to use in scripts)
getName()
public boolean isNoResize()
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.
public void setNoResize(boolean noResize)
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.
isNoResize()
public java.lang.String getScrolling()
Determines scrollbar action (valid values are: yes, no, auto)
public void setScrolling(java.lang.String scrolling)
Determines scrollbar action (valid values are: yes, no, auto)
getScrolling()
public java.lang.String getStyle()
CSS style(s) to be applied to the outermost HTML element when this component is rendered.
public void setStyle(java.lang.String style)
CSS style(s) to be applied to the outermost HTML element when this component is rendered.
getStyle()
public java.lang.String getStyleClass()
CSS style class(es) to be applied to the outermost HTML element when this component is rendered.
public void setStyleClass(java.lang.String styleClass)
CSS style class(es) to be applied to the outermost HTML element when this component is rendered.
getStyleClass()
public java.lang.String getToolTip()
Sets the value of the title attribute for the HTML element. The specified text will display as a tooltip if the mouse cursor hovers over the HTML element.
public void setToolTip(java.lang.String toolTip)
Sets the value of the title attribute for the HTML element. The specified text will display as a tooltip if the mouse cursor hovers over the HTML element.
getToolTip()
public java.lang.String getUrl()
Defines the URL of the file to show in the frame.
public void setUrl(java.lang.String url)
Defines the URL of the file to show in the frame.
getUrl()
public void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
Restore the state of this component.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |