applications.proxy.utils
Class PhatClientPreferences

applications.proxy.utils.GenericPreferences
  |
  +--applications.proxy.utils.PhatClientPreferences

public class PhatClientPreferences
extends GenericPreferences

Description of the Class

Author:
nideffer
created October 4, 2001

Field Summary
 (package private) final static StringATTRIBUTE_RETRIEVAL_URL
           
 (package private) final static StringCONFIGURATION_AUDIO_CLIP_TAG_NAME
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_DURATION_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_FILENAME_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_LOOP_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_MAX_KEY_VALUE_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_MIN_KEY_VALUE_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_START_DELAY_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_TAG_NAME
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_TRAIT_KEY_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_INSTANCE_WEIGHT_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_NAME_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_SOUND_TAG_NAME
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_DESCRIPTION_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_MAX_KEY_VALUE_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_MIN_KEY_VALUE_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_TAG_NAME
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_TRAIT_KEY_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_WEIGHT_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_NAME_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_EVENT_TRAIT_DESCRIPTION_TAG_NAME
           
 (package private) final static StringCONFIGURATION_SOUND_FILENAME_ATTRIBUTE
           
 (package private) final static StringCONFIGURATION_SOUND_NAME_ATTRIBUTE
           
 (package private) final static intDEFAULT_MAX_EXPORTABLE_ITEMS
           
 (package private) final static longDEFAULT_MONITOR_INTERVAL
           
 (package private) final static StringDEFAULT_MOO_CONNECT_KEY_TEXT
           
 (package private) final static StringDEFAULT_MOO_HOST
           
 (package private) final static intDEFAULT_MOO_HOST_PORT
           
 (package private) final static StringGL4JAVA_INSTALLED_TAG_NAME
           
 final static StringKEYBOARD_EVENT_PREFIX
           
 private static Mapm_eventSounds
           
 private static Mapm_eventTraitDescriptions
           
 static booleanm_gl4javaEnabled
           
 private static intm_maxExportableItems
           
 (package private) static longm_monitorInterval
           
 (package private) static Collectionm_mooConnectKeyTexts
           
 (package private) static Collectionm_mooGuestAccounts
           
 (package private) static Stringm_mooHostName
           
 (package private) static intm_mooHostPort
           
 (package private) static MonteCarloCollectionm_rejectionTexts
           
 (package private) static doublem_rejectionThreshold
           
 private static Mapm_sounds
           
 (package private) final static StringMAX_EXPORTABLE_ITEMS_TAG_NAME
           
 (package private) final static StringMONITOR_INTERVAL_TAG_NAME
           
 (package private) final static StringMOO_CONNECT_KEY_TEXT_TAG_NAME
           
 (package private) final static StringMOO_EXPORT_SETTINGS_TAG_NAME
           
 (package private) final static StringMOO_GUEST_ACCOUNT_TAG_NAME
           
 (package private) final static StringMOO_HOST_NAME_ATTRIBUTE
           
 (package private) final static StringMOO_HOST_PORT_ATTRIBUTE
           
 (package private) final static StringMOO_TAG_NAME
           
 (package private) final static StringPHAT_CLIENT_AUDIO_GROUP_ID
           
 (package private) final static StringREJECTION_TEXT_TAG_NAME
           
 (package private) final static StringREJECTION_VALUE_ATTRIBUTE
           
 (package private) final static StringREJECTIONS_TAG_NAME
           

Method Summary
 static StringgetAttributeRetrievalUrl()
          Gets the AttributeRetrievalUrl attribute of the PhatClientPreferences class
 static EventSoundgetEventSound(String soundName)
          Gets the EventSound attribute of the PhatClientPreferences class
 static EventTraitDescriptiongetEventTraitDescription(String traitDescriptionName)
          Gets the EventTraitDescription attribute of the PhatClientPreferences class
 static booleangetGl4javaEnabled()
          Gets the Gl4javaEnabled attribute of the PhatClientPreferences class
 static CollectiongetKeyboardEventSoundCollection(String key)
          Gets the KeyboardEventSoundCollection attribute of the PhatClientPreferences class
 static intgetMaxExportableItems()
          Gets the MaxExportableItems attribute of the PhatClientPreferences class
 static longgetMonitorInterval()
          Gets the MonitorInterval attribute of the PhatClientPreferences class
 static CollectiongetMooConnectKeyTexts()
          Gets the MooConnectKeyTexts attribute of the PhatClientPreferences class
 static CollectiongetMooGuestAccounts()
          Gets the MooGuestAccounts attribute of the PhatClientPreferences class
 static StringgetMooHostName()
          Gets the MooHostName attribute of the PhatClientPreferences class
 static intgetMooHostPort()
          Gets the MooHostPort attribute of the PhatClientPreferences class
 static MonteCarloCollectiongetRejectionTexts()
          Gets the RejectionTexts attribute of the PhatClientPreferences class
 static doublegetRejectionThreshold()
          Gets the RejectionThreshold attribute of the PhatClientPreferences class
 static AudioClipgetSound(String soundName)
          Gets the Sound attribute of the PhatClientPreferences class
 static voidloadPreferences(String preferencesFilename)
          Description of the Method
 (package private) static voidreadConfigurationFile(String configurationFilename)
          Description of the Method
 static voidsetGl4javaEnabled(boolean gl4javaEnabled)
          Sets the Gl4javaEnabled attribute of the PhatClientPreferences class
 protected static voidsetMaxExportableItems(int maxExportableItems)
          Sets the MaxExportableItems attribute of the PhatClientPreferences class
 static voidsetMonitorInterval(long monitorInterval)
          Sets the MonitorInterval attribute of the PhatClientPreferences class
 protected static voidsetRejectionThreshold(double d)
          Sets the RejectionThreshold attribute of the PhatClientPreferences class

Methods inherited from class applications.proxy.utils.GenericPreferences
parseColor, parseColorComponent, parseFont, parseLineBorder

Field Detail

ATTRIBUTE_RETRIEVAL_URL

final static String ATTRIBUTE_RETRIEVAL_URL

CONFIGURATION_AUDIO_CLIP_TAG_NAME

final static String CONFIGURATION_AUDIO_CLIP_TAG_NAME

CONFIGURATION_EVENT_SOUND_INSTANCE_DURATION_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_DURATION_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_FILENAME_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_FILENAME_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_LOOP_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_LOOP_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_MAX_KEY_VALUE_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_MAX_KEY_VALUE_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_MIN_KEY_VALUE_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_MIN_KEY_VALUE_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_START_DELAY_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_START_DELAY_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_TAG_NAME

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_TAG_NAME

CONFIGURATION_EVENT_SOUND_INSTANCE_TRAIT_KEY_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_TRAIT_KEY_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_INSTANCE_WEIGHT_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_INSTANCE_WEIGHT_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_NAME_ATTRIBUTE

final static String CONFIGURATION_EVENT_SOUND_NAME_ATTRIBUTE

CONFIGURATION_EVENT_SOUND_TAG_NAME

final static String CONFIGURATION_EVENT_SOUND_TAG_NAME

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_DESCRIPTION_ATTRIBUTE

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_DESCRIPTION_ATTRIBUTE

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_MAX_KEY_VALUE_ATTRIBUTE

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_MAX_KEY_VALUE_ATTRIBUTE

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_MIN_KEY_VALUE_ATTRIBUTE

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_MIN_KEY_VALUE_ATTRIBUTE

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_TAG_NAME

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_TAG_NAME

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_TRAIT_KEY_ATTRIBUTE

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_TRAIT_KEY_ATTRIBUTE

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_WEIGHT_ATTRIBUTE

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_INSTANCE_WEIGHT_ATTRIBUTE

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_NAME_ATTRIBUTE

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_NAME_ATTRIBUTE

CONFIGURATION_EVENT_TRAIT_DESCRIPTION_TAG_NAME

final static String CONFIGURATION_EVENT_TRAIT_DESCRIPTION_TAG_NAME

CONFIGURATION_SOUND_FILENAME_ATTRIBUTE

final static String CONFIGURATION_SOUND_FILENAME_ATTRIBUTE

CONFIGURATION_SOUND_NAME_ATTRIBUTE

final static String CONFIGURATION_SOUND_NAME_ATTRIBUTE

DEFAULT_MAX_EXPORTABLE_ITEMS

final static int DEFAULT_MAX_EXPORTABLE_ITEMS

DEFAULT_MONITOR_INTERVAL

final static long DEFAULT_MONITOR_INTERVAL

DEFAULT_MOO_CONNECT_KEY_TEXT

final static String DEFAULT_MOO_CONNECT_KEY_TEXT

DEFAULT_MOO_HOST

final static String DEFAULT_MOO_HOST

DEFAULT_MOO_HOST_PORT

final static int DEFAULT_MOO_HOST_PORT

GL4JAVA_INSTALLED_TAG_NAME

final static String GL4JAVA_INSTALLED_TAG_NAME

KEYBOARD_EVENT_PREFIX

public final static String KEYBOARD_EVENT_PREFIX

m_eventSounds

private static Map m_eventSounds

m_eventTraitDescriptions

private static Map m_eventTraitDescriptions

m_gl4javaEnabled

public static boolean m_gl4javaEnabled

m_maxExportableItems

private static int m_maxExportableItems

m_monitorInterval

static long m_monitorInterval

m_mooConnectKeyTexts

static Collection m_mooConnectKeyTexts

m_mooGuestAccounts

static Collection m_mooGuestAccounts

m_mooHostName

static String m_mooHostName

m_mooHostPort

static int m_mooHostPort

m_rejectionTexts

static MonteCarloCollection m_rejectionTexts

m_rejectionThreshold

static double m_rejectionThreshold

m_sounds

private static Map m_sounds

MAX_EXPORTABLE_ITEMS_TAG_NAME

final static String MAX_EXPORTABLE_ITEMS_TAG_NAME

MONITOR_INTERVAL_TAG_NAME

final static String MONITOR_INTERVAL_TAG_NAME

MOO_CONNECT_KEY_TEXT_TAG_NAME

final static String MOO_CONNECT_KEY_TEXT_TAG_NAME

MOO_EXPORT_SETTINGS_TAG_NAME

final static String MOO_EXPORT_SETTINGS_TAG_NAME

MOO_GUEST_ACCOUNT_TAG_NAME

final static String MOO_GUEST_ACCOUNT_TAG_NAME

MOO_HOST_NAME_ATTRIBUTE

final static String MOO_HOST_NAME_ATTRIBUTE

MOO_HOST_PORT_ATTRIBUTE

final static String MOO_HOST_PORT_ATTRIBUTE

MOO_TAG_NAME

final static String MOO_TAG_NAME

PHAT_CLIENT_AUDIO_GROUP_ID

final static String PHAT_CLIENT_AUDIO_GROUP_ID

REJECTION_TEXT_TAG_NAME

final static String REJECTION_TEXT_TAG_NAME

REJECTION_VALUE_ATTRIBUTE

final static String REJECTION_VALUE_ATTRIBUTE

REJECTIONS_TAG_NAME

final static String REJECTIONS_TAG_NAME
Method Detail

getAttributeRetrievalUrl

public static String getAttributeRetrievalUrl()
Gets the AttributeRetrievalUrl attribute of the PhatClientPreferences class
Returns: The AttributeRetrievalUrl value
Since:

getEventSound

public static EventSound getEventSound(String soundName)
Gets the EventSound attribute of the PhatClientPreferences class
Parameters:
soundName - Description of Parameter
Returns: The EventSound value
Since:

getEventTraitDescription

public static EventTraitDescription getEventTraitDescription(String traitDescriptionName)
Gets the EventTraitDescription attribute of the PhatClientPreferences class
Parameters:
traitDescriptionName - Description of Parameter
Returns: The EventTraitDescription value
Since:

getGl4javaEnabled

public static boolean getGl4javaEnabled()
Gets the Gl4javaEnabled attribute of the PhatClientPreferences class
Returns: The Gl4javaEnabled value
Since:

getKeyboardEventSoundCollection

public static Collection getKeyboardEventSoundCollection(String key)
Gets the KeyboardEventSoundCollection attribute of the PhatClientPreferences class
Parameters:
key - Description of Parameter
Returns: The KeyboardEventSoundCollection value
Since:

getMaxExportableItems

public static int getMaxExportableItems()
Gets the MaxExportableItems attribute of the PhatClientPreferences class
Returns: The MaxExportableItems value
Since:

getMonitorInterval

public static long getMonitorInterval()
Gets the MonitorInterval attribute of the PhatClientPreferences class
Returns: The MonitorInterval value
Since:

getMooConnectKeyTexts

public static Collection getMooConnectKeyTexts()
Gets the MooConnectKeyTexts attribute of the PhatClientPreferences class
Returns: The MooConnectKeyTexts value
Since:

getMooGuestAccounts

public static Collection getMooGuestAccounts()
Gets the MooGuestAccounts attribute of the PhatClientPreferences class
Returns: The MooGuestAccounts value
Since:

getMooHostName

public static String getMooHostName()
Gets the MooHostName attribute of the PhatClientPreferences class
Returns: The MooHostName value
Since:

getMooHostPort

public static int getMooHostPort()
Gets the MooHostPort attribute of the PhatClientPreferences class
Returns: The MooHostPort value
Since:

getRejectionTexts

public static MonteCarloCollection getRejectionTexts()
Gets the RejectionTexts attribute of the PhatClientPreferences class
Returns: The RejectionTexts value
Since:

getRejectionThreshold

public static double getRejectionThreshold()
Gets the RejectionThreshold attribute of the PhatClientPreferences class
Returns: The RejectionThreshold value
Since:

getSound

public static AudioClip getSound(String soundName)
Gets the Sound attribute of the PhatClientPreferences class
Parameters:
soundName - Description of Parameter
Returns: The Sound value
Since:

loadPreferences

public static void loadPreferences(String preferencesFilename)
Description of the Method
Parameters:
preferencesFilename - Description of Parameter
Since:

readConfigurationFile

static void readConfigurationFile(String configurationFilename)
Description of the Method
Parameters:
configurationFilename - Description of Parameter
Since:

setGl4javaEnabled

public static void setGl4javaEnabled(boolean gl4javaEnabled)
Sets the Gl4javaEnabled attribute of the PhatClientPreferences class
Parameters:
gl4javaEnabled - The new Gl4javaEnabled value
Since:

setMaxExportableItems

protected static void setMaxExportableItems(int maxExportableItems)
Sets the MaxExportableItems attribute of the PhatClientPreferences class
Parameters:
maxExportableItems - The new MaxExportableItems value
Since:

setMonitorInterval

public static void setMonitorInterval(long monitorInterval)
Sets the MonitorInterval attribute of the PhatClientPreferences class
Parameters:
monitorInterval - The new MonitorInterval value
Since:

setRejectionThreshold

protected static void setRejectionThreshold(double d)
Sets the RejectionThreshold attribute of the PhatClientPreferences class
Parameters:
d - The new RejectionThreshold value
Since: