public class ShowHideTask extends ComponentTask
Canvas.show()
,
Canvas.hide()
,
FormItem.show()
,
FormItem.hide()
config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
ShowHideTask() |
ShowHideTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.Boolean |
getHide()
Should the target form item be hidden?
|
java.lang.Boolean |
getMoveFocusToTarget()
Should focus be moved to target component when showing?
|
static ShowHideTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getScrollIntoView()
Set to
false to prevent scrolling the component into view when showing. |
java.lang.Boolean |
getShowRecursively()
Set to
false to not show a component's parents. |
java.lang.String |
getTargetFieldName()
If
componentId targets a DynamicForm, this
property specifies the name of the target field to assign new title. |
java.lang.String |
getTargetSectionName()
If
componentId targets a SectionStack, this
property specifies the name of the target section. |
java.lang.String |
getTargetSectionTitle()
If
componentId targets a SectionStack, this
property specifies the title of the target section. |
java.lang.String |
getTargetTabName()
If
componentId targets a TabSet, this property
specifies the name or ID of the target tab to assign new title. |
ShowHideTask |
setHide(java.lang.Boolean hide)
Should the target form item be hidden?
|
ShowHideTask |
setMoveFocusToTarget(java.lang.Boolean moveFocusToTarget)
Should focus be moved to target component when showing?
|
ShowHideTask |
setScrollIntoView(java.lang.Boolean scrollIntoView)
Set to
false to prevent scrolling the component into view when showing. |
ShowHideTask |
setShowRecursively(java.lang.Boolean showRecursively)
Set to
false to not show a component's parents. |
ShowHideTask |
setTargetFieldName(java.lang.String targetFieldName)
If
componentId targets a DynamicForm, this
property specifies the name of the target field to assign new title. |
ShowHideTask |
setTargetSectionName(java.lang.String targetSectionName)
If
componentId targets a SectionStack, this
property specifies the name of the target section. |
ShowHideTask |
setTargetSectionTitle(java.lang.String targetSectionTitle)
If
componentId targets a SectionStack, this
property specifies the title of the target section. |
ShowHideTask |
setTargetTabName(java.lang.String targetTabName)
If
componentId targets a TabSet, this property
specifies the name or ID of the target tab to assign new title. |
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 ShowHideTask()
public ShowHideTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static ShowHideTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ComponentTask
public ShowHideTask setHide(java.lang.Boolean hide) throws java.lang.IllegalStateException
hide
- New hide value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getHide()
public ShowHideTask setMoveFocusToTarget(java.lang.Boolean moveFocusToTarget) throws java.lang.IllegalStateException
moveFocusToTarget
- New moveFocusToTarget value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getMoveFocusToTarget()
public ShowHideTask setScrollIntoView(java.lang.Boolean scrollIntoView) throws java.lang.IllegalStateException
false
to prevent scrolling the component into view when showing.scrollIntoView
- New scrollIntoView value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getScrollIntoView()
false
to prevent scrolling the component into view when showing.public ShowHideTask setShowRecursively(java.lang.Boolean showRecursively) throws java.lang.IllegalStateException
false
to not show a component's parents.showRecursively
- New showRecursively value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getShowRecursively()
false
to not show a component's parents.public ShowHideTask setTargetFieldName(java.lang.String targetFieldName) throws java.lang.IllegalStateException
componentId
targets a DynamicForm, this
property specifies the name of the target field to assign new title.targetFieldName
- New targetFieldName value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdFieldName
public java.lang.String getTargetFieldName()
componentId
targets a DynamicForm, this
property specifies the name of the target field to assign new title.FieldName
public ShowHideTask setTargetSectionName(java.lang.String targetSectionName) throws java.lang.IllegalStateException
componentId
targets a SectionStack, this
property specifies the name of the target section. Alternately, the target section can be specified by using targetSectionTitle
.targetSectionName
- New targetSectionName value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getTargetSectionName()
componentId
targets a SectionStack, this
property specifies the name of the target section. Alternately, the target section can be specified by using targetSectionTitle
.public ShowHideTask setTargetSectionTitle(java.lang.String targetSectionTitle) throws java.lang.IllegalStateException
componentId
targets a SectionStack, this
property specifies the title of the target section. Alternately, the target section can be specified by using targetSectionName
.targetSectionTitle
- New targetSectionTitle value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getTargetSectionTitle()
componentId
targets a SectionStack, this
property specifies the title of the target section. Alternately, the target section can be specified by using targetSectionName
.public ShowHideTask setTargetTabName(java.lang.String targetTabName) throws java.lang.IllegalStateException
componentId
targets a TabSet, this property
specifies the name or ID of the target tab to assign new title.targetTabName
- New targetTabName value. Default value is nullShowHideTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdTabName
public java.lang.String getTargetTabName()
componentId
targets a TabSet, this property
specifies the name or ID of the target tab to assign new title.TabName