|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class CVWPreferences

java.lang.Objectorg.mitre.cvw.CVWPreferences
- public class CVWPreferences
- extends java.lang.Object
This class processes all user preferences whether stored locally on the user's workstation or on the CVW server. Note that the preferences stored on the CVW server are instance vars, whereas the preferences stored locally are part of a java.util.Properties instance.
- Version:
- 1.0
| Field Summary | |
static int |
BLUE
|
static int |
CYAN
|
static int |
GREEN
|
(package private) int |
highlightComm
|
(package private) int |
highlightName
|
(package private) int |
highlightPubComm
|
(package private) java.util.LinkedList |
hilightObjects
|
(package private) java.lang.String |
idleMsg
|
(package private) boolean |
localTimeZone
|
static int |
MAGENTA
|
static int |
NOCOLOR
|
static int |
ORANGE
|
(package private) NPDocServer |
plugin
|
(package private) java.lang.String |
prefFile
|
(package private) java.util.Properties |
prefProps
|
(package private) java.lang.String |
prefVersion
|
static int |
PURPLE
|
(package private) static java.util.Hashtable |
rangeTable
|
static int |
RED
|
(package private) boolean |
timeStamp
|
(package private) int |
videoMaxBandwidth
|
static int |
YELLOW
|
| Constructor Summary | |
(package private) |
CVWPreferences()
Constructor |
| Method Summary | |
void |
clearPrefFile()
Closes the current file and removes the current preference file. |
CVWPreferences |
copy()
Copies the current instance and returns a copy. |
void |
debugHiLightObjs()
|
static java.awt.Rectangle |
getAudioDefaultSize()
Returns the default audio tool size. |
java.lang.String |
getAudioEncoding()
Gets the audio encoding value. |
java.lang.String |
getAudioEncodingString()
Gets the audio encoding value as needed by the audio tool. |
java.lang.String |
getAudioGeometry()
Gets the geometry of the audio window as a string. |
java.lang.String |
getAudioMicVol()
Gets the audio microphone volume value. |
boolean |
getAudioShow()
Returns whether the audio tool should be opened on connect. |
java.awt.Rectangle |
getAudioSize()
Returns the size location of the audio tool. |
java.lang.String |
getAudioSpeakerVol()
Gets the audio speaker volume value. |
java.lang.String |
getAudioTTLMulticast()
Gets the audio multicast ttl volume value. |
java.lang.String |
getAudioTTLUnicast()
Gets the audio unicast ttl value. |
java.awt.Rectangle |
getAVSize(java.lang.String toolType)
Returns the size location of an av tool given the type. |
boolean |
getCarryShow()
Returns whether the carry folder window should be opened on connect. |
java.awt.Rectangle |
getCarrySize()
Returns the preferred size and location of the carry folder window, if none, then a default size and location. |
boolean |
getChangeMainSize()
Returns whether the main window should shrink/grow when panels are hidden/shown |
boolean |
getContentsShow()
Returns whether the room contents panel should be visible on connect. |
static java.awt.Rectangle |
getDefaultSize(java.lang.String toolType)
Returns the default window size/location of either the audio or video tool. |
java.awt.Color |
getHiLightColorForUser(java.lang.String objNum)
|
HiLightObject |
getHiLightObject(int index)
hi light accessor methods |
private java.lang.String |
getHiParmString(java.util.LinkedList hiObjs)
|
int |
getMainDefaultCmd()
Returns which default command to use for main window |
java.awt.Rectangle |
getMainSize()
Returns the preferred size and location of the main window, if none, then a default size and location. |
boolean |
getMapShow()
Returns whether the proxy window should be opened on connect. |
java.awt.Rectangle |
getMapSize()
Returns the preferred size and location of the map window, if none, then a default size and location. |
int |
getMaxValue(java.lang.String fieldName)
Returns the maximum value given a field name. |
int |
getMinValue(java.lang.String fieldName)
Returns the minimum value given a field name. |
boolean |
getOnlineShow()
Returns whether the online users window should be opened on connect. |
java.awt.Rectangle |
getOnlineSize()
Returns the preferred size and location of the online users window, if none, then a default size and location. |
private boolean |
getPropBooleanValue(java.lang.String prop,
java.lang.String def)
Converts the boolean value of a property value which is a string representation. |
int |
getProxyDefaultCmd()
Returns which default command to use for proxy window |
static java.awt.Rectangle |
getProxyDefaultSize()
Returns the default Proxy window size. |
boolean |
getProxyShow()
Returns whether the proxy window should be opened on connect. |
java.awt.Rectangle |
getProxySize()
Returns the preferred size and location of the proxy window, if none, then a default size and location. |
boolean |
getProxyStatusBarShow()
Returns whether the status bar of the proxy window should be visible on connect. |
boolean |
getProxyToolbarShow()
Returns whether the toolbar panel of the proxy window should be visible on connect. |
boolean |
getProxyUsersShow()
Returns whether the users panel of the proxy window should be visible on connect. |
java.awt.Rectangle |
getRectFromProps(java.lang.String prop,
java.awt.Rectangle defaultR)
Converts a string representing a rectangle to an instance of a rectangle. |
boolean |
getStatusBarShow()
Returns whether the status bar should be visible on connect. |
java.lang.String |
getStringFromRect(java.awt.Rectangle r)
Converts a java.awt.Rectangle to a string representation. |
static java.awt.Color |
getSystemColor(int value)
Returns the java.awt.Color given an integer |
boolean |
getTextOrderPref()
Returns whether to use emacs commands in cmd entry area |
boolean |
getToolbarShow()
Returns whether the toolbar panel should be visible on connect. |
boolean |
getUsersShow()
Returns whether the users panel should be visible on connect. |
java.lang.String |
getVideoBandwidth()
Returns the video Bandwidth value. |
static java.awt.Rectangle |
getVideoDefaultSize()
Returns the default video tool size. |
java.lang.String |
getVideoEncoding()
Returns the video encoding value. |
java.lang.String |
getVideoEncodingString()
Returns the video encoding string as needed by the video tool. |
java.lang.String |
getVideoFrameRate()
Returns the video FrameRate value. |
java.lang.String |
getVideoGeometry()
Gets the geometry of the video window as a string. |
int |
getVideoMaxBandwidth()
Returns the video max bandwidth value. |
boolean |
getVideoShow()
Returns whether the video tool should be opened on connect. |
java.awt.Rectangle |
getVideoSize()
Returns the size location of the video tool. |
java.lang.String |
getVideoTTLMulticast()
Returns the video TTL Multicast value. |
java.lang.String |
getVideoTTLUnicast()
Returns the video TTL Unicast value. |
void |
init()
Initialized the current user's system preferences by reading it from a file. |
void |
initRangeTable()
Initializes a hashtable to store the min and max values, mostly for av tool values. |
void |
readPrefProperties()
Reads the local preferences using the standared load properties method. |
boolean |
readV3PrefFromFile()
Reads the older version (Version 3) of the property file and converts it to the new format using java.util.Properties. |
void |
saveLocalPrefs(CVWPreferences newPrefs)
Saves the user preferences to the local workstation and points to the new properties as the user preferences. |
void |
savePrefs(CVWPreferences newPrefs)
Saves the new preferences for the user. |
void |
saveServerPrefs(CVWPreferences newPrefs)
Sends the new preference values to the CVW server. |
void |
setAudioEncoding(java.lang.String enc)
Sets the audio speaker volume value. |
void |
setAudioMicVol(java.lang.String vol)
Sets the audio microphone volume value. |
void |
setAudioRTP(boolean b)
Sets whether the rtp should be used for audio |
void |
setAudioShow(boolean b)
Sets whether the audio tool should be opened on connect. |
void |
setAudioSpeakers(java.lang.String type)
Returns sets either speakers or headset |
void |
setAudioSpeakerVol(java.lang.String vol)
Sets the audio speaker volume value. |
void |
setAudioTTLMulticast(java.lang.String ttl)
Sets the audio ttl multicast value. |
void |
setAudioTTLUnicast(java.lang.String ttl)
Sets the audio ttl unicast value. |
void |
setAVSize(java.lang.String toolType,
java.awt.Rectangle newSize)
Sets the size & location of an av tool given the type. |
void |
setCarryShow(boolean b)
Sets whether the carry folder window should be opened on connect. |
void |
setCarrySize(java.awt.Rectangle newSize)
Sets the preferred size and location of the carry folder window. |
void |
setChangeMainSize(boolean b)
Sets whether the main window should shrink/grow when panels are hidden/shown |
void |
setContentsShow(boolean b)
Sets whether the room contents panel should be visible on connect. |
void |
setEmacsCmds(boolean b)
Sets whether to use emacs commands in cmd entry area |
void |
setLocalTimeZone(boolean b)
Sets whether to use local time zone |
void |
setMainDefaultCmd(int i)
Sets the default cvw command for main window |
void |
setMainSize(java.awt.Rectangle newSize)
Sets the preferred size and location of the main window. |
void |
setMapShow(boolean b)
Sets whether the map window should be opened on connect. |
void |
setMapSize(java.awt.Rectangle newSize)
Sets the preferred size and location of the map window. |
void |
setOnlineShow(boolean b)
Sets whether the online users window should be opened on connect. |
void |
setOnlineSize(java.awt.Rectangle newSize)
Sets the preferred size and location of the online users window. |
private void |
setPropBooleanValue(java.lang.String prop,
boolean b)
Sets the property value to the converted boolean string |
void |
setProxyDefaultCmd(int i)
Sets the default cvw command for proxy window |
void |
setProxyShow(boolean b)
Sets whether the proxy window should be opened on connect. |
void |
setProxySize(java.awt.Rectangle newSize)
Sets the preferred size and location of the proxy window. |
void |
setProxyStatusBarShow(boolean b)
Sets whether the status bar of the proxy window should be visible on connect. |
void |
setProxyToolbarShow(boolean b)
Sets whether the toolbar panel of the proxy window should be visible on connect. |
void |
setProxyUsersShow(boolean b)
Sets whether the users panel of the proxy window should be visible on connect. |
void |
setStatusBarShow(boolean b)
Sets whether the status bar should be visible on connect. |
void |
setToolbarShow(boolean b)
Sets whether the toolbar panel should be visible on connect. |
void |
setUsersShow(boolean b)
Sets whether the users panel should be visible on connect. |
void |
setVideoBandwidth(java.lang.String w)
Sets the video bandwidth value |
void |
setVideoEncoding(java.lang.String enc)
Sets the video encoding value |
void |
setVideoFrameRate(java.lang.String enc)
Sets the video frame rate value |
void |
setVideoMaxBandwidth(java.lang.String max)
Sets the max video bandwidth value |
void |
setVideoShow(boolean b)
Sets whether the video tool should be opened on connect. |
void |
setVideoTTLMulticast(java.lang.String ttl)
Sets the video ttl multicast value |
void |
setVideoTTLUnicast(java.lang.String ttl)
Sets the video ttl unicast value |
void |
update(java.lang.String hiName,
java.lang.String hiComm,
java.lang.String hiPubComm,
java.lang.String hiObjs,
java.lang.String hiObjColors,
java.lang.String tStamp,
java.lang.String iMsg)
Invoked when the CVW server sends the preferences of the user stored on the server MCP receive cvw-preferences |
boolean |
useAudioRTP()
Returns whether to use RTP for audio |
boolean |
useAudioSpeakers()
Returns whether to speakers rather than headsets |
boolean |
useEmacsCmds()
Returns whether to use emacs commands in cmd entry area |
boolean |
useLocalTimeZone()
Returns whether to use local time zone |
boolean |
validRange(int value,
java.lang.String fieldName)
Checks to see if the given value falls in the numeric range for the specified field. |
void |
writePrefsToFile()
Writes the current values store in the Properties table. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
NOCOLOR
public static final int NOCOLOR
- See Also:
- Constant Field Values
RED
public static final int RED
- See Also:
- Constant Field Values
GREEN
public static final int GREEN
- See Also:
- Constant Field Values
BLUE
public static final int BLUE
- See Also:
- Constant Field Values
PURPLE
public static final int PURPLE
- See Also:
- Constant Field Values
ORANGE
public static final int ORANGE
- See Also:
- Constant Field Values
YELLOW
public static final int YELLOW
- See Also:
- Constant Field Values
MAGENTA
public static final int MAGENTA
- See Also:
- Constant Field Values
CYAN
public static final int CYAN
- See Also:
- Constant Field Values
idleMsg
java.lang.String idleMsg
timeStamp
boolean timeStamp
localTimeZone
boolean localTimeZone
prefVersion
java.lang.String prefVersion
videoMaxBandwidth
int videoMaxBandwidth
rangeTable
static java.util.Hashtable rangeTable
highlightName
int highlightName
highlightComm
int highlightComm
highlightPubComm
int highlightPubComm
hilightObjects
java.util.LinkedList hilightObjects
prefFile
java.lang.String prefFile
plugin
NPDocServer plugin
prefProps
java.util.Properties prefProps
| Constructor Detail |
CVWPreferences
CVWPreferences()
- Constructor
| Method Detail |
getSystemColor
public static java.awt.Color getSystemColor(int value)
- Returns the java.awt.Color given an integer
getDefaultSize
public static java.awt.Rectangle getDefaultSize(java.lang.String toolType)
- Returns the default window size/location of either the audio or
video tool. Missed named.
getAudioDefaultSize
public static java.awt.Rectangle getAudioDefaultSize()
- Returns the default audio tool size.
getVideoDefaultSize
public static java.awt.Rectangle getVideoDefaultSize()
- Returns the default video tool size.
getProxyDefaultSize
public static java.awt.Rectangle getProxyDefaultSize()
- Returns the default Proxy window size.
init
public void init()
- Initialized the current user's system preferences by reading it from a file.
If an old version is detected, it is read in, converted to java.util.Properties,
the old file is deleted and then a new format is written.
getHiLightObject
public HiLightObject getHiLightObject(int index)
- hi light accessor methods
getHiLightColorForUser
public java.awt.Color getHiLightColorForUser(java.lang.String objNum)
getVideoEncodingString
public java.lang.String getVideoEncodingString()
- Returns the video encoding string as needed by the video tool.
getVideoEncoding
public java.lang.String getVideoEncoding()
- Returns the video encoding value.
getVideoTTLMulticast
public java.lang.String getVideoTTLMulticast()
- Returns the video TTL Multicast value.
getVideoTTLUnicast
public java.lang.String getVideoTTLUnicast()
- Returns the video TTL Unicast value.
getVideoFrameRate
public java.lang.String getVideoFrameRate()
- Returns the video FrameRate value.
getVideoBandwidth
public java.lang.String getVideoBandwidth()
- Returns the video Bandwidth value.
getVideoMaxBandwidth
public int getVideoMaxBandwidth()
- Returns the video max bandwidth value.
setVideoEncoding
public void setVideoEncoding(java.lang.String enc)
- Sets the video encoding value
setVideoTTLMulticast
public void setVideoTTLMulticast(java.lang.String ttl)
- Sets the video ttl multicast value
setVideoTTLUnicast
public void setVideoTTLUnicast(java.lang.String ttl)
- Sets the video ttl unicast value
setVideoFrameRate
public void setVideoFrameRate(java.lang.String enc)
- Sets the video frame rate value
setVideoBandwidth
public void setVideoBandwidth(java.lang.String w)
- Sets the video bandwidth value
setVideoMaxBandwidth
public void setVideoMaxBandwidth(java.lang.String max)
- Sets the max video bandwidth value
getAudioEncoding
public java.lang.String getAudioEncoding()
- Gets the audio encoding value.
getAudioEncodingString
public java.lang.String getAudioEncodingString()
- Gets the audio encoding value as needed by the audio tool.
getAudioTTLMulticast
public java.lang.String getAudioTTLMulticast()
- Gets the audio multicast ttl volume value.
getAudioTTLUnicast
public java.lang.String getAudioTTLUnicast()
- Gets the audio unicast ttl value.
getAudioMicVol
public java.lang.String getAudioMicVol()
- Gets the audio microphone volume value.
getAudioSpeakerVol
public java.lang.String getAudioSpeakerVol()
- Gets the audio speaker volume value.
setAudioEncoding
public void setAudioEncoding(java.lang.String enc)
- Sets the audio speaker volume value.
setAudioTTLMulticast
public void setAudioTTLMulticast(java.lang.String ttl)
- Sets the audio ttl multicast value.
setAudioTTLUnicast
public void setAudioTTLUnicast(java.lang.String ttl)
- Sets the audio ttl unicast value.
setAudioMicVol
public void setAudioMicVol(java.lang.String vol)
- Sets the audio microphone volume value.
setAudioSpeakerVol
public void setAudioSpeakerVol(java.lang.String vol)
- Sets the audio speaker volume value.
useAudioRTP
public boolean useAudioRTP()
- Returns whether to use RTP for audio
setAudioRTP
public void setAudioRTP(boolean b)
- Sets whether the rtp should be used for audio
useLocalTimeZone
public boolean useLocalTimeZone()
- Returns whether to use local time zone
setLocalTimeZone
public void setLocalTimeZone(boolean b)
- Sets whether to use local time zone
useEmacsCmds
public boolean useEmacsCmds()
- Returns whether to use emacs commands in cmd entry area
setEmacsCmds
public void setEmacsCmds(boolean b)
- Sets whether to use emacs commands in cmd entry area
getTextOrderPref
public boolean getTextOrderPref()
- Returns whether to use emacs commands in cmd entry area
useAudioSpeakers
public boolean useAudioSpeakers()
- Returns whether to speakers rather than headsets
setAudioSpeakers
public void setAudioSpeakers(java.lang.String type)
- Returns sets either speakers or headset
getAVSize
public java.awt.Rectangle getAVSize(java.lang.String toolType)
- Returns the size location of an av tool given the type.
getVideoSize
public java.awt.Rectangle getVideoSize()
- Returns the size location of the video tool.
getAudioSize
public java.awt.Rectangle getAudioSize()
- Returns the size location of the audio tool.
setAVSize
public void setAVSize(java.lang.String toolType, java.awt.Rectangle newSize)
- Sets the size & location of an av tool given the type.
getVideoGeometry
public java.lang.String getVideoGeometry()
- Gets the geometry of the video window as a string. Specifically built for
the vic video tool.
getAudioGeometry
public java.lang.String getAudioGeometry()
- Gets the geometry of the audio window as a string. Specifically built for
the vat video tool.
getMainDefaultCmd
public int getMainDefaultCmd()
- Returns which default command to use for main window
setMainDefaultCmd
public void setMainDefaultCmd(int i)
- Sets the default cvw command for main window
getProxyDefaultCmd
public int getProxyDefaultCmd()
- Returns which default command to use for proxy window
setProxyDefaultCmd
public void setProxyDefaultCmd(int i)
- Sets the default cvw command for proxy window
getMapSize
public java.awt.Rectangle getMapSize()
- Returns the preferred size and location of the map window, if none,
then a default size and location.
setMapSize
public void setMapSize(java.awt.Rectangle newSize)
- Sets the preferred size and location of the map window.
getCarrySize
public java.awt.Rectangle getCarrySize()
- Returns the preferred size and location of the carry folder window, if none,
then a default size and location.
setCarrySize
public void setCarrySize(java.awt.Rectangle newSize)
- Sets the preferred size and location of the carry folder window.
getProxySize
public java.awt.Rectangle getProxySize()
- Returns the preferred size and location of the proxy window, if none,
then a default size and location.
setProxySize
public void setProxySize(java.awt.Rectangle newSize)
- Sets the preferred size and location of the proxy window.
getMainSize
public java.awt.Rectangle getMainSize()
- Returns the preferred size and location of the main window, if none,
then a default size and location.
setMainSize
public void setMainSize(java.awt.Rectangle newSize)
- Sets the preferred size and location of the main window.
getChangeMainSize
public boolean getChangeMainSize()
- Returns whether the main window should shrink/grow when panels are hidden/shown
setChangeMainSize
public void setChangeMainSize(boolean b)
- Sets whether the main window should shrink/grow when panels are hidden/shown
getOnlineSize
public java.awt.Rectangle getOnlineSize()
- Returns the preferred size and location of the online users window, if none,
then a default size and location.
setOnlineSize
public void setOnlineSize(java.awt.Rectangle newSize)
- Sets the preferred size and location of the online users window.
getAudioShow
public boolean getAudioShow()
- Returns whether the audio tool should be opened on connect.
setAudioShow
public void setAudioShow(boolean b)
- Sets whether the audio tool should be opened on connect.
getVideoShow
public boolean getVideoShow()
- Returns whether the video tool should be opened on connect.
setVideoShow
public void setVideoShow(boolean b)
- Sets whether the video tool should be opened on connect.
getProxyShow
public boolean getProxyShow()
- Returns whether the proxy window should be opened on connect.
setProxyShow
public void setProxyShow(boolean b)
- Sets whether the proxy window should be opened on connect.
getMapShow
public boolean getMapShow()
- Returns whether the proxy window should be opened on connect.
setMapShow
public void setMapShow(boolean b)
- Sets whether the map window should be opened on connect.
getOnlineShow
public boolean getOnlineShow()
- Returns whether the online users window should be opened on connect.
setOnlineShow
public void setOnlineShow(boolean b)
- Sets whether the online users window should be opened on connect.
getCarryShow
public boolean getCarryShow()
- Returns whether the carry folder window should be opened on connect.
setCarryShow
public void setCarryShow(boolean b)
- Sets whether the carry folder window should be opened on connect.
getUsersShow
public boolean getUsersShow()
- Returns whether the users panel should be visible on connect.
setUsersShow
public void setUsersShow(boolean b)
- Sets whether the users panel should be visible on connect.
getToolbarShow
public boolean getToolbarShow()
- Returns whether the toolbar panel should be visible on connect.
setToolbarShow
public void setToolbarShow(boolean b)
- Sets whether the toolbar panel should be visible on connect.
getStatusBarShow
public boolean getStatusBarShow()
- Returns whether the status bar should be visible on connect.
setStatusBarShow
public void setStatusBarShow(boolean b)
- Sets whether the status bar should be visible on connect.
getContentsShow
public boolean getContentsShow()
- Returns whether the room contents panel should be visible on connect.
setContentsShow
public void setContentsShow(boolean b)
- Sets whether the room contents panel should be visible on connect.
getPropBooleanValue
private boolean getPropBooleanValue(java.lang.String prop, java.lang.String def)
- Converts the boolean value of a property value which is a string representation.
setPropBooleanValue
private void setPropBooleanValue(java.lang.String prop, boolean b)
- Sets the property value to the converted boolean string
getProxyUsersShow
public boolean getProxyUsersShow()
- Returns whether the users panel of the proxy window should be visible on connect.
setProxyUsersShow
public void setProxyUsersShow(boolean b)
- Sets whether the users panel of the proxy window should be visible on connect.
getProxyToolbarShow
public boolean getProxyToolbarShow()
- Returns whether the toolbar panel of the proxy window should be visible on connect.
setProxyToolbarShow
public void setProxyToolbarShow(boolean b)
- Sets whether the toolbar panel of the proxy window should be visible on connect.
getProxyStatusBarShow
public boolean getProxyStatusBarShow()
- Returns whether the status bar of the proxy window should be visible on connect.
setProxyStatusBarShow
public void setProxyStatusBarShow(boolean b)
- Sets whether the status bar of the proxy window should be visible on connect.
getRectFromProps
public java.awt.Rectangle getRectFromProps(java.lang.String prop, java.awt.Rectangle defaultR)
- Converts a string representing a rectangle to an instance of a rectangle.
The stored format is
x.y.w.h
getStringFromRect
public java.lang.String getStringFromRect(java.awt.Rectangle r)
- Converts a java.awt.Rectangle to a string representation.
The stored format is
x.y.w.h
initRangeTable
public void initRangeTable()
- Initializes a hashtable to store the min and max values, mostly for
av tool values.
getMinValue
public int getMinValue(java.lang.String fieldName)
- Returns the minimum value given a field name.
getMaxValue
public int getMaxValue(java.lang.String fieldName)
- Returns the maximum value given a field name.
validRange
public boolean validRange(int value,
java.lang.String fieldName)
- Checks to see if the given value falls in the numeric range for the
specified field.
copy
public CVWPreferences copy()
- Copies the current instance and returns a copy.
Note that the preferences stored on the CVW server are instance vars, whereas
the preferences stored locally are part of a java.util.Properties instance.
update
public void update(java.lang.String hiName, java.lang.String hiComm, java.lang.String hiPubComm, java.lang.String hiObjs, java.lang.String hiObjColors, java.lang.String tStamp, java.lang.String iMsg)
- Invoked when the CVW server sends the preferences of the user stored on the server
MCP receive cvw-preferences
savePrefs
public void savePrefs(CVWPreferences newPrefs)
- Saves the new preferences for the user.
saveServerPrefs
public void saveServerPrefs(CVWPreferences newPrefs)
- Sends the new preference values to the CVW server.
MCP send cvw-preferences-set
getHiParmString
private java.lang.String getHiParmString(java.util.LinkedList hiObjs)
debugHiLightObjs
public void debugHiLightObjs()
saveLocalPrefs
public void saveLocalPrefs(CVWPreferences newPrefs)
- Saves the user preferences to the local workstation and points to the new
properties as the user preferences.
readPrefProperties
public void readPrefProperties()
- Reads the local preferences using the standared load properties method.
readV3PrefFromFile
public boolean readV3PrefFromFile()
- Reads the older version (Version 3) of the property file and converts it to the
new format using java.util.Properties.
clearPrefFile
public void clearPrefFile()
- Closes the current file and removes the current preference file.
writePrefsToFile
public void writePrefsToFile()
- Writes the current values store in the Properties table.
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mitre.cvw.CVWPreferences