-
-
Field Summary
Fields Modifier and Type Field Description private Stringtypeprivate Booleanfocusableprivate SelectOptionselectedprivate Actionactionprivate List<Action>actionsprivate List<Action>tileSelectedActionsprivate BooleanexpandToFillprivate BooleansafeAreaTopprivate BooleansafeAreaBottomprivate Map<String, Style>stylesprivate ComponentStatestate
-
Method Summary
Modifier and Type Method Description final StringgetType()final UnitsetType(@SerialName(value = type) String type)final BooleangetFocusable()final UnitsetFocusable(@SerialName(value = focusable) Boolean focusable)final SelectOptiongetSelected()final UnitsetSelected(@SerialName(value = selected) SelectOption selected)final ActiongetAction()final UnitsetAction(@SerialName(value = on_tap) Action action)final List<Action>getActions()final UnitsetActions(@SerialName(value = actions) List<Action> actions)final List<Action>getTileSelectedActions()final UnitsetTileSelectedActions(@SerialName(value = tile_selected_actions) List<Action> tileSelectedActions)final BooleangetExpandToFill()final UnitsetExpandToFill(@SerialName(value = expand_to_fill) Boolean expandToFill)final BooleangetSafeAreaTop()final UnitsetSafeAreaTop(@SerialName(value = safe_area_top) Boolean safeAreaTop)final BooleangetSafeAreaBottom()final UnitsetSafeAreaBottom(@SerialName(value = safe_area_bottom) Boolean safeAreaBottom)final Map<String, Style>getStyles()final UnitsetStyles(@SerialName(value = styles) Map<String, Style> styles)final ComponentStategetState()final UnitsetState(ComponentState state)BooleanhasHeight()BooleanhasWidth()final List<Action>actions()final List<Action>allActions()Warning: this is used to get all the actions of the presentation, not to handle a component clickReturns all the actions of the component and of it's children. final BooleanhasAction(ActionType actions)final BooleanhasMainAction(ActionType actions)final BooleanhasOptionsSelected(String selectId, List<String> options)final IntegersafeAreas()-
-
Method Detail
-
getFocusable
final Boolean getFocusable()
-
setFocusable
final Unit setFocusable(@SerialName(value = focusable) Boolean focusable)
-
getSelected
final SelectOption getSelected()
-
setSelected
final Unit setSelected(@SerialName(value = selected) SelectOption selected)
-
getActions
final List<Action> getActions()
-
setActions
final Unit setActions(@SerialName(value = actions) List<Action> actions)
-
getTileSelectedActions
final List<Action> getTileSelectedActions()
-
setTileSelectedActions
final Unit setTileSelectedActions(@SerialName(value = tile_selected_actions) List<Action> tileSelectedActions)
-
getExpandToFill
final Boolean getExpandToFill()
-
setExpandToFill
final Unit setExpandToFill(@SerialName(value = expand_to_fill) Boolean expandToFill)
-
getSafeAreaTop
final Boolean getSafeAreaTop()
-
setSafeAreaTop
final Unit setSafeAreaTop(@SerialName(value = safe_area_top) Boolean safeAreaTop)
-
getSafeAreaBottom
final Boolean getSafeAreaBottom()
-
setSafeAreaBottom
final Unit setSafeAreaBottom(@SerialName(value = safe_area_bottom) Boolean safeAreaBottom)
-
getState
final ComponentState getState()
-
setState
final Unit setState(ComponentState state)
-
allActions
final List<Action> allActions()
Warning: this is used to get all the actions of the presentation, not to handle a component click
Returns all the actions of the component and of it's children.
This is mostly used by the rootComponent of the presentation to get all the actions. Useful for pre-fetching
-
hasAction
final Boolean hasAction(ActionType actions)
-
hasMainAction
final Boolean hasMainAction(ActionType actions)
-
hasOptionsSelected
final Boolean hasOptionsSelected(String selectId, List<String> options)
-
-
-
-