org.mov.macro
Class StoredMacro
java.lang.Object
org.mov.macro.StoredMacro
public class StoredMacro
- extends java.lang.Object
- Author:
- Dan Makovec venice@makovec.net
Reference object for a Jython macro that has been imported into the application
Constructor Summary |
StoredMacro()
Empty constructor for creating new macros |
StoredMacro(java.lang.String name,
java.lang.String filename,
boolean on_startup,
int start_sequence,
boolean in_menu)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoredMacro
public StoredMacro()
- Empty constructor for creating new macros
StoredMacro
public StoredMacro(java.lang.String name,
java.lang.String filename,
boolean on_startup,
int start_sequence,
boolean in_menu)
- Parameters:
name
- filename
- on_startup
- start_sequence
- in_menu
-
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
isOn_startup
public boolean isOn_startup()
- Returns:
- Returns the on_startup.
setOn_startup
public void setOn_startup(boolean on_startup)
- Parameters:
on_startup
- The on_startup to set.
getStart_sequence
public int getStart_sequence()
- Returns:
- Returns the start_sequence.
setStart_sequence
public void setStart_sequence(int start_sequence)
- Parameters:
start_sequence
- The start_sequence to set.
isIn_menu
public boolean isIn_menu()
- Returns:
- Returns the in_menu.
setIn_menu
public void setIn_menu(boolean in_menu)
- Parameters:
in_menu
- The in_menu to set.
getFilename
public java.lang.String getFilename()
- Returns:
- Returns the filename.
setFilename
public void setFilename(java.lang.String filename)
- Parameters:
filename
- The filename to set.
load
public boolean load()
- Load the macro into memory
save
public boolean save()
delete
public boolean delete()
getCode
public java.lang.String getCode()
- Returns:
- Returns the code.
setCode
public void setCode(java.lang.String code)
- Parameters:
code
- The code to set.