weka.gui.beans
Class GraphEvent
java.lang.Object
java.util.EventObject
weka.gui.beans.GraphEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class GraphEvent
- extends java.util.EventObject
Event for graphs
- Version:
- $Revision: 1.2 $
- Author:
- Mark Hall
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
GraphEvent(java.lang.Object source,
java.lang.String graphString,
java.lang.String graphTitle)
Creates a new GraphEvent instance. |
Method Summary |
java.lang.String |
getGraphString()
Return the dot string for the graph |
java.lang.String |
getGraphTitle()
Return the graph title |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_graphString
protected java.lang.String m_graphString
m_graphTitle
protected java.lang.String m_graphTitle
GraphEvent
public GraphEvent(java.lang.Object source,
java.lang.String graphString,
java.lang.String graphTitle)
- Creates a new
GraphEvent
instance.
- Parameters:
source
- the source of the eventgraphString
- a string describing the graph in "dot" formatgraphTitle
- the title for the graph
getGraphString
public java.lang.String getGraphString()
- Return the dot string for the graph
- Returns:
- a
String
value
getGraphTitle
public java.lang.String getGraphTitle()
- Return the graph title
- Returns:
- a
String
value