Overview  Package   Class  Tree  Index 

be.lassi.preferences
Interface Preferences

All Known Implementing Classes:
ArtNetPreferences, ConnectionPreferences, DefaultPreferences, DisplayPreferences, LogOptions, MidiPreferences, MonitorPreferences, PatchPreferences, SheetPreferences, ShowParameters, StartParameters

public interface Preferences

Collection with key value pairs that express user preferences (program options).


Method Summary
 java.lang.Object get(java.lang.String key)
          Gets the value of the preference with give name.
 java.lang.String getDescription()
          Gets a textual description of of the purpose of this preferences collection.
 java.util.List<java.lang.String> getKeys()
          Gets the preference keys.
 java.lang.String getName()
          Gets the name of this preferences collection.
 void set(Preferences other)
          Copies given preferences to this preferences.
 void set(java.lang.String key, java.lang.Object value)
          Sets the value of the preference with given name.
 

Method Detail

get

java.lang.Object get(java.lang.String key)
Gets the value of the preference with give name.

Parameters:
key - the preference name
Returns:
the preference value

getDescription

java.lang.String getDescription()
Gets a textual description of of the purpose of this preferences collection.

Returns:
textual description of preferences

getKeys

java.util.List<java.lang.String> getKeys()
Gets the preference keys.

Returns:
the preference keys

getName

java.lang.String getName()
Gets the name of this preferences collection.

Returns:
the preferences collection name

set

void set(Preferences other)
Copies given preferences to this preferences.

Parameters:
other - preferences to be copied to this preferences

set

void set(java.lang.String key,
         java.lang.Object value)
Sets the value of the preference with given name.

Parameters:
key - the preference name
value - the preference value

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2