|
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.kscReports.Report
Field Summary | |
private java.util.ArrayList |
_graphList
|
private boolean |
_has_show_graphtype_button
keeps track of state for field: _show_graphtype_button |
private boolean |
_has_show_timespan_button
keeps track of state for field: _show_timespan_button |
private boolean |
_show_graphtype_button
|
private boolean |
_show_timespan_button
|
private java.lang.String |
_title
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Report()
|
Method Summary | |
void |
addGraph(Graph vGraph)
|
void |
addGraph(int index,
Graph vGraph)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
clearGraph()
|
void |
deleteShow_graphtype_button()
|
void |
deleteShow_timespan_button()
|
java.util.Enumeration |
enumerateGraph()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Graph[] |
getGraph()
|
Graph |
getGraph(int index)
|
java.util.Collection |
getGraphCollection()
|
int |
getGraphCount()
|
boolean |
getShow_graphtype_button()
Returns the value of field 'show_graphtype_button'. |
boolean |
getShow_timespan_button()
Returns the value of field 'show_timespan_button'. |
java.lang.String |
getTitle()
Returns the value of field 'title'. |
boolean |
hasShow_graphtype_button()
|
boolean |
hasShow_timespan_button()
|
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 |
removeGraph(Graph vGraph)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setGraph(Graph[] graphArray)
|
void |
setGraph(int index,
Graph vGraph)
|
void |
setGraphCollection(java.util.Collection vGraph)
|
void |
setShow_graphtype_button(boolean show_graphtype_button)
Sets the value of field 'show_graphtype_button'. |
void |
setShow_timespan_button(boolean show_timespan_button)
Sets the value of field 'show_timespan_button'. |
void |
setTitle(java.lang.String title)
Sets the value of field 'title'. |
static Report |
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 _title
private boolean _show_timespan_button
private boolean _has_show_timespan_button
private boolean _show_graphtype_button
private boolean _has_show_graphtype_button
private java.util.ArrayList _graphList
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Report()
Method Detail |
public void addGraph(Graph vGraph) throws java.lang.IndexOutOfBoundsException
vGraph
-
java.lang.IndexOutOfBoundsException
public void addGraph(int index, Graph vGraph) throws java.lang.IndexOutOfBoundsException
index
- vGraph
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void clearGraph()
public void deleteShow_graphtype_button()
public void deleteShow_timespan_button()
public java.util.Enumeration enumerateGraph()
public boolean equals(java.lang.Object obj)
obj
- public Graph getGraph(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Graph[] getGraph()
public java.util.Collection getGraphCollection()
public int getGraphCount()
public boolean getShow_graphtype_button()
public boolean getShow_timespan_button()
public java.lang.String getTitle()
public boolean hasShow_graphtype_button()
public boolean hasShow_timespan_button()
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 removeGraph(Graph vGraph)
vGraph
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setGraph(int index, Graph vGraph) throws java.lang.IndexOutOfBoundsException
index
- vGraph
-
java.lang.IndexOutOfBoundsException
public void setGraph(Graph[] graphArray)
graphArray
- public void setGraphCollection(java.util.Collection vGraph)
vGraph
- public void setShow_graphtype_button(boolean show_graphtype_button)
show_graphtype_button
- the value of field
'show_graphtype_button'.public void setShow_timespan_button(boolean show_timespan_button)
show_timespan_button
- the value of field
'show_timespan_button'.public void setTitle(java.lang.String title)
title
- the value of field 'title'.public static Report 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 |