org.richfaces.renderkit

## Class AjaxFunction

- java.lang.Object
- - org.richfaces.javascript.ScriptStringBase
  - - org.richfaces.renderkit.AjaxFunction

- All Implemented Interfaces:
    org.richfaces.javascript.ScriptString

      public class AjaxFunction
      extends org.richfaces.javascript.ScriptStringBase

  Author:
    Nick Belaevski

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `FUNCTION_NAME`

    - ### Fields inherited from class org.richfaces.javascript.ScriptStringBase

      `COLON, COMMA, DOT, EMPTY_STRING, EQUALS, FUNCTION, LEFT_CURLY_BRACKET, LEFT_ROUND_BRACKET, LEFT_SQUARE_BRACKET, RIGHT_CURLY_BRACKET, RIGHT_ROUND_BRACKET, RIGHT_SQUARE_BRACKET`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AjaxFunction(Object source, AjaxOptions options)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendScript(Appendable target)`
    `Object` | `getEvent()`
    `AjaxOptions` | `getOptions()`
    `Object` | `getSource()`
    `void` | `setEvent(Object event)`
    `void` | `setOptions(AjaxOptions eventOptions)`
    `void` | `setSource(Object source)`

    - ### Methods inherited from class org.richfaces.javascript.ScriptStringBase

      `appendScriptToStringBuilder, toScript, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### FUNCTION_NAME

          public static final String FUNCTION_NAME

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### AjaxFunction

          public AjaxFunction(Object source,
                      AjaxOptions options)

  - ### Method Detail

    - #### getSource

          public Object getSource()

    - #### setSource

          public void setSource(Object source)

    - #### getEvent

          public Object getEvent()

    - #### setEvent

          public void setEvent(Object event)

    - #### getOptions

          public AjaxOptions getOptions()

    - #### setOptions

          public void setOptions(AjaxOptions eventOptions)

    - #### appendScript

          public void appendScript(Appendable target)
                            throws IOException

      Throws:
        `IOException`

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.