|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil
public final class HtmlRendererUtil
Method Summary | |
---|---|
static void |
addAcceleratorKey(FacesContext facesContext,
java.lang.String func,
char key)
|
static void |
addAcceleratorKey(FacesContext facesContext,
java.lang.String func,
char key,
java.lang.String modifier)
|
static void |
addClickAcceleratorKey(FacesContext facesContext,
java.lang.String clientId,
char key)
|
static void |
addClickAcceleratorKey(FacesContext facesContext,
java.lang.String clientId,
char key,
java.lang.String modifier)
|
static void |
addCssClass(UIComponent component,
java.lang.String clazz)
Deprecated. Please use StyleClasses.ensureStyleClasses(component).add(clazz); |
static void |
addImageSources(FacesContext facesContext,
TobagoResponseWriter writer,
java.lang.String src,
java.lang.String id)
|
static void |
addMarkupClass(UIComponent component,
java.lang.String rendererName,
java.lang.String subComponent,
java.lang.StringBuilder tobagoClass)
Deprecated. Please use StyleClasses.addMarkupClass() |
static void |
addMarkupClass(UIComponent component,
java.lang.String rendererName,
StyleClasses classes)
Deprecated. Please use StyleClasses.addMarkupClass() |
static java.lang.String |
addTip(java.lang.String title,
java.lang.Object tip)
|
static java.lang.String |
createAcceleratorKeyJsStatement(java.lang.String func,
char key,
java.lang.String modifier)
|
static void |
createCssClass(FacesContext facesContext,
UIComponent component)
|
static void |
createHeaderAndBodyStyles(FacesContext facesContext,
UIComponent component)
|
static void |
createHeaderAndBodyStyles(FacesContext facesContext,
UIComponent component,
boolean width)
|
static java.lang.String |
createOnclickAcceleratorKeyJsStatement(java.lang.String clientId,
char key,
java.lang.String modifier)
|
static java.lang.String |
createSrc(java.lang.String src,
java.lang.String ext)
|
static void |
endJavascript(ResponseWriter writer)
Deprecated. use TobagoResponseWriter.writeJavascript() |
static java.lang.String |
getComponentId(FacesContext context,
UIComponent component,
java.lang.String componentId)
|
static java.lang.String |
getJavascriptArray(java.lang.String[] list)
|
static java.lang.String |
getJavascriptString(java.lang.String str)
|
static java.lang.String |
getLayoutSpaceStyle(UIComponent component)
|
static java.lang.String |
getRenderedPartiallyJavascriptArray(FacesContext facesContext,
UICommand command)
|
static java.lang.String |
getRendererName(FacesContext facesContext,
UIComponent component)
|
static java.lang.Integer |
getStyleAttributeIntValue(HtmlStyleMap style,
java.lang.String name)
|
static java.lang.String |
getStyleAttributeValue(java.lang.String style,
java.lang.String name)
|
static java.lang.String |
getTitleFromTipAndMessages(FacesContext facesContext,
UIComponent component)
|
static TobagoResponseWriter |
getTobagoResponseWriter(FacesContext facesContext)
|
static void |
layoutHeight(FacesContext facesContext,
UIComponent component)
|
static void |
layoutSpace(FacesContext facesContext,
UIComponent component,
boolean width)
|
static void |
layoutWidth(FacesContext facesContext,
UIComponent component)
|
static HtmlStyleMap |
prepareInnerStyle(UIComponent component)
|
static void |
prepareRender(FacesContext facesContext,
UIComponent component)
|
static java.lang.String |
removeStyleAttribute(java.lang.String style,
java.lang.String name)
Deprecated. |
static void |
removeStyleAttribute(UIComponent component,
java.lang.String name)
|
static void |
removeStyleClasses(UIComponent cell)
|
static void |
renderFocusId(FacesContext facesContext,
UIComponent component)
|
static void |
renderFocusId(FacesContext facesContext,
UIInput component)
|
static void |
renderImageTip(UIComponent component,
TobagoResponseWriter writer)
|
static void |
renderSelectItems(UIInput component,
java.util.List<SelectItem> items,
java.lang.Object[] values,
TobagoResponseWriter writer,
FacesContext facesContext)
|
static void |
renderTip(UIComponent component,
TobagoResponseWriter writer)
|
static java.lang.String |
replaceStyleAttribute(java.lang.String style,
java.lang.String name,
java.lang.String value)
Deprecated. |
static void |
replaceStyleAttribute(UIComponent component,
java.lang.String styleAttribute,
int value)
|
static void |
replaceStyleAttribute(UIComponent component,
java.lang.String styleAttribute,
java.lang.String value)
|
static void |
replaceStyleAttribute(UIComponent component,
java.lang.String attribute,
java.lang.String styleAttribute,
int value)
|
static void |
replaceStyleAttribute(UIComponent component,
java.lang.String attribute,
java.lang.String styleAttribute,
java.lang.String value)
|
static void |
setDefaultTransition(FacesContext facesContext,
boolean transition)
|
static void |
startJavascript(ResponseWriter writer)
Deprecated. use TobagoResponseWriter.writeJavascript() |
static java.lang.String |
toStyleString(java.lang.String key,
java.lang.Integer value)
|
static java.lang.String |
toStyleString(java.lang.String key,
java.lang.String value)
|
static void |
updateClassAttribute(java.lang.String cssClass,
java.lang.String rendererName,
UIComponent component)
Deprecated. Please use StyleClasses.ensureStyleClasses(component).updateClassAttribute(renderer, component); |
static void |
writeJavascript(ResponseWriter writer,
java.lang.String script)
Deprecated. use TobagoResponseWriter.writeJavascript() |
static void |
writeLabelWithAccessKey(TobagoResponseWriter writer,
LabelWithAccessKey label)
|
static void |
writeScriptLoader(FacesContext facesContext,
java.lang.String script)
|
static void |
writeScriptLoader(FacesContext facesContext,
java.lang.String[] scripts,
java.lang.String[] afterLoadCmds)
|
static void |
writeStyleLoader(FacesContext facesContext,
java.lang.String[] styles)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void renderFocusId(FacesContext facesContext, UIComponent component) throws java.io.IOException
java.io.IOException
public static void renderFocusId(FacesContext facesContext, UIInput component) throws java.io.IOException
java.io.IOException
public static void prepareRender(FacesContext facesContext, UIComponent component)
public static HtmlStyleMap prepareInnerStyle(UIComponent component)
public static void createCssClass(FacesContext facesContext, UIComponent component)
public static java.lang.String getRendererName(FacesContext facesContext, UIComponent component)
public static void writeLabelWithAccessKey(TobagoResponseWriter writer, LabelWithAccessKey label) throws java.io.IOException
java.io.IOException
public static void setDefaultTransition(FacesContext facesContext, boolean transition) throws java.io.IOException
java.io.IOException
public static void addClickAcceleratorKey(FacesContext facesContext, java.lang.String clientId, char key) throws java.io.IOException
java.io.IOException
public static void addClickAcceleratorKey(FacesContext facesContext, java.lang.String clientId, char key, java.lang.String modifier) throws java.io.IOException
java.io.IOException
public static void addAcceleratorKey(FacesContext facesContext, java.lang.String func, char key) throws java.io.IOException
java.io.IOException
public static void addAcceleratorKey(FacesContext facesContext, java.lang.String func, char key, java.lang.String modifier) throws java.io.IOException
java.io.IOException
public static java.lang.String createOnclickAcceleratorKeyJsStatement(java.lang.String clientId, char key, java.lang.String modifier)
public static java.lang.String createAcceleratorKeyJsStatement(java.lang.String func, char key, java.lang.String modifier)
public static java.lang.String getLayoutSpaceStyle(UIComponent component)
public static java.lang.Integer getStyleAttributeIntValue(HtmlStyleMap style, java.lang.String name)
public static java.lang.String getStyleAttributeValue(java.lang.String style, java.lang.String name)
public static void replaceStyleAttribute(UIComponent component, java.lang.String styleAttribute, java.lang.String value)
public static void replaceStyleAttribute(UIComponent component, java.lang.String attribute, java.lang.String styleAttribute, java.lang.String value)
public static void replaceStyleAttribute(UIComponent component, java.lang.String styleAttribute, int value)
public static void replaceStyleAttribute(UIComponent component, java.lang.String attribute, java.lang.String styleAttribute, int value)
public static java.lang.String replaceStyleAttribute(java.lang.String style, java.lang.String name, java.lang.String value)
public static java.lang.String removeStyleAttribute(java.lang.String style, java.lang.String name)
public static void removeStyleAttribute(UIComponent component, java.lang.String name)
@Deprecated public static void addCssClass(UIComponent component, java.lang.String clazz)
public static void layoutWidth(FacesContext facesContext, UIComponent component)
public static void layoutHeight(FacesContext facesContext, UIComponent component)
public static void layoutSpace(FacesContext facesContext, UIComponent component, boolean width)
public static void createHeaderAndBodyStyles(FacesContext facesContext, UIComponent component)
public static void createHeaderAndBodyStyles(FacesContext facesContext, UIComponent component, boolean width)
@Deprecated public static void updateClassAttribute(java.lang.String cssClass, java.lang.String rendererName, UIComponent component)
@Deprecated public static void addMarkupClass(UIComponent component, java.lang.String rendererName, java.lang.String subComponent, java.lang.StringBuilder tobagoClass)
@Deprecated public static void addMarkupClass(UIComponent component, java.lang.String rendererName, StyleClasses classes)
public static void addImageSources(FacesContext facesContext, TobagoResponseWriter writer, java.lang.String src, java.lang.String id) throws java.io.IOException
java.io.IOException
public static java.lang.String createSrc(java.lang.String src, java.lang.String ext)
public static TobagoResponseWriter getTobagoResponseWriter(FacesContext facesContext)
@Deprecated public static void writeJavascript(ResponseWriter writer, java.lang.String script) throws java.io.IOException
java.io.IOException
@Deprecated public static void startJavascript(ResponseWriter writer) throws java.io.IOException
java.io.IOException
@Deprecated public static void endJavascript(ResponseWriter writer) throws java.io.IOException
java.io.IOException
public static void writeScriptLoader(FacesContext facesContext, java.lang.String script) throws java.io.IOException
java.io.IOException
public static void writeScriptLoader(FacesContext facesContext, java.lang.String[] scripts, java.lang.String[] afterLoadCmds) throws java.io.IOException
java.io.IOException
public static void writeStyleLoader(FacesContext facesContext, java.lang.String[] styles) throws java.io.IOException
java.io.IOException
public static java.lang.String getTitleFromTipAndMessages(FacesContext facesContext, UIComponent component)
public static java.lang.String addTip(java.lang.String title, java.lang.Object tip)
public static void renderSelectItems(UIInput component, java.util.List<SelectItem> items, java.lang.Object[] values, TobagoResponseWriter writer, FacesContext facesContext) throws java.io.IOException
java.io.IOException
public static java.lang.String getComponentId(FacesContext context, UIComponent component, java.lang.String componentId)
public static java.lang.String toStyleString(java.lang.String key, java.lang.Integer value)
public static java.lang.String toStyleString(java.lang.String key, java.lang.String value)
public static void renderTip(UIComponent component, TobagoResponseWriter writer) throws java.io.IOException
java.io.IOException
public static void renderImageTip(UIComponent component, TobagoResponseWriter writer) throws java.io.IOException
java.io.IOException
public static java.lang.String getJavascriptString(java.lang.String str)
public static java.lang.String getRenderedPartiallyJavascriptArray(FacesContext facesContext, UICommand command)
public static java.lang.String getJavascriptArray(java.lang.String[] list)
public static void removeStyleClasses(UIComponent cell)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |