|
||||||||||
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.ThemeLinks
public class ThemeLinks
The ThemeLicnks component is used to create references to theme resources on a page in a portlet environment, where the Head component cannot be used.
Constructor Summary | |
---|---|
ThemeLinks()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getFamily()
Return the family for this component. |
java.lang.String |
getOnLoad()
Get a function to be called after the DOM has finished loading and widgets declared in markup have been instantiated. |
boolean |
isDebug()
Test flag indicating that debugging is enabled. |
boolean |
isDijitAll()
Deprecated. Dojo is no longer included in the page. |
boolean |
isJavaScript()
Test flag indicating that component JavaScript should be output in page. |
boolean |
isJsfx()
Test flag indicating to include JSF Extensions. |
boolean |
isParseOnLoad()
Test flag indicating to parse HTML markup. |
boolean |
isStyleSheet()
If set to true, a link element with a reference to the theme stylesheet resource is rendered. |
boolean |
isStyleSheetInline()
Deprecated. Not well supported by browsers. |
boolean |
isStyleSheetLink()
Deprecated. Use isStyleSheet |
boolean |
isWebuiAjax()
Test flag indicating to include default Ajax functionality. |
boolean |
isWebuiAll()
Test flag indicating to include all webui functionality. |
boolean |
isWebuiJsfx()
Deprecated. Use webuiAjax |
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 |
setDebug(boolean debug)
Set flag indicating that debugging is enabled. |
void |
setDijitAll(boolean dijitAll)
Deprecated. Dojo is no longer included in the page. |
void |
setId(java.lang.String id)
The component identifier for this component. |
void |
setJavaScript(boolean javaScript)
Flag (true or false) indicating that component and third party JavaScript should be output in page. |
void |
setJsfx(boolean jsfx)
Set flag indicating to include JSF Extensions. |
void |
setOnLoad(java.lang.String onLoad)
Register a function to be called after the DOM has finished loading and widgets declared in markup have been instantiated. |
void |
setParseOnLoad(boolean parseOnLoad)
Set flag indicating to parse HTML markup. |
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 |
setStyleSheet(boolean styleSheet)
If set to true, a link element with a reference to the theme stylesheet resource is rendered. |
void |
setStyleSheetInline(boolean styleSheetInline)
Deprecated. Not well supported by browsers. |
void |
setStyleSheetLink(boolean styleSheetLink)
Deprecated. Use setStyleSheet |
void |
setWebuiAjax(boolean webuiAjax)
Set flag indicating to include default Ajax functionality. |
void |
setWebuiAll(boolean webuiAll)
Flag indicating to include all webui functionality. |
void |
setWebuiJsfx(boolean webuiJsfx)
Deprecated. Use setWebuiAjax |
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 ThemeLinks()
Method Detail |
---|
public java.lang.String getFamily()
Return the family for this component.
getFamily
in class javax.faces.component.UIComponent
public boolean isStyleSheetLink()
public void setStyleSheetLink(boolean styleSheetLink)
styleSheetLink
- New value of property styleSheetLink.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 isDebug()
public void setDebug(boolean debug)
public boolean isDijitAll()
public void setDijitAll(boolean dijitAll)
public boolean isJavaScript()
public void setJavaScript(boolean javaScript)
public boolean isJsfx()
public void setJsfx(boolean jsfx)
public java.lang.String getOnLoad()
public void setOnLoad(java.lang.String onLoad)
public boolean isParseOnLoad()
public void setParseOnLoad(boolean parseOnLoad)
public boolean isStyleSheet()
If set to true, a link element with a reference to the theme stylesheet resource is rendered.
public void setStyleSheet(boolean styleSheet)
If set to true, a link element with a reference to the theme stylesheet resource is rendered.
isStyleSheet()
public boolean isStyleSheetInline()
If set to true, the theme stylesheet contents will be rendered inline instead of being linked to.
public void setStyleSheetInline(boolean styleSheetInline)
If set to true, the theme stylesheet contents will be rendered inline instead of being linked to.
isStyleSheetInline()
public boolean isWebuiAll()
public void setWebuiAll(boolean webuiAll)
public boolean isWebuiJsfx()
For better performance, Ajax functionality is not included in the page by default. Ajax features will continue to function, but additional requests are lazily generated to retrieve JavaScript resources as needed, including JSF Extensions. Set the webuiJsfx property to true to include JavaScript resources when the page is loaded, using a single request. Use this feature in combination with the webuiAll property to include all tag library functionality.
public void setWebuiJsfx(boolean webuiJsfx)
public boolean isWebuiAjax()
public void setWebuiAjax(boolean webuiAjax)
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 |