BaseContext :: displayState - Display state property
Display states describes the visibility of the resource associated with the context class (GUI element or access handle). Invisibility for data (type or property context) means, that data is not accessible.
When the context handle does not refer to a valid context instance the function throws an exception.
Return value: Display state of data source ( odaba::DisplayStates )
Implementation overview
- Get display state
BaseContext :: displayState (  ) - Set display state
BaseContext :: displayState ( eDisplayState )
Implementation details
-
Get display state
odaba::DisplayStates BaseContext  :: displayState (  )
The function returns the display state currently set.
to list
-
Set display state
odaba::DisplayStates BaseContext  :: displayState ( odaba::DisplayStates eDisplayState )
The function allows setting/changing the display state to the value passed in eDisplayState . In contrast to readOnly () setter function, this function does not work recursively. Thus, setting an instance state (type context) to disabled (e.g. in a doAfterRead() event handler) will set the selected instance to read-only.
- eDisplayState - Display state of data source
to list