|
|||||||||
| Home >> All >> org >> mrd >> jelly >> [ repast overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mrd.jelly.repast
Class ControllerTag

java.lang.Objectorg.apache.commons.jelly.TagSupport
org.mrd.jelly.repast.ControllerTag
- All Implemented Interfaces:
- org.apache.commons.jelly.Tag
- public class ControllerTag
- extends org.apache.commons.jelly.TagSupport
| Field Summary | |
private boolean |
batch
if the controller should run in batch mode |
protected org.apache.commons.jelly.JellyContext |
controlContext
|
private BaseController |
controller
Holds value of property controller. |
private boolean |
gui
If the Controller should run in gui mode |
protected org.apache.commons.logging.Log |
log
|
private java.lang.String |
type
The Class type that implements the SimModel Interface. |
private java.lang.String |
var
Variable the model is stored under in the context. |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
ControllerTag()
|
|
ControllerTag(boolean arg0)
|
|
| Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput xMLOutput)
Called by doTag(...). |
java.lang.String |
getType()
The fully qualified class name of the controller that will be instantiated. |
java.lang.String |
getVar()
The variable name the controller will be stored in the context under. |
boolean |
isBatch()
Switch to set the Controller to operate in batch mode (If it has one). |
boolean |
isGui()
Switch to set the Controller to render graphical interface (If it has one). |
void |
setBatch(boolean b)
Switch to set the Controller to operate in batch mode (If it has one). |
void |
setGui(boolean b)
Switch to set the Controller to render graphical interface (If it has one). |
void |
setType(java.lang.String string)
The fully qualified class name of the controller that will be instantiated. |
void |
setVar(java.lang.String string)
The variable name the controller will be stored in the context under. |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
log
protected org.apache.commons.logging.Log log
controlContext
protected org.apache.commons.jelly.JellyContext controlContext
type
private java.lang.String type
- The Class type that implements the SimModel Interface.
var
private java.lang.String var
- Variable the model is stored under in the context.
gui
private boolean gui
- If the Controller should run in gui mode
batch
private boolean batch
- if the controller should run in batch mode
controller
private BaseController controller
- Holds value of property controller.
| Constructor Detail |
ControllerTag
public ControllerTag()
ControllerTag
public ControllerTag(boolean arg0)
| Method Detail |
doTag
public void doTag(org.apache.commons.jelly.XMLOutput xMLOutput) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
- Called by doTag(...). Used to check if the appropriate attributes have
been filled out.
getType
public java.lang.String getType()
- The fully qualified class name of the controller that will be instantiated.
Required
getVar
public java.lang.String getVar()
- The variable name the controller will be stored in the context under.
Required.
setType
public void setType(java.lang.String string)
- The fully qualified class name of the controller that will be instantiated.
Required
setVar
public void setVar(java.lang.String string)
- The variable name the controller will be stored in the context under.
Required.
isGui
public boolean isGui()
- Switch to set the Controller to render graphical interface (If it has one).
Optional.
setGui
public void setGui(boolean b)
- Switch to set the Controller to render graphical interface (If it has one).
Optional.
isBatch
public boolean isBatch()
- Switch to set the Controller to operate in batch mode (If it has one).
Optional.
setBatch
public void setBatch(boolean b)
- Switch to set the Controller to operate in batch mode (If it has one).
Optional.
|
|||||||||
| Home >> All >> org >> mrd >> jelly >> [ repast overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC