All Packages Class Hierarchy This Package Previous Next Index
Class vnr.ide.Category
java.lang.Object
|
+----vnr.ide.Category
- public class Category
- extends Object
This represents a category of projects - a grouping of projects together
- Author:
- dIon 1997-03-09
-
pcs
- a property change support object to help with property change events
-
PROPERTY_NAME
- the name of the property fired when the name bound property changes
-
Category()
- Create an empty category
-
Category(String)
- Create a category with a name and a parent
-
addPropertyChangeListener(PropertyChangeListener)
- add a listener to a property
-
equals(Object)
- Two categories are equal if their names are
-
getName()
-
-
hashCode()
-
-
removePropertyChangeListener(PropertyChangeListener)
- remove a listener to a property
-
setName(String)
- set the name of the category - fire a property change event to anyone listening
-
toString()
-
PROPERTY_NAME
protected static final String PROPERTY_NAME
- the name of the property fired when the name bound property changes
pcs
protected PropertyChangeSupport pcs
- a property change support object to help with property change events
- See Also:
- PropertyChangeSupport
Category
public Category()
- Create an empty category
Category
public Category(String n)
- Create a category with a name and a parent
toString
public String toString()
- Returns:
- String representation of a category - just it's name
- Overrides:
- toString in class Object
setName
public void setName(String newName)
- set the name of the category - fire a property change event to anyone listening
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener pcl)
- add a listener to a property
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener pcl)
- remove a listener to a property
equals
public boolean equals(Object o)
- Two categories are equal if their names are
- Parameters:
- o - - the object being checked against this one
- Overrides:
- equals in class Object
- See Also:
- equals
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
- See Also:
- hashCode
getName
public String getName()
All Packages Class Hierarchy This Package Previous Next Index