org.joone.script
Class JooneMacro

java.lang.Object
  extended by org.joone.script.JooneMacro
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class JooneMacro
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

This class represents a runnable BeanShell macro

Author:
P.Marrone
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
JooneMacro()
          Creates a new instance of JooneMacro
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getName()
          Getter for property name.
 java.lang.String getText()
          Getter for property text.
 boolean isEventMacro()
          Getter for property system.
 void setEventMacro(boolean newValue)
          Setter for property system.
 void setName(java.lang.String name)
          Setter for property name.
 void setText(java.lang.String text)
          Setter for property text.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

JooneMacro

public JooneMacro()
Creates a new instance of JooneMacro

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getText

public java.lang.String getText()
Getter for property text.

Returns:
Value of property text.

setText

public void setText(java.lang.String text)
Setter for property text.

Parameters:
text - New value of property text.

isEventMacro

public boolean isEventMacro()
Getter for property system. This property indicates if the macro is bound to a neural net's event. An event macro can't be deleted, nor renamed.

Returns:
Value of property system.

setEventMacro

public void setEventMacro(boolean newValue)
Setter for property system. This property indicates if the macro is bound to a neural net's event. An event macro can't be deleted, nor renamed.

Parameters:
system - New value of property system.

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object


Submit Feedback to pmarrone@users.sourceforge.net