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
ConstructorDescriptionGraphEvent
(Object source, String graphString, String graphTitle, int graphType) Creates a newGraphEvent
instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the dot string for the graphReturn the graph titleint
Return the graph typeMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
GraphEvent
Creates a newGraphEvent
instance.- 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
String
value
-
getGraphTitle
Return the graph title- Returns:
- a
String
value
-
getGraphType
public int getGraphType()Return the graph type- Returns:
- a
int
value
-