org.richfaces.renderkit

## Class ClientSelectItem

- java.lang.Object
- - org.richfaces.renderkit.ClientSelectItem

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

      public final class ClientSelectItem
      extends Object
      implements org.richfaces.javascript.ScriptString

  Author:
    Brian Leathem

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientSelectItem(javax.faces.model.SelectItem selectItem, String convertedValue, String label, Integer sortOrder, boolean selected)`
    `ClientSelectItem(javax.faces.model.SelectItem selectItem, String convertedValue, String label, Integer sortOrder, boolean selected, String clientId)`
    `ClientSelectItem(javax.faces.model.SelectItem selectItem, String convertedValue, String label, String clientId)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendScript(Appendable target)`
    `void` | `appendScriptToStringBuilder(StringBuilder stringBuilder)`
    `String` | `getClientId()`
    `String` | `getConvertedValue()`
    `String` | `getLabel()`
    `javax.faces.model.SelectItem` | `getSelectItem()`
    `Integer` | `getSortOrder()`
    `boolean` | `isSelected()`
    `void` | `setClientId(String clientId)`
    `String` | `toScript()`

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

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

- - ### Constructor Detail

    - #### ClientSelectItem

          public ClientSelectItem(javax.faces.model.SelectItem selectItem,
                          String convertedValue,
                          String label,
                          String clientId)

    - #### ClientSelectItem

          public ClientSelectItem(javax.faces.model.SelectItem selectItem,
                          String convertedValue,
                          String label,
                          Integer sortOrder,
                          boolean selected)

    - #### ClientSelectItem

          public ClientSelectItem(javax.faces.model.SelectItem selectItem,
                          String convertedValue,
                          String label,
                          Integer sortOrder,
                          boolean selected,
                          String clientId)

  - ### Method Detail

    - #### getSelectItem

          public javax.faces.model.SelectItem getSelectItem()

    - #### getClientId

          public String getClientId()

    - #### setClientId

          public void setClientId(String clientId)

    - #### getLabel

          public String getLabel()

    - #### getConvertedValue

          public String getConvertedValue()

    - #### appendScript

          public void appendScript(Appendable target)
                            throws IOException

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

    - #### 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`

    - #### isSelected

          public boolean isSelected()

    - #### getSortOrder

          public Integer getSortOrder()

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