com.sun.webui.jsf.component
Class IFrame

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.sun.webui.jsf.component.Frame
              extended by com.sun.webui.jsf.component.IFrame
All Implemented Interfaces:
javax.faces.component.StateHolder

public class IFrame
extends Frame

The Iframe component is used to create an inline frame.


Constructor Summary
IFrame()
          Construct a new IFrame.
 
Method Summary
 java.lang.String getAlign()
          Specifies how to align the iframe according to the surrounding text.
 java.lang.String getFamily()
          Return the family for this component.
 java.lang.String getHeight()
          Defines the height of the iframe in pixels or as a percentage of it's container
 java.lang.String getWidth()
          Defines the width of the iframe in pixels or as a percentage of it's container
 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 setAlign(java.lang.String align)
          Specifies how to align the iframe according to the surrounding text.
 void setHeight(java.lang.String height)
          Defines the height of the iframe in pixels or as a percentage of it's container
 void setId(java.lang.String id)
          The component identifier for this component.
 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 setWidth(java.lang.String width)
          Defines the width of the iframe in pixels or as a percentage of it's container
 
Methods inherited from class com.sun.webui.jsf.component.Frame
getLongDesc, getMarginHeight, getMarginWidth, getName, getScrolling, getStyle, getStyleClass, getToolTip, getUrl, isFrameBorder, setFrameBorder, setLongDesc, setMarginHeight, setMarginWidth, setName, setScrolling, setStyle, setStyleClass, setToolTip, setUrl
 
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

IFrame

public IFrame()

Construct a new IFrame.

Method Detail

getFamily

public java.lang.String getFamily()

Return the family for this component.

Overrides:
getFamily in class Frame

setId

public void setId(java.lang.String id)
The component identifier for this component. This value must be unique within the closest parent component that is a naming container.

Overrides:
setId in class Frame

setRendered

public 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. If set to false, the rendered HTML page does not include the HTML for the component. If the component is not rendered, it is also not processed on any subsequent form submission.

Overrides:
setRendered in class Frame

getAlign

public java.lang.String getAlign()

Specifies how to align the iframe according to the surrounding text. One of the following: left, right, top, middle, bottom


setAlign

public void setAlign(java.lang.String align)

Specifies how to align the iframe according to the surrounding text. One of the following: left, right, top, middle, bottom

See Also:
getAlign()

getHeight

public java.lang.String getHeight()

Defines the height of the iframe in pixels or as a percentage of it's container


setHeight

public void setHeight(java.lang.String height)

Defines the height of the iframe in pixels or as a percentage of it's container

See Also:
getHeight()

isNoResize

public boolean isNoResize()

Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.

Overrides:
isNoResize in class Frame

setNoResize

public void setNoResize(boolean noResize)

Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.

Overrides:
setNoResize in class Frame
See Also:
isNoResize()

getWidth

public java.lang.String getWidth()

Defines the width of the iframe in pixels or as a percentage of it's container


setWidth

public void setWidth(java.lang.String width)

Defines the width of the iframe in pixels or as a percentage of it's container

See Also:
getWidth()

restoreState

public void restoreState(javax.faces.context.FacesContext _context,
                         java.lang.Object _state)

Restore the state of this component.

Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class Frame

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext _context)

Save the state of this component.

Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class Frame


Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.