public class ToggleImage extends BoundComponentInstance
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
lastState |
java.util.Hashtable |
lastStates |
java.lang.String |
source |
java.lang.String |
state |
java.util.Hashtable |
states |
ATTRIBUTE_NAME, BAD_BINDING_CSS, bound, BOUND_LABEL, cachedAppLink, cachedAppLinkMap, cachedDataValue, cachedDataValueMap, cachedError, cachedErrorMap, cachedLongDesc, cachedLongDescMap, cachedLookup, cachedLookupMap, cachedMaskedState, cachedReadonlyState, cachedReadonlyStateMap, cachedRequiredState, cachedRequiredStateMap, COLUMN_NAME, componentLinkBack, CSS_CLASS, DATA_ATTRIBUTE, dataBean, dataChanged, dataValueInError, DEFAULT_LABEL, DOMAIN, ENTITY_NAME, errorChanged, EVENT_PRIORITY, FIELD_LABEL, HAS_LONG_DESCRIPTION, HIDE_LABEL, ID, ignoreDataChange, ignoreReadonlyChange, ignoreRequiredChange, INT_TYPE, INTERNAL, INVALID_BINDING, IS_NUMERIC, IS_PERSISTENT, isDataValid, KEY, LABEL, LABELFORMAT, LENGTH, LONGDESC_ATTRIBUTE_SUFFIX, longDescChanged, OBJECT_NAME, OVERRIDEMAXSIZE, PRIORITY_DATATYPE, PRIORITY_FLUSH, PRIORITY_VALIDATION, QUERY, readonlyChanged, REMARKS, requiredChanged, SCALE, SIZE, supportsLongDesc, SYNCHRONOUS, TAKESVALUE, TITLE, TRUELENGTH, TYPEAHEADATTRSCLASSSPECVALUEATTRIBUTES, DYNAMICATTRIBUTEchangedFlag, CLICKABLE_OFF, CLICKABLE_ON, CONTAINER_ERROR, CONTAINER_ERROR_IMAGE, CONTAINER_WARNING, CONTAINER_WARNING_IMAGE, LOG_CATEGORY, NOT_CLICKABLE, popDefinitionchangedProperties, 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 |
|---|
ToggleImage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeRowFocus()
Clicking on toggle image component should also change the focus on the table row if not running in asynchronous mode.
|
int |
getClickState()
Returns whether or not this item is clickable.
|
java.lang.String |
getLabel()
This method returns the current label based on the method defined in tooltip property
|
java.lang.Object |
getLastState() |
java.lang.String |
getMessage()
This method returns the current message based on the method defined in tooltip property
|
java.lang.String |
getRowNum() |
java.lang.String |
getSource()
This method builds the propertyname for use in retrieving the correct image, based on the current state.
|
java.lang.Object |
getState() |
int |
render()
Needed to override this method to cache original values for data, readonly, required and applink
|
boolean |
stateChanged() |
java.lang.String |
updateState(java.lang.String methodName) |
addAttributeError, addSetValueError, applink, cleanup, clearClassification, clearErrors, createChangedPropList, dataRestrictionCheck, datelookup, decrement, exceptionhandled, getApplink, getBoolean, getCurrentError, getDataBean, getDataBeanRow, getDataType, getDataValueInError, getErrorForRow, getExcDialogIcon, getExceptionType, getFieldInfo, getHighestErrorLevel, getInputMode, getInputModeWithoutPasswordPrefix, getLinkBack, getLongDescription, getLookupName, getQbeNameWithPrepend, getReadonlyStateMap, getRenderIdForAutoFill, getString, getWarningList, getWarningMessages, hasChanged, hasDataChanged, hasLongDescChanged, hasLongDescription, hasReadonlyChanged, hasRequiredChanged, hasWarnings, increment, initialize, instantiatedatasrc, isDataValid, isDefault, isMasked, isOnCurrentRow, isPasswordField, isQuery, isReadOnly, isRequired, isRevert, isRowDeleted, isSmartFillEnabled, popexception, processAsyncYesNoCancel, processEdit, processIgnoreWarning, processProfile, processRevert, readOnlyCheck, removeCurrentError, requiredCheck, resetIsRevert, retryErrorValues, selectvalue, setBoundAsRequired, setcurrentdate, setDataValid, setDataValueInError, updateCachedDataValue, useMaxLengthclick, dataChangedEvent, getProperty, hasAnyPropertyChanged, isDynamicAttribute, needsRender, resetAttribute, structureChangedEventaction, broadcastEvent, clearChangedFlag, clearUIUpdates, controlPropertyChanged, fetchtooltip, findComponentByDescriptorId, findProperty, formatLabel, formatLabel, getChildrenDesignOnly, getComponentContainerId, getControl, getCssClass, getCurrent, getCurrentUpdates, getDesignerSelected, getErrorInfo, getFocusRenderId, getId, getId, getIdWithoutRow, getLabelForRenderId, getLabelledByRenderId, getLinkedComponentInstance, getMenuType, getOriginalProperty, getRenderId, getUpdatedAttributes, getUpdatedStyles, hasChildren, hasComponents, hasLocalProperty, hasMaskedChanged, hasUnappliedUIUpdates, hiddenByProp, hiddenByProperty, isAsyncEnabled, isChild, isComponent, isDefaultRender, isDisabled, isHoversActive, isIncluded, isOnTableFilterRow, isOnTableRow, isOnTableTitleRow, isVisible, propertyChanged, query, renderChildComponents, renderChildrenControls, rerendering, setChangedFlag, setChangedFlag, setComponentContainerId, setControl, setFocus, setIsHoversActive, setLabelFormat, showMenu, showMenubarMenu, signout, skipRender, updateAttribute, updateStyle, updateStyleaddChild, addChild, addRefreshListener, canSetProperty, clearChildren, clearPropChangeList, clearProperties, clone, clone, getBoolean, getChangedProperties, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getSafeId, getString, getType, getWebClientSession, handleEvent, handleEvent, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toStringpublic java.lang.String state
public java.lang.String lastState
public java.lang.String source
public java.util.Hashtable states
public java.util.Hashtable lastStates
public java.lang.String getRowNum()
getRowNum in class BaseInstancepublic java.lang.Object getState()
public java.lang.Object getLastState()
public java.lang.String updateState(java.lang.String methodName)
public boolean stateChanged()
public java.lang.String getSource()
public java.lang.String getMessage()
public java.lang.String getLabel()
public int render()
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
BoundComponentInstancerender in class BoundComponentInstancejava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionComponentInstance.render()public int getClickState()
ComponentInstancegetClickState in class ComponentInstancepublic boolean canChangeRowFocus()
canChangeRowFocus in class ComponentInstance