util.settings

## Class ChoiceProperty

- java.lang.Object
- - util.settings.Property
  - - util.settings.ChoiceProperty

-     public class ChoiceProperty
      extends Property

  Author:
    Til Schneider, www.murfman.de

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ChoiceProperty(PropertyManager manager, java.lang.String key, java.lang.String defaultValue, java.lang.String[] allowedValueArr)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `clearCache()`
    `java.lang.String` | `getDefault()`
    `java.lang.String` | `getString()`
    `boolean` | `isAllowed(java.lang.String value)`
    `void` | `setString(java.lang.String value)`

    - ### Methods inherited from class util.settings.Property

      `addChangeListener, fireChangeEvent, getKey, getProperty, removeChangeListener, setProperty`

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

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

- - ### Constructor Detail

    - #### ChoiceProperty

          public ChoiceProperty(PropertyManager manager,
                        java.lang.String key,
                        java.lang.String defaultValue,
                        java.lang.String[] allowedValueArr)

  - ### Method Detail

    - #### getDefault

          public java.lang.String getDefault()

    - #### getString

          public java.lang.String getString()

    - #### setString

          public void setString(java.lang.String value)

    - #### clearCache

          protected void clearCache()

      Specified by:
        `clearCache` in class `Property`

    - #### isAllowed

          public boolean isAllowed(java.lang.String value)

TV-Browser 3.4.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)