|
||||||||||
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
javax.faces.component.UIOutput
com.sun.webui.jsf.component.WebuiOutput
com.sun.webui.jsf.component.Bubble
public class Bubble
The Bubble component is used to create a popup help window.
Field Summary |
---|
Fields inherited from class javax.faces.component.UIOutput |
---|
COMPONENT_FAMILY, COMPONENT_TYPE |
Constructor Summary | |
---|---|
Bubble()
Creates a new instance of Bubble |
Method Summary | |
---|---|
javax.faces.convert.Converter |
getConverter()
|
int |
getDuration()
Number of milli-seconds after which pop-up help window should close. |
java.lang.String |
getFamily()
Return the family for this component. |
java.lang.String |
getFocusId()
focusId is use to set the focus to the one of the elements inside bubble. |
java.lang.String |
getHtmlTemplate()
Get alternative HTML template to be used by this component. |
int |
getOpenDelay()
Use to put a delay in ms before opening the bubble. |
java.lang.String |
getRendererType()
|
java.lang.String |
getStyle()
CSS style or styles to be applied to the outermost HTML element when this component is rendered. |
java.lang.String |
getStyleClass()
CSS style class or classes to be applied to the outermost HTML element when this component is rendered. |
int |
getTabIndex()
This tabIndex value is used for making bubble component accessible. |
java.lang.String |
getTitle()
Title for the pop-up help window. |
java.lang.Object |
getValue()
|
int |
getWidth()
Number of pixels for the width of the bubble help window. |
boolean |
isAutoClose()
Use to close the bubble help automatically |
boolean |
isCloseButton()
Use to display close button for bubble. |
boolean |
isVisible()
Use to indicate whether the component should be viewable by the user in the rendered HTML page. |
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 |
setAutoClose(boolean autoClose)
Use to close the bubble help automatically |
void |
setCloseButton(boolean closeButton)
Use to display close button for bubble. |
void |
setDuration(int duration)
Number of milli-seconds after which pop-up help window should close. |
void |
setFocusId(java.lang.String focusId)
focusId is use to set the focus to the one of the elements inside bubble. |
void |
setHtmlTemplate(java.lang.String htmlTemplate)
Set alternative HTML template to be used by this component. |
void |
setOpenDelay(int openDelay)
Use to put a delay in ms before opening the bubble. |
void |
setStyle(java.lang.String style)
CSS style or styles to be applied to the outermost HTML element when this component is rendered. |
void |
setStyleClass(java.lang.String styleClass)
CSS style class or classes to be applied to the outermost HTML element when this component is rendered. |
void |
setTabIndex(int tabIndex)
This tabIndex value is used for making bubble component accessible. |
void |
setTitle(java.lang.String title)
Title for the bubble help window. |
void |
setVisible(boolean visible)
Use to indicate whether the component should be viewable by the user in the rendered HTML page. |
void |
setWidth(int width)
Number of pixels for the width of the popup help window. |
Methods inherited from class com.sun.webui.jsf.component.WebuiOutput |
---|
processDecodes, processUpdates, processValidators, setConverter, setId, setRendered |
Methods inherited from class javax.faces.component.UIOutput |
---|
getLocalValue, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, 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 Bubble()
Method Detail |
---|
public java.lang.String getFamily()
Return the family for this component.
getFamily
in class javax.faces.component.UIOutput
public java.lang.String getRendererType()
getRendererType
in class javax.faces.component.UIComponentBase
public java.lang.String getHtmlTemplate()
public void setHtmlTemplate(java.lang.String htmlTemplate)
public java.lang.Object getValue()
getValue
in interface javax.faces.component.ValueHolder
getValue
in class javax.faces.component.UIOutput
public javax.faces.convert.Converter getConverter()
getConverter
in interface javax.faces.component.ValueHolder
getConverter
in class javax.faces.component.UIOutput
public java.lang.String getStyle()
CSS style or styles to be applied to the outermost HTML element when this component is rendered.
public void setStyle(java.lang.String style)
CSS style or styles to be applied to the outermost HTML element when this component is rendered.
getStyle()
public java.lang.String getStyleClass()
CSS style class or classes to be applied to the outermost HTML element when this component is rendered.
public void setStyleClass(java.lang.String styleClass)
CSS style class or classes to be applied to the outermost HTML element when this component is rendered.
getStyleClass()
public boolean isVisible()
Use 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 false, so HTML for the component HTML is included and not visible to the user. If the component is not visible, it can still be processed on subsequent form submissions because the HTML is present.
public void setVisible(boolean visible)
Use 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 false, so HTML for the component HTML is included and not visible to the user. If the component is not visible, it can still be processed on subsequent form submissions because the HTML is present.
isVisible()
public boolean isAutoClose()
Use to close the bubble help automatically
public void setAutoClose(boolean autoClose)
Use to close the bubble help automatically
isVisible()
public boolean isCloseButton()
Use to display close button for bubble.
public void setCloseButton(boolean closeButton)
Use to display close button for bubble.
isVisible()
public int getOpenDelay()
Use to put a delay in ms before opening the bubble.
public void setOpenDelay(int openDelay)
Use to put a delay in ms before opening the bubble.
public int getWidth()
Number of pixels for the width of the bubble help window.
public void setWidth(int width)
Number of pixels for the width of the popup help window.
getWidth()
public int getDuration()
Number of milli-seconds after which pop-up help window should close. The default is 2000 milliseconds.
public void setDuration(int duration)
Number of milli-seconds after which pop-up help window should close. The default is 2000 milliseconds.
getDuration()
public java.lang.String getTitle()
Title for the pop-up help window.
public void setTitle(java.lang.String title)
Title for the bubble help window.
getTitle()
public java.lang.String getFocusId()
focusId is use to set the focus to the one of the elements inside bubble. By default focus is set to bubble header.
public void setFocusId(java.lang.String focusId)
focusId is use to set the focus to the one of the elements inside bubble. By default focus is set to bubble header.
getFocusId()
public int getTabIndex()
This tabIndex value is used for making bubble component accessible. The value must be one higher than the last tabIndex value provided to the bubble body element.
public void setTabIndex(int tabIndex)
This tabIndex value is used for making bubble component accessible. The value must be one higher than the last tabIndex value provided to the bubble body element.
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.UIOutput
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.UIOutput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |