public class ToggleImage extends BoundComponentInstance
Modifier and Type | Field and Description |
---|---|
java.lang.String |
lastState |
java.util.Hashtable<java.lang.String,java.lang.String> |
lastStates |
java.lang.String |
source |
java.lang.String |
state |
java.util.Hashtable<java.lang.String,java.lang.String> |
states |
ATTRIBUTE_NAME, BAD_BINDING_CSS, bound, BOUND_LABEL, COLUMN_NAME, CSS_CLASS, DATA_ATTRIBUTE, DEFAULT_LABEL, DOMAIN, ENTITY_NAME, EVENT_PRIORITY, FIELD_LABEL, HAS_LONG_DESCRIPTION, HIDE_LABEL, ID, INT_TYPE, INTERNAL, INVALID_BINDING, IS_NUMERIC, IS_PERSISTENT, KEY, LABEL, LABELFORMAT, LENGTH, LONGDESC_ATTRIBUTE_SUFFIX, OBJECT_NAME, PRIORITY_DATATYPE, PRIORITY_FLUSH, PRIORITY_VALIDATION, QUERY, REMARKS, SCALE, SIZE, SYNCHRONOUS, TAKESVALUE, TITLE, TRUELENGTH, TYPEAHEADATTRS
CLASSSPECVALUEATTRIBUTES, DYNAMICATTRIBUTE
CLICKABLE_OFF, CLICKABLE_ON, CONTAINER_ERROR, CONTAINER_ERROR_IMAGE, CONTAINER_WARNING, CONTAINER_WARNING_IMAGE, LOG_CATEGORY, NOT_CLICKABLE, popDefinition
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 |
---|
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, 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, resetIsRevert, retryErrorValues, selectvalue, setBoundAsRequired, setcurrentdate, setDataValid, setDataValueInError, updateCachedDataValue, useMaxLength
click, dataChangedEvent, getProperty, hasAnyPropertyChanged, needsRender, resetAttribute, structureChangedEvent
action, 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, query, renderChildComponents, renderChildrenControls, rerendering, setChangedFlag, setChangedFlag, setComponentContainerId, setControl, setFocus, setIsHoversActive, setLabelFormat, showMenu, showMenubarMenu, signout, skipRender, updateAttribute, updateStyle, updateStyle
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, 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, toString
public java.lang.String state
public java.lang.String lastState
public java.lang.String source
public java.util.Hashtable<java.lang.String,java.lang.String> states
public java.util.Hashtable<java.lang.String,java.lang.String> lastStates
public java.lang.String getRowNum()
getRowNum
in class BaseInstance
public 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
BoundComponentInstance
render
in class BoundComponentInstance
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
ComponentInstance.render()
public int getClickState()
ComponentInstance
getClickState
in class ComponentInstance
public boolean canChangeRowFocus()
canChangeRowFocus
in class ComponentInstance