-
-
Field Summary
Fields Modifier and Type Field Description private Stringtypeprivate Booleanfocusableprivate SelectOptionselectedprivate Actionactionprivate List<Action>actionsprivate List<Action>tileSelectedActionsprivate BooleanexpandToFillprivate Map<String, Style>stylesprivate ComponentStatestate
-
Constructor Summary
Constructors Constructor Description Spacer()
-
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 Map<String, Style>getStyles()final UnitsetStyles(@SerialName(value = styles) Map<String, Style> styles)final ComponentStategetState()final UnitsetState(ComponentState state)BooleanhasHeight()BooleanhasWidth()-
Methods inherited from class io.purchasely.views.presentation.models.Spacer
actions, allActions, hasAction, hasMainAction, hasOptionsSelected -
Methods inherited from class io.purchasely.views.presentation.models.Component
defaultStyle, hasState, style -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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)
-
getState
final ComponentState getState()
-
setState
final Unit setState(ComponentState state)
-
-
-
-