Package weka.gui.beans
Class GraphEvent
java.lang.Object
java.util.EventObject
weka.gui.beans.GraphEvent
- All Implemented Interfaces:
Serializable
Event for graphs
- Version:
- $Revision: 8034 $
- Author:
- Mark Hall
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGraphEvent(Object source, String graphString, String graphTitle, int graphType) Creates a newGraphEventinstance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the dot string for the graphReturn the graph titleintReturn the graph typeMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
GraphEvent
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 Details
-
getGraphString
Return the dot string for the graph- Returns:
- a
Stringvalue
-
getGraphTitle
Return the graph title- Returns:
- a
Stringvalue
-
getGraphType
public int getGraphType()Return the graph type- Returns:
- a
intvalue
-