TV-Browser 3.3.3 API

util.settings
Class ChoiceProperty

java.lang.Object
  extended by util.settings.Property
      extended by util.settings.ChoiceProperty

public class ChoiceProperty
extends Property

Author:
Til Schneider, www.murfman.de

Constructor Summary
ChoiceProperty(PropertyManager manager, java.lang.String key, java.lang.String defaultValue, java.lang.String[] allowedValueArr)
           
 
Method Summary
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.3.3 API

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