Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.component.html
Class HtmlJQuery

    java.lang.Object
      javax.faces.component.UIComponent
          javax.faces.component.UIComponentBase
              org.richfaces.component.UIJQuery
                  org.richfaces.component.html.HtmlJQuery

All Implemented Interfaces:
  javax.faces.component.StateHolder

    public class HtmlJQuery

extends UIJQuery

Component-Type org.richfaces.JQuery Component-Family org.richfaces.JQuery Renderer-Type org.richfaces.JQueryRenderer It presents the google map in JSF applications

Field Summary
`static java.lang.String` | `COMPONENT_FAMILY`
`static java.lang.String` | `COMPONENT_TYPE`

Constructor Summary
`HtmlJQuery()` Constructor to init default renderers

Method Summary
`java.lang.String` | `getFamily()`
`java.lang.String` | `getName()` The name of a function that will be generated to execute a query.
`java.lang.String` | `getQuery()` The query string that is executed for a given selector.
`java.lang.String` | `getSelector()` Selector for query.
`java.lang.String` | `getTiming()` The attribute that defines when to perform the query.
`void` | `restoreState(javax.faces.context.FacesContext context, java.lang.Object state)`
`java.lang.Object` | `saveState(javax.faces.context.FacesContext context)`
`void` | `setName(java.lang.String __name)` The name of a function that will be generated to execute a query.
`void` | `setQuery(java.lang.String __query)` The query string that is executed for a given selector.
`void` | `setSelector(java.lang.String __selector)` Selector for query.
`void` | `setTiming(java.lang.String __timing)` The attribute that defines when to perform the query.

Methods inherited from class javax.faces.component.UIComponentBase
`addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### COMPONENT_TYPE

    public static final java.lang.String COMPONENT_TYPE

See Also:
  Constant Field Values

### COMPONENT_FAMILY

    public static final java.lang.String COMPONENT_FAMILY

See Also:
  Constant Field Values

Constructor Detail

### HtmlJQuery

    public HtmlJQuery()

  Constructor to init default renderers

Method Detail

### setName

    public void setName(java.lang.String __name)

  The name of a function that will be generated to execute a query. The "name" attribute is required if "timing" attribute equals to "onJScall" Setter for name

  Parameters:
    `name` - - new value

### getName

    public java.lang.String getName()

  The name of a function that will be generated to execute a query. The "name" attribute is required if "timing" attribute equals to "onJScall" Getter for name

  Returns:
    name value from local variable or value bindings

### setQuery

    public void setQuery(java.lang.String __query)

  The query string that is executed for a given selector. Setter for query

  Parameters:
    `query` - - new value

### getQuery

    public java.lang.String getQuery()

  The query string that is executed for a given selector. Getter for query

  Returns:
    query value from local variable or value bindings

### setSelector

    public void setSelector(java.lang.String __selector)

  Selector for query. The "selector" attribute uses defined by w3c consortium syntax for CSS rule selector with some jQuery extensions. Setter for selector

  Parameters:
    `selector` - - new value

### getSelector

    public java.lang.String getSelector()

  Selector for query. The "selector" attribute uses defined by w3c consortium syntax for CSS rule selector with some jQuery extensions. Getter for selector

  Returns:
    selector value from local variable or value bindings

### setTiming

    public void setTiming(java.lang.String __timing)

  The attribute that defines when to perform the query. The possible values are "immediate","onload" and "onJScall". "immediate" performs the query right away. "onload" adds the task to the time when a document is loaded (the DOM tree is created). "onJScall" allows to invoke the query by Javascipt function name defined with "name" attribute. The default value is "immediate". Setter for timing

  Parameters:
    `timing` - - new value

### getTiming

    public java.lang.String getTiming()

  The attribute that defines when to perform the query. The possible values are "immediate","onload" and "onJScall". "immediate" performs the query right away. "onload" adds the task to the time when a document is loaded (the DOM tree is created). "onJScall" allows to invoke the query by Javascipt function name defined with "name" attribute. The default value is "immediate". Getter for timing

  Returns:
    timing value from local variable or value bindings

### getFamily

    public java.lang.String getFamily()

  Specified by:
    `getFamily` in class `javax.faces.component.UIComponent`

### saveState

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

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

### restoreState

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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008. All Rights Reserved.