public class ToolbarButton extends ControlInstance
A toolbar button is enabled when one of the following is true:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_NEXT |
static java.lang.String |
ACTION_PREVIOUS |
static java.lang.String |
ACTION_STRECLOCK |
amIinitialize, DATASOURCE, errorChanged, errorLevel, errorsValidated, generatedControl, INPUTMODE, labelOverride, labelParams, LOG_CATEGORY, ONDATACAHNGE, originalControl, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_LIGHTNING, 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, propertyOriginator, RERENDER_PROPERTYchangedProperties, 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, properties, type| Constructor and Description |
|---|
ToolbarButton() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSep() |
void |
dynamicButtonHandling() |
void |
eventCheck()
Checks to see if the control has an mxevent and if the user has access to it.
|
protected boolean |
hasSigOptionAccess(java.lang.String sigoption,
DataBean dataBean,
int row) |
void |
initialize()
should be extended to do any setup required by the instance.
|
boolean |
isDisabled() |
boolean |
isFirstButton() |
boolean |
isVisible()
Return whether or not the instance is visible or not (Whether or not it should be shown)
Each control or component will handle visibility in it's own way.
|
boolean |
needsSep() |
boolean |
preRender() |
int |
render()
Render this control's components
|
void |
setIsFirstButton(boolean aBool) |
void |
setVisibility(boolean visible) |
addChild, addComponent, broadcastEvent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, cleanup, clearComponent, clearErrors, clearFlags, copy, createRenderId, determineErrorLevel, errorLevelChanged, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getConditonallyChanged, 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, isFirstChildVisible, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, launchexternal, licenseCheck, moveChild, needsRender, parentPropertyChanged, parseParamvalues, preRenderChecks, propertyChanged, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setConditionalProperties, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, sigOptionCheck, sigOptionCheckForLookups, stopRender, walkForId, walkForIdaddChild, addChild, addRefreshListener, canSetProperty, clearChildren, clearPropChangeList, clearProperties, clone, clone, getBoolean, getChangedProperties, 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, toStringpublic static final java.lang.String ACTION_PREVIOUS
public static final java.lang.String ACTION_NEXT
public static final java.lang.String ACTION_STRECLOCK
public void initialize()
BaseInstanceinitialize in class ControlInstancepublic boolean isDisabled()
isDisabled in class ControlInstancepublic boolean needsSep()
public void addSep()
public boolean preRender()
preRender in class ControlInstancepublic void dynamicButtonHandling()
public boolean isVisible()
BaseInstanceisVisible in class ControlInstanceprotected boolean hasSigOptionAccess(java.lang.String sigoption,
DataBean dataBean,
int row)
hasSigOptionAccess in class ControlInstancepublic void eventCheck()
ControlInstanceeventCheck in class ControlInstancepublic int render()
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
ControlInstancerender in class ControlInstancejava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic void setVisibility(boolean visible)
setVisibility in class ControlInstancepublic boolean isFirstButton()
public void setIsFirstButton(boolean aBool)