public static class MACROFILLER.MacroFillerWrapper extends NamedWarpScriptFunction implements WarpScriptFillerFunction
| Constructor and Description |
|---|
MacroFillerWrapper(java.lang.String name,
WarpScriptStack stack,
WarpScriptStack.Macro macro,
int preWindow,
int postWindow) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
apply(java.lang.Object[] args)
This method will determine the tick,loc,elev,value to fill
with.
|
WarpScriptStack.Macro |
getMacro() |
int |
getPostWindow()
Returns the size of the post-window (in ticks)
|
int |
getPreWindow()
Returns the size of the pre-window (in number of ticks)
|
java.lang.String |
toString() |
getName, refSnapshot, setNamepublic MacroFillerWrapper(java.lang.String name,
WarpScriptStack stack,
WarpScriptStack.Macro macro,
int preWindow,
int postWindow)
public java.lang.String toString()
toString in class NamedWarpScriptFunctionpublic int getPreWindow()
WarpScriptFillerFunctiongetPreWindow in interface WarpScriptFillerFunctionpublic int getPostWindow()
WarpScriptFillerFunctiongetPostWindow in interface WarpScriptFillerFunctionpublic java.lang.Object[] apply(java.lang.Object[] args)
throws WarpScriptException
WarpScriptFillerFunctionapply in interface WarpScriptFillerFunctionWarpScriptExceptionpublic WarpScriptStack.Macro getMacro()