|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
weka.gui.scripting.event.ScriptExecutionEvent
public class ScriptExecutionEvent
Event that gets sent when a script is executed.
Nested Class Summary | |
---|---|
static class |
ScriptExecutionEvent.Type
Defines the type of event. |
Constructor Summary | |
---|---|
ScriptExecutionEvent(Script source,
ScriptExecutionEvent.Type type)
Initializes the event. |
|
ScriptExecutionEvent(Script source,
ScriptExecutionEvent.Type type,
java.lang.Object additional)
Initializes the event. |
Method Summary | |
---|---|
java.lang.Object |
getAdditional()
Returns the additional information. |
Script |
getScript()
Returns the script that triggered the event. |
ScriptExecutionEvent.Type |
getType()
Returns the type of event. |
boolean |
hasAdditional()
Returns whether additional information is available. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScriptExecutionEvent(Script source, ScriptExecutionEvent.Type type)
source
- the script that triggered the eventtype
- the type of finishpublic ScriptExecutionEvent(Script source, ScriptExecutionEvent.Type type, java.lang.Object additional)
source
- the script that triggered the eventtype
- the type of finishadditional
- additional information, can be nullMethod Detail |
---|
public Script getScript()
public ScriptExecutionEvent.Type getType()
public boolean hasAdditional()
getAdditional()
public java.lang.Object getAdditional()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |