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, 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 |
---|
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.
|
void |
initialize()
should be extended to do any setup required by the instance.
|
boolean |
isDisabled() |
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 |
setVisibility(boolean visible) |
addChild, addComponent, broadcastEvent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, cleanup, clearComponent, clearErrors, copy, createRenderId, errorLevelChanged, 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, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, launchexternal, moveChild, needsRender, parseParamvalues, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, 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 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()
BaseInstance
initialize
in class ControlInstance
public boolean isDisabled()
isDisabled
in class ControlInstance
public boolean needsSep()
public void addSep()
public boolean preRender()
preRender
in class ControlInstance
public void dynamicButtonHandling()
public boolean isVisible()
BaseInstance
isVisible
in class ControlInstance
public void eventCheck()
ControlInstance
eventCheck
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 setVisibility(boolean visible)
setVisibility
in class ControlInstance