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

Variable Index

 o pcs
a property change support object to help with property change events
 o PROPERTY_NAME
the name of the property fired when the name bound property changes

Constructor Index

 o Category()
Create an empty category
 o Category(String)
Create a category with a name and a parent

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
add a listener to a property
 o equals(Object)
Two categories are equal if their names are
 o getName()
 o hashCode()
 o removePropertyChangeListener(PropertyChangeListener)
remove a listener to a property
 o setName(String)
set the name of the category - fire a property change event to anyone listening
 o toString()

Variables

 o PROPERTY_NAME
 protected static final String PROPERTY_NAME
the name of the property fired when the name bound property changes

 o pcs
 protected PropertyChangeSupport pcs
a property change support object to help with property change events

See Also:
PropertyChangeSupport

Constructors

 o Category
 public Category()
Create an empty category

 o Category
 public Category(String n)
Create a category with a name and a parent

Methods

 o toString
 public String toString()
Returns:
String representation of a category - just it's name
Overrides:
toString in class Object
 o setName
 public void setName(String newName)
set the name of the category - fire a property change event to anyone listening

 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener pcl)
add a listener to a property

 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener pcl)
remove a listener to a property

 o 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
 o hashCode
 public int hashCode()
Overrides:
hashCode in class Object
See Also:
hashCode
 o getName
 public String getName()

All Packages  Class Hierarchy  This Package  Previous  Next  Index