org.richfaces.javascript

## Class DnDScript

- java.lang.Object
- - org.richfaces.javascript.DnDScript

- All Implemented Interfaces:
    org.richfaces.javascript.ScriptString, org.richfaces.javascript.ScriptWithDependencies, org.richfaces.resource.ResourceLibrary
  Direct Known Subclasses:
    DragScript, DropScript

      public abstract class DnDScript
      extends Object
      implements org.richfaces.javascript.ScriptWithDependencies

  Author:
    abelevich

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DnDScript(String name)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendScript(Appendable target)`
    `void` | `appendScriptToStringBuilder(StringBuilder stringBuilder)`
    `boolean` | `equals(Object obj)`
    `Set<org.richfaces.resource.ResourceKey>` | `getBaseResources()`
    `int` | `hashCode()`
    `String` | `toScript()`

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

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.richfaces.resource.ResourceLibrary

      `getResources`

- - ### Constructor Detail

    - #### DnDScript

          public DnDScript(String name)

  - ### Method Detail

    - #### getBaseResources

          public Set<org.richfaces.resource.ResourceKey> getBaseResources()

    - #### appendScriptToStringBuilder

          public void appendScriptToStringBuilder(StringBuilder stringBuilder)

      Specified by:
        `appendScriptToStringBuilder` in interface `org.richfaces.javascript.ScriptString`

    - #### toScript

          public String toScript()

      Specified by:
        `toScript` in interface `org.richfaces.javascript.ScriptString`

    - #### appendScript

          public void appendScript(Appendable target)
                            throws IOException

      Specified by:
        `appendScript` in interface `org.richfaces.javascript.ScriptString`
      Throws:
        `IOException`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

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