public class ProcessSequence extends ProcessElement
ProcessElement
s involved in a Process
. A ProcessSequence
is used to reduce the number of explicit
ID
s that need to be assigned, by creating an implicit
next element - the next in the sequence. A sequence cannot be executed outside of a Process and has no state.
config, id, scClassName
Constructor and Description |
---|
ProcessSequence() |
ProcessSequence(com.google.gwt.core.client.JavaScriptObject jsObj) |
ProcessSequence(ProcessElement... elements) |
ProcessSequence(java.lang.String ID) |
ProcessSequence(java.lang.String id,
ProcessElement... elements) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
ProcessElement[] |
getElements()
The
ProcessElement s in this sequence. |
static ProcessSequence |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setElements(ProcessElement... elements)
The
ProcessElement s in this sequence. |
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
convertToJavaScriptArray, getID, getJsObj, getNextElement, getOrCreateJsObj, getProcessElements, isCreated, setAttribute, setID, setNextElement
asSGWTComponent, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getScClassName, internalSetID, internalSetID, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setProperty, setProperty, setProperty, setProperty, setScClassName
public ProcessSequence()
public ProcessSequence(com.google.gwt.core.client.JavaScriptObject jsObj)
public ProcessSequence(java.lang.String ID)
public ProcessSequence(ProcessElement... elements)
public ProcessSequence(java.lang.String id, ProcessElement... elements)
public static ProcessSequence getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class ProcessElement
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ProcessElement
public ProcessElement[] getElements()
ProcessElement
s in this sequence.public void setElements(ProcessElement... elements) throws java.lang.IllegalStateException
ProcessElement
s in this sequence.elements
- elements Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been created