public interface IXholon2Gui
Modifier and Type | Field and Description |
---|---|
static int |
GUI_TYPE_CONTOUR |
static int |
GUI_TYPE_DOMAINSPECIFIC |
static int |
GUI_TYPE_NONE |
static int |
GUI_TYPE_ROOTONLY |
static int |
GUI_TYPE_TREE |
Modifier and Type | Method and Description |
---|---|
boolean |
initialize(java.lang.Object out,
java.lang.String modelName,
IXholon root)
Initialize.
|
void |
setParams(java.lang.String params)
Set various run time parameters for generating and launching a GUI.
|
void |
writeAll()
Write out all parts of the GUI file.
|
static final int GUI_TYPE_NONE
static final int GUI_TYPE_TREE
static final int GUI_TYPE_CONTOUR
static final int GUI_TYPE_ROOTONLY
static final int GUI_TYPE_DOMAINSPECIFIC
boolean initialize(java.lang.Object out, java.lang.String modelName, IXholon root)
out
- Name of the output GUI file, or an instance of Writer, or another type of output object.modelName
- Name of the model.root
- Root of the hierarchy to write out (composite or inheritance structure).void setParams(java.lang.String params)
params
- A String containing a comma delimited series of parameters.
The parameters, in their proper order, are:
guiPathName guiType widthInPixels webSite shouldShowDescription shouldShowStateMachineEntities shouldLaunchGui
ex: ./gui/,1,200,file:///C:/Xholon/gui/,true,false,true
ex: /jetty-6.1.5/webapps/xholon/,2,200,http://localhost:8080/xholon/,false,false,true
void writeAll()