public class TabGroup extends ControlInstance implements DataBeanListener
amIinitialize, DATASOURCE, INPUTMODE, labelOverride, ONDATACAHNGE, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, RERENDER_PROPERTY
EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST
Constructor and Description |
---|
TabGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRemove()
Can the control be removed
Extend this method if a control has rules for whether or not it can be removed
|
int |
changetab() |
void |
dataChangedEvent(DataBean speaker) |
Tab |
getChangeToTab()
This is the tab the the TabGroup is trying to change to.
|
Tab |
getCurrentTab() |
java.lang.String |
getLastId() |
int |
gotofirsttab()
Set the first visible tab of the tabgroup as the current tab.
|
int |
gotolisttab() |
void |
initialize()
should be extended to do any setup required by the instance.
|
boolean |
isMainTab() |
boolean |
isMainTabGroup() |
int |
nexttab() |
int |
nexttab(boolean wrapAround) |
boolean |
preRender()
Flags all tabs for being processed for pre render check so that flags are ready when visiblility check
is made in render
|
int |
previoustab() |
void |
removeChild(ControlInstance child)
if removeChild is called on a tabgroup and the tab being removed is also the currentTab, call
previoustab to get a new current tab
|
int |
render()
Render this control's components
|
int |
setCurrentTab(java.lang.String tabType)
Set the current tab to be the first tab of the tabType.
|
void |
setCurrentTab(Tab tab) |
void |
setCurrentTab(Tab tab,
boolean setFocus)
This is the go to place for any tab changes: all other activities that lead to a tab change ***MUST***
do all of their act here
|
ControlInstance |
setDesignerSelected(boolean selected)
Sets whether this control is selected in the app designer
|
void |
setReRenderFlags() |
void |
structureChangedEvent(DataBean speaker) |
boolean |
tabWasChanged() |
addChild, addComponent, broadcastEvent, canInsert, canInsert, childHasError, childHasErrorFocus, cleanup, clearComponent, clearErrors, copy, createRenderId, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getDataBean, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getErrorLevel, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasVisibleChildren, instantiatedatasrc, isDesignerEditedProperty, isDisabled, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, moveChild, needsRender, parseParamvalues, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setSelected, setSkipPreRender, setTableControl, setVisibility, stopRender, walkForId, walkForId
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toString
public void initialize()
BaseInstance
initialize
in class ControlInstance
public boolean isMainTabGroup()
public Tab getCurrentTab()
public int gotolisttab()
public int setCurrentTab(java.lang.String tabType)
public void setCurrentTab(Tab tab)
public void setCurrentTab(Tab tab, boolean setFocus)
tab
- The tab to be made currentpublic java.lang.String getLastId()
public int changetab()
public int nexttab()
public int nexttab(boolean wrapAround)
public int previoustab()
public boolean tabWasChanged()
public ControlInstance setDesignerSelected(boolean selected)
ControlInstance
setDesignerSelected
in class ControlInstance
selected
- - booleanpublic boolean canRemove()
ControlInstance
canRemove
in class ControlInstance
public int render() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
ControlInstance
render
in class ControlInstance
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public void removeChild(ControlInstance child)
removeChild
in class ControlInstance
public boolean preRender()
preRender
in class ControlInstance
public void setReRenderFlags()
setReRenderFlags
in class ControlInstance
public int gotofirsttab()
public Tab getChangeToTab()
public boolean isMainTab()
public void dataChangedEvent(DataBean speaker)
dataChangedEvent
in interface DataBeanListener
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener