public class StringArrayProperty extends Property
Constructor and Description |
---|
StringArrayProperty(PropertyManager manager,
String key,
String[] defaultValue)
Creates the StringArray
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(String str)
Add a String to the Array
|
protected void |
clearCache()
Clear the Cache
|
boolean |
containsItem(String str)
Tests if this Array contains a specific String
|
String[] |
getDefault()
The Default-Value
|
String[] |
getStringArray()
Get the StringArray
|
void |
removeItem(String str)
Remove a String
|
void |
setStringArray(String[] value)
Set the StringArray
|
String |
toString()
Returns the String
|
addChangeListener, fireChangeEvent, getKey, getProperty, removeChangeListener, setProperty
public StringArrayProperty(PropertyManager manager, String key, String[] defaultValue)
manager
- Managerkey
- Key for this PropertydefaultValue
- the Default-Valuepublic String[] getDefault()
public boolean containsItem(String str)
str
- String to testpublic void removeItem(String str)
str
- String to removepublic void addItem(String str)
str
- String to addpublic String[] getStringArray()
public void setStringArray(String[] value)
value
- new StringArrayprotected void clearCache()
clearCache
in class Property
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)