Package 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.EventObjectEvent for graphs- Version:
- $Revision: 1.5 $
- Author:
- Mark Hall
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GraphEvent(java.lang.Object source, java.lang.String graphString, java.lang.String graphTitle, int graphType)Creates a newGraphEventinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGraphString()Return the dot string for the graphjava.lang.StringgetGraphTitle()Return the graph titleintgetGraphType()Return the graph type
-
-
-
Constructor Detail
-
GraphEvent
public GraphEvent(java.lang.Object source, java.lang.String graphString, java.lang.String graphTitle, int graphType)Creates a newGraphEventinstance.- Parameters:
source- the source of the eventgraphString- a string describing the graph in "dot" formatgraphTitle- the title for the graphgraphType- the type for the graph
-
-
Method Detail
-
getGraphString
public java.lang.String getGraphString()
Return the dot string for the graph- Returns:
- a
Stringvalue
-
getGraphTitle
public java.lang.String getGraphTitle()
Return the graph title- Returns:
- a
Stringvalue
-
getGraphType
public int getGraphType()
Return the graph type- Returns:
- a
intvalue
-
-