All Packages Class Hierarchy This Package Previous Next Index
Class vnr.server.User
java.lang.Object
|
+----vnr.server.User
- public class User
- extends Object
This class represents a user of VNR
A user has some properties:
- name
- password
- category tree model (includes projects, classes etc)
- codeEditingFont
- codeEditingTabSize
- Author:
- dIon 1998-03-12
-
pcs
- a helper object to handle event admin
-
PROPERTY_CATEGORIES
- the property name for the user's categories
-
PROPERTY_CODE_EDITING_FONT
- the property name for the user's codeEditingFont
-
PROPERTY_CODE_EDITING_TAB_SIZE
- the property name for the user's codeEditingTabSize
-
PROPERTY_HELP_PATH
- the property name for the user's javadoc search path
-
PROPERTY_LOOK_AND_FEEL
- the property name for the user's look and feel
-
PROPERTY_NAME
- the property name for the user's name
-
PROPERTY_PASSWORD
- the property name for the user's password
-
User(String, String)
- create a user with the given name and password
-
addPropertyChangeListener(PropertyChangeListener)
- add a listener for property changes - name, password etc
-
getCategories()
-
-
getCodeEditingFont()
-
-
getCodeEditingTabSize()
-
-
getHelpPath()
-
-
getLookAndFeel()
-
-
getName()
-
-
getPassword()
-
-
removePropertyChangeListener(PropertyChangeListener)
- remove a listener from the list
-
setCategories(SortedTreeModel)
- change the user's categories and fire a property change event
-
setCodeEditingFont(Font)
- change the user's codeEditingFont and fire a property change event
-
setCodeEditingTabSize(int)
- change the user's codeEditingTabSize and fire a property change event
-
setHelpPath(String)
- change the user's help path and fire a property change event
-
setLookAndFeel(String)
- change the user's lookAndFeel and fire a property change event
-
setName(String)
- change the user's name and fire a property change event
-
setPassword(String)
- change the user's password and fire a property change event
-
toString()
- return the user's name
PROPERTY_NAME
protected static final Rexx PROPERTY_NAME
- the property name for the user's name
PROPERTY_PASSWORD
protected static final Rexx PROPERTY_PASSWORD
- the property name for the user's password
PROPERTY_CATEGORIES
protected static final Rexx PROPERTY_CATEGORIES
- the property name for the user's categories
PROPERTY_CODE_EDITING_FONT
protected static final Rexx PROPERTY_CODE_EDITING_FONT
- the property name for the user's codeEditingFont
PROPERTY_CODE_EDITING_TAB_SIZE
protected static final Rexx PROPERTY_CODE_EDITING_TAB_SIZE
- the property name for the user's codeEditingTabSize
PROPERTY_LOOK_AND_FEEL
protected static final Rexx PROPERTY_LOOK_AND_FEEL
- the property name for the user's look and feel
PROPERTY_HELP_PATH
protected static final Rexx PROPERTY_HELP_PATH
- the property name for the user's javadoc search path
pcs
protected PropertyChangeSupport pcs
- a helper object to handle event admin
User
public User(String n,
String pwd)
- create a user with the given name and password
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener pcl)
- add a listener for property changes - name, password etc
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener pcl)
- remove a listener from the list
setName
public void setName(String n)
- change the user's name and fire a property change event
setPassword
public void setPassword(String p)
- change the user's password and fire a property change event
setCategories
public void setCategories(SortedTreeModel c)
- change the user's categories and fire a property change event
setCodeEditingFont
public void setCodeEditingFont(Font f)
- change the user's codeEditingFont and fire a property change event
setCodeEditingTabSize
public void setCodeEditingTabSize(int sz)
- change the user's codeEditingTabSize and fire a property change event
setLookAndFeel
public void setLookAndFeel(String laf)
- change the user's lookAndFeel and fire a property change event
setHelpPath
public void setHelpPath(String p)
- change the user's help path and fire a property change event
toString
public String toString()
- return the user's name
- Overrides:
- toString in class Object
getName
public String getName()
getPassword
public String getPassword()
getCategories
public SortedTreeModel getCategories()
getCodeEditingFont
public Font getCodeEditingFont()
getCodeEditingTabSize
public int getCodeEditingTabSize()
getLookAndFeel
public String getLookAndFeel()
getHelpPath
public String getHelpPath()
All Packages Class Hierarchy This Package Previous Next Index