public class FwkToggleDialogPaneValue extends FwkDialogPaneValue
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
FwkToggleDialogPaneValue.ToggleValue
The class that defines the internal used values.
|
getHt, ident, propertyChange, setHt, version
Constructor and Description |
---|
FwkToggleDialogPaneValue()
The default construtor.
|
FwkToggleDialogPaneValue(java.lang.String ident,
java.util.AbstractMap map)
The default construtor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String key,
boolean value)
Add the key value pair to the hash map.
|
void |
add(java.lang.String textKey,
java.lang.String iconKey,
boolean value)
Add the key value pair to the hash map.
|
void |
clear()
Remove all keys.
|
java.lang.String[] |
get()
Retrieve all keys that are selected
|
java.lang.Boolean |
get(java.lang.String key)
Retrieves the boolean value belongs to the given key.
|
java.util.AbstractMap |
getMap()
Retrieves the text of the value separated by \n.
|
FwkToggleDialogPaneValue.ToggleValue |
remove(java.lang.String key)
Remove the given key from map.
|
void |
setMap(java.util.AbstractMap map)
Set the text string of the value.
|
addPropertyChangeListener, addPropertyChangeListener, entrySet, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getIdent, getProperties, getProperty, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, getVersion, isPropertyChangeEventSuspended, main, release, removePropertyChangeListener, removePropertyChangeListener, setIdent, setProperties, setProperty, setSource, suspendPropertyChangeEvents, toString
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
public FwkToggleDialogPaneValue()
public FwkToggleDialogPaneValue(java.lang.String ident, java.util.AbstractMap map)
public java.util.AbstractMap getMap()
public void setMap(java.util.AbstractMap map)
map
- The new map.public void add(java.lang.String key, boolean value)
key
- The value keyword. Will be used as Icon and Text key.toggle
- The toggle value.public void add(java.lang.String textKey, java.lang.String iconKey, boolean value)
key
- The value keyword. Will be used as Icon and Text key.toggle
- The toggle value.public java.lang.Boolean get(java.lang.String key)
key
- The value keyword. Will be used as Icon and Text key.public java.lang.String[] get()
public FwkToggleDialogPaneValue.ToggleValue remove(java.lang.String key)
key
- the key string.public void clear()
clear
in interface java.util.Map
clear
in class java.util.AbstractMap