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:

Author:
dIon 1998-03-12

Variable Index

 o pcs
a helper object to handle event admin
 o PROPERTY_CATEGORIES
the property name for the user's categories
 o PROPERTY_CODE_EDITING_FONT
the property name for the user's codeEditingFont
 o PROPERTY_CODE_EDITING_TAB_SIZE
the property name for the user's codeEditingTabSize
 o PROPERTY_HELP_PATH
the property name for the user's javadoc search path
 o PROPERTY_LOOK_AND_FEEL
the property name for the user's look and feel
 o PROPERTY_NAME
the property name for the user's name
 o PROPERTY_PASSWORD
the property name for the user's password

Constructor Index

 o User(String, String)
create a user with the given name and password

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
add a listener for property changes - name, password etc
 o getCategories()
 o getCodeEditingFont()
 o getCodeEditingTabSize()
 o getHelpPath()
 o getLookAndFeel()
 o getName()
 o getPassword()
 o removePropertyChangeListener(PropertyChangeListener)
remove a listener from the list
 o setCategories(SortedTreeModel)
change the user's categories and fire a property change event
 o setCodeEditingFont(Font)
change the user's codeEditingFont and fire a property change event
 o setCodeEditingTabSize(int)
change the user's codeEditingTabSize and fire a property change event
 o setHelpPath(String)
change the user's help path and fire a property change event
 o setLookAndFeel(String)
change the user's lookAndFeel and fire a property change event
 o setName(String)
change the user's name and fire a property change event
 o setPassword(String)
change the user's password and fire a property change event
 o toString()
return the user's name

Variables

 o PROPERTY_NAME
 protected static final Rexx PROPERTY_NAME
the property name for the user's name

 o PROPERTY_PASSWORD
 protected static final Rexx PROPERTY_PASSWORD
the property name for the user's password

 o PROPERTY_CATEGORIES
 protected static final Rexx PROPERTY_CATEGORIES
the property name for the user's categories

 o PROPERTY_CODE_EDITING_FONT
 protected static final Rexx PROPERTY_CODE_EDITING_FONT
the property name for the user's codeEditingFont

 o PROPERTY_CODE_EDITING_TAB_SIZE
 protected static final Rexx PROPERTY_CODE_EDITING_TAB_SIZE
the property name for the user's codeEditingTabSize

 o PROPERTY_LOOK_AND_FEEL
 protected static final Rexx PROPERTY_LOOK_AND_FEEL
the property name for the user's look and feel

 o PROPERTY_HELP_PATH
 protected static final Rexx PROPERTY_HELP_PATH
the property name for the user's javadoc search path

 o pcs
 protected PropertyChangeSupport pcs
a helper object to handle event admin

Constructors

 o User
 public User(String n,
             String pwd)
create a user with the given name and password

Methods

 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener pcl)
add a listener for property changes - name, password etc

 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener pcl)
remove a listener from the list

 o setName
 public void setName(String n)
change the user's name and fire a property change event

 o setPassword
 public void setPassword(String p)
change the user's password and fire a property change event

 o setCategories
 public void setCategories(SortedTreeModel c)
change the user's categories and fire a property change event

 o setCodeEditingFont
 public void setCodeEditingFont(Font f)
change the user's codeEditingFont and fire a property change event

 o setCodeEditingTabSize
 public void setCodeEditingTabSize(int sz)
change the user's codeEditingTabSize and fire a property change event

 o setLookAndFeel
 public void setLookAndFeel(String laf)
change the user's lookAndFeel and fire a property change event

 o setHelpPath
 public void setHelpPath(String p)
change the user's help path and fire a property change event

 o toString
 public String toString()
return the user's name

Overrides:
toString in class Object
 o getName
 public String getName()
 o getPassword
 public String getPassword()
 o getCategories
 public SortedTreeModel getCategories()
 o getCodeEditingFont
 public Font getCodeEditingFont()
 o getCodeEditingTabSize
 public int getCodeEditingTabSize()
 o getLookAndFeel
 public String getLookAndFeel()
 o getHelpPath
 public String getHelpPath()

All Packages  Class Hierarchy  This Package  Previous  Next  Index