|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.viewsdisplay.Section
Field Summary | |
private java.util.ArrayList |
_categoryList
|
private java.lang.String |
_sectionName
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Section()
|
Method Summary | |
void |
addCategory(int index,
java.lang.String vCategory)
|
void |
addCategory(java.lang.String vCategory)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearCategory()
|
java.util.Enumeration |
enumerateCategory()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String[] |
getCategory()
|
java.lang.String |
getCategory(int index)
|
java.util.Collection |
getCategoryCollection()
|
int |
getCategoryCount()
|
java.lang.String |
getSectionName()
Returns the value of field 'sectionName'. |
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeCategory(java.lang.String vCategory)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setCategory(int index,
java.lang.String vCategory)
|
void |
setCategory(java.lang.String[] categoryArray)
|
void |
setCategoryCollection(java.util.Collection vCategory)
|
void |
setSectionName(java.lang.String sectionName)
Sets the value of field 'sectionName'. |
static Section |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String _sectionName
private java.util.ArrayList _categoryList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Section()
Method Detail |
public void addCategory(java.lang.String vCategory) throws java.lang.IndexOutOfBoundsException
vCategory
-
java.lang.IndexOutOfBoundsException
public void addCategory(int index, java.lang.String vCategory) throws java.lang.IndexOutOfBoundsException
index
- vCategory
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearCategory()
public java.util.Enumeration enumerateCategory()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getCategory(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getCategory()
public java.util.Collection getCategoryCollection()
public int getCategoryCount()
public java.lang.String getSectionName()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removeCategory(java.lang.String vCategory)
vCategory
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setCategory(int index, java.lang.String vCategory) throws java.lang.IndexOutOfBoundsException
index
- vCategory
-
java.lang.IndexOutOfBoundsException
public void setCategory(java.lang.String[] categoryArray)
categoryArray
- public void setCategoryCollection(java.util.Collection vCategory)
vCategory
- public void setSectionName(java.lang.String sectionName)
sectionName
- the value of field 'sectionName'.public static Section unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |