public class AddScreenTask extends ComponentTask
title
or dynamic
titleFormula
can be assigned for the new Tab or
Section. The new screen's dataContext
can be configured
with dataContextBinding
evaluated in the
scope of this task.
config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
AddScreenTask() |
AddScreenTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.Boolean |
getCanClose()
Can the created SectionStackSection or TabSet be closed by the user?
|
DataContextBinding |
getDataContextBinding()
A
DataContextBinding to be applied to the created screen via Canvas.setDataContext() . |
static AddScreenTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getScreenName()
Name of screen to be added.
|
java.lang.String |
getTitle()
Title of new SectionStackSection or TabSet when
componentId targets a SectionStack or TabSet. |
UserSummary |
getTitleFormula()
Formula to be used to calculate the title contents.
|
AddScreenTask |
setCanClose(java.lang.Boolean canClose)
Can the created SectionStackSection or TabSet be closed by the user?
|
AddScreenTask |
setDataContextBinding(DataContextBinding dataContextBinding)
A
DataContextBinding to be applied to the created screen via Canvas.setDataContext() . |
AddScreenTask |
setScreenName(java.lang.String screenName)
Name of screen to be added.
|
AddScreenTask |
setTitle(java.lang.String title)
Title of new SectionStackSection or TabSet when
componentId targets a SectionStack or TabSet. |
AddScreenTask |
setTitleFormula(UserSummary titleFormula)
Formula to be used to calculate the title contents.
|
getComponentBaseClass, getComponentBaseClassAsStringArray, getComponentId, getComponentRequiresDataSource, getTargetBaseClass, getTargetBaseClassAsStringArray, getTargetComponent, getTargetComponent, getUnsupportedComponentMessage, setComponentBaseClass, setComponentBaseClass, setComponentId, setComponentRequiresDataSource, setTargetBaseClass, setTargetBaseClass, setUnsupportedComponentMessage
completeElement, convertToJavaScriptArray, executeElement, getBindOutput, getClassDescription, getComponentReferences, getDescription, getDynamicValue, getEditorType, getElementDescription, getForceSingle, getID, getInvalidTaskMessage, getJsObj, getMockMode, getNextElement, getOrCreateJsObj, getPassThruOutput, getProcessElements, getSupportsMultipleInputRecords, getTextFormulaValue, getTypeTitle, getUndefinedComponentMessage, getUnresolvedComponentMessage, getWaitDuration, getWaitFor, getWaitLocator, isCreated, isValid, objectReferencesLastTaskOutput, onInit, reset, setAttribute, setBindOutput, setClassDescription, setDescription, setEditorType, setForceSingle, setID, setJavaScriptObject, setMockMode, setNextElement, setPassThruOutput, setSupportsMultipleInputRecords, setTypeTitle, setUndefinedComponentMessage, setUnresolvedComponentMessage, setWaitDuration, setWaitFor, setWaitLocator, updateGlobalIDInCriteria, updateGlobalIDInTextFormula, updateGlobalIDInValueProperty, updateGlobalIDInValues, updateGlobalIDReferences, updateLastElementBindingReferences, updateLastElementInCriteria, updateLastElementInValueProperty, updateLastElementInValues
addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public AddScreenTask()
public AddScreenTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static AddScreenTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ComponentTask
public AddScreenTask setCanClose(java.lang.Boolean canClose) throws java.lang.IllegalStateException
canClose
- New canClose value. Default value is nullAddScreenTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanClose()
public AddScreenTask setDataContextBinding(DataContextBinding dataContextBinding) throws java.lang.IllegalStateException
DataContextBinding
to be applied to the created screen via Canvas.setDataContext()
.dataContextBinding
- New dataContextBinding value. Default value is nullAddScreenTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic DataContextBinding getDataContextBinding()
DataContextBinding
to be applied to the created screen via Canvas.setDataContext()
.public AddScreenTask setScreenName(java.lang.String screenName) throws java.lang.IllegalStateException
screenName
- New screenName value. Default value is nullAddScreenTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getScreenName()
public AddScreenTask setTitle(java.lang.String title) throws java.lang.IllegalStateException
componentId
targets a SectionStack or TabSet. To use a dynamic title see titleFormula
.title
- New title value. Default value is nullAddScreenTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getTitle()
componentId
targets a SectionStack or TabSet. To use a dynamic title see titleFormula
.public AddScreenTask setTitleFormula(UserSummary titleFormula) throws java.lang.IllegalStateException
title
property to assign a static title instead. Available fields for use in the formula are the current rule context
.
titleFormula
- New titleFormula value. Default value is nullAddScreenTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic UserSummary getTitleFormula()
title
property to assign a static title instead. Available fields for use in the formula are the current rule context
.