|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafUtils
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtils
@Deprecated public class XhtmlLafUtils
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.trinidadinternal.ui.laf.base.BaseLafUtils |
|---|
CHAR_UNDEFINED |
| Constructor Summary | |
|---|---|
protected |
XhtmlLafUtils()
Deprecated. |
| Method Summary | |
|---|---|
static void |
addLib(UIXRenderingContext context,
java.lang.Object libKey)
Deprecated. Adds an import of a Javascript library if necessary. |
static void |
addOnSubmitRequiredValidator(UIXRenderingContext context,
UINode node,
java.lang.String requiredMessageKey,
java.lang.Object nodeName)
Deprecated. |
static void |
copyAttr(UIXRenderingContext context,
UINode sourceNode,
AttributeKey attrKey,
MutableUINode destNode)
Deprecated. Copies an attribute from a source node to a destination UINode |
static java.lang.String |
createCompoundName(UIXRenderingContext context,
java.lang.String formName,
java.lang.Object keyValues)
Deprecated. |
static java.lang.String |
createCompoundName(UIXRenderingContext context,
java.lang.String formName,
java.lang.Object keyValues,
java.lang.Object keyExchanges)
Deprecated. |
static java.lang.String |
encodeJSEventObject(UIXRenderingContext context,
java.lang.String formName,
java.util.Iterator<java.lang.Object> keyValues,
int keyValueSize)
Deprecated. Encodes an Iterator key value pairs as a single Javascript Object initializer, creating any needed form values. |
static java.lang.String |
encodeJSEventObject(UIXRenderingContext context,
java.lang.String formName,
java.lang.Object[] keyValues)
Deprecated. Encodes an Iterator key value pairs as a single Javascript Object initializer, creating any needed form values. |
static void |
endRenderingStyleElements(UIXRenderingContext context)
Deprecated. Closes any tags started by startRenderingStyleElements |
static java.lang.String |
escapeJS(java.lang.String inString)
Deprecated. Handle escaping '/', and single quotes, plus escaping text inside of quotes with just a String for input. |
static java.lang.String |
escapeJS(java.lang.String inString,
boolean inQuotes)
Deprecated. Handle escaping '/', and single quotes, plus escaping text inside of quotes with just a String for input. |
static void |
escapeJS(java.lang.StringBuilder outBuffer,
java.lang.String inString)
Deprecated. Handle escaping '/', and single quotes, plus escaping text inside of quotes. |
static void |
escapeJS(java.lang.StringBuilder outBuffer,
java.lang.String inString,
boolean inQuotes)
Deprecated. Handle escaping '/', and single quotes, plus escaping text inside of quotes. |
static void |
escapeJS(java.lang.StringBuilder outBuffer,
java.lang.String inString,
boolean inQuotes,
int escapeCount)
Deprecated. Handle escaping '/', and single quotes, plus escaping text inside of quotes. |
static java.lang.Object |
getChainedJS(java.lang.Object evh1,
java.lang.Object evh2,
boolean shortCircuit)
Deprecated. Return the chained JavaScript |
static CoreStyle |
getClassStyle(UIXRenderingContext context,
java.lang.Object className)
Deprecated. Resolves the class name to the appropriate Style object |
static java.lang.String |
getClassStyleProperty(UIXRenderingContext context,
java.lang.Object className,
java.lang.String propertyName)
Deprecated. Resolves the class name to the appropriate Style object, then get a property from the Style |
static java.lang.String |
getFirePartialChangeHandler(java.lang.String destination)
Deprecated. Returns a String value which can be used as the onclick handler for an element which fires partial change events. |
static java.lang.String |
getFormEncodedParameter(FormEncoder formEncoder,
java.lang.Object formName,
java.lang.Object transName,
java.lang.Object value)
Deprecated. Encodes a client parameter using the supplied transformed name for the specified form. |
static java.lang.Object |
getFormEncodedValue(UIXRenderingContext context,
java.lang.Object transName,
java.lang.Object value)
Deprecated. Encodes a form value using the supplied transformed name for the currently scoped form. |
static java.lang.String |
getFullPageSubmitScript(java.lang.String formName,
java.lang.String validate,
java.lang.String event,
java.lang.String sourceParam)
Deprecated. This method returns a script for submitting the page. |
static java.lang.Object |
getMiddleIconAlignment(UIXRenderingContext context)
Deprecated. Returns the valign vAlign value for aligning image icons vertically with text on the same line. |
static java.lang.String |
getPartialPageSubmitScript(java.lang.String formName,
java.lang.String validate,
java.lang.String partialTargets,
java.lang.String event,
java.lang.String sourceParam)
Deprecated. This method returns a script for submitting a PPR request. |
static java.lang.String[] |
getPartialTargets(UIXRenderingContext context,
UINode node)
Deprecated. Returns the partial targets associated with the specified node |
static java.lang.String[] |
getPartialTargets(UIXRenderingContext context,
UINode node,
java.lang.Object id)
Deprecated. Returns the partial targets associated with the specified node, including the specified ID. |
static java.lang.Object |
getShortStyleClass(UIXRenderingContext context,
java.lang.Object styleClass)
Deprecated. Returns the short version of the specified style class. |
static java.lang.String |
getStyleProperty(CoreStyle style1,
CoreStyle style2,
java.lang.String stylePropertyName)
Deprecated. Returns the value of a style property asking Style1 and then Style2, if Style1 doesn't return a value. |
static boolean |
isReadOnly(UIXRenderingContext context,
UINode node)
Deprecated. Return true if readOnly attribute exists and set to true |
static java.lang.String |
mapVerticalAlignToVAlign(UIXRenderingContext context,
java.lang.String verticalAlign)
Deprecated. Returns the mapping of a css vertical-align to a valign attribute value. |
static void |
registerScriptlet(java.lang.Object key,
Scriptlet scriptlet)
Deprecated. Registers a scriptlet. |
static void |
renderIcon(UIXRenderingContext context,
org.apache.myfaces.trinidad.skin.Icon icon,
java.lang.Object shortDesc,
java.lang.Object align)
Deprecated. Renders the specified Icon with the provided attributes. |
static void |
renderIcon(UIXRenderingContext context,
org.apache.myfaces.trinidad.skin.Icon icon,
java.lang.Object shortDesc,
java.lang.Object align,
boolean embedded)
Deprecated. Renders the specified Icon with the provided attributes. |
static void |
startRenderingStyleElements(UIXRenderingContext context,
CoreStyle inlineStyle,
CoreStyle classStyle)
Deprecated. Renders the combination of inline and class style attributes as elements |
static boolean |
supportsTransparentImages(UIXRenderingContext context)
Deprecated. Returns true if the agent supports transparent images. |
static void |
writeLibImport(UIXRenderingContext context,
java.lang.Object libURL)
Deprecated. Write out a script element importing a library. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XhtmlLafUtils()
| Method Detail |
|---|
public static void copyAttr(UIXRenderingContext context,
UINode sourceNode,
AttributeKey attrKey,
MutableUINode destNode)
public static void registerScriptlet(java.lang.Object key,
Scriptlet scriptlet)
public static java.lang.String encodeJSEventObject(UIXRenderingContext context,
java.lang.String formName,
java.util.Iterator<java.lang.Object> keyValues,
int keyValueSize)
public static java.lang.String encodeJSEventObject(UIXRenderingContext context,
java.lang.String formName,
java.lang.Object[] keyValues)
public static CoreStyle getClassStyle(UIXRenderingContext context,
java.lang.Object className)
public static java.lang.String getClassStyleProperty(UIXRenderingContext context,
java.lang.Object className,
java.lang.String propertyName)
public static java.lang.Object getShortStyleClass(UIXRenderingContext context,
java.lang.Object styleClass)
public static java.lang.String mapVerticalAlignToVAlign(UIXRenderingContext context,
java.lang.String verticalAlign)
public static void endRenderingStyleElements(UIXRenderingContext context)
throws java.io.IOException
java.io.IOException
public static void startRenderingStyleElements(UIXRenderingContext context,
CoreStyle inlineStyle,
CoreStyle classStyle)
throws java.io.IOException
java.io.IOException
public static java.lang.String getStyleProperty(CoreStyle style1,
CoreStyle style2,
java.lang.String stylePropertyName)
public static java.lang.String createCompoundName(UIXRenderingContext context,
java.lang.String formName,
java.lang.Object keyValues)
public static java.lang.String createCompoundName(UIXRenderingContext context,
java.lang.String formName,
java.lang.Object keyValues,
java.lang.Object keyExchanges)
public static java.lang.Object getChainedJS(java.lang.Object evh1,
java.lang.Object evh2,
boolean shortCircuit)
public static java.lang.String escapeJS(java.lang.String inString)
public static java.lang.String escapeJS(java.lang.String inString,
boolean inQuotes)
public static void escapeJS(java.lang.StringBuilder outBuffer,
java.lang.String inString)
public static void escapeJS(java.lang.StringBuilder outBuffer,
java.lang.String inString,
boolean inQuotes)
public static void escapeJS(java.lang.StringBuilder outBuffer,
java.lang.String inString,
boolean inQuotes,
int escapeCount)
public static void addOnSubmitRequiredValidator(UIXRenderingContext context,
UINode node,
java.lang.String requiredMessageKey,
java.lang.Object nodeName)
throws java.io.IOException
java.io.IOException
public static void addLib(UIXRenderingContext context,
java.lang.Object libKey)
throws java.io.IOException
java.io.IOException
public static void writeLibImport(UIXRenderingContext context,
java.lang.Object libURL)
throws java.io.IOException
java.io.IOException
public static java.lang.String[] getPartialTargets(UIXRenderingContext context,
UINode node)
public static java.lang.String[] getPartialTargets(UIXRenderingContext context,
UINode node,
java.lang.Object id)
public static java.lang.String getFirePartialChangeHandler(java.lang.String destination)
destination - The destination URL, which contains any
event information, including the partialTargets parameter.public static boolean supportsTransparentImages(UIXRenderingContext context)
public static void renderIcon(UIXRenderingContext context,
org.apache.myfaces.trinidad.skin.Icon icon,
java.lang.Object shortDesc,
java.lang.Object align)
throws java.io.IOException
java.io.IOException
public static void renderIcon(UIXRenderingContext context,
org.apache.myfaces.trinidad.skin.Icon icon,
java.lang.Object shortDesc,
java.lang.Object align,
boolean embedded)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.Object getMiddleIconAlignment(UIXRenderingContext context)
public static java.lang.Object getFormEncodedValue(UIXRenderingContext context,
java.lang.Object transName,
java.lang.Object value)
public static java.lang.String getFormEncodedParameter(FormEncoder formEncoder,
java.lang.Object formName,
java.lang.Object transName,
java.lang.Object value)
public static boolean isReadOnly(UIXRenderingContext context,
UINode node)
public static java.lang.String getPartialPageSubmitScript(java.lang.String formName,
java.lang.String validate,
java.lang.String partialTargets,
java.lang.String event,
java.lang.String sourceParam)
formName - the form namevalidate - indicates whether to validate the form during PPRpartialTargets - the components to be refreshed during PPRevent - represents the event created by the component requesting PPRsourceParam - id of the the component requesting PPR
public static java.lang.String getFullPageSubmitScript(java.lang.String formName,
java.lang.String validate,
java.lang.String event,
java.lang.String sourceParam)
formName - the form namevalidate - indicates whether to validate the formevent - represents the event created by the submitting componentsourceParam - id of the the submitting component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||