T - the type of the component implementing this interfacepublic interface IsCollapsible<T>
Collapsible| Modifier and Type | Method and Description |
|---|---|
T |
hide()
Hides the component
|
boolean |
isCollapsed() |
default boolean |
isExpanded() |
boolean |
isHidden()
Deprecated.
use
isCollapsed() |
T |
show()
Show the component
|
T |
toggleDisplay()
if the component is visible then hide it, otherwise show it
|
T |
toggleDisplay(boolean state)
Show/hides the component based on the provided flag
|
T show()
T hide()
T toggleDisplay()
T toggleDisplay(boolean state)
state - boolean, if true show the component, if false hide it@Deprecated boolean isHidden()
isCollapsed()boolean isCollapsed()
default boolean isExpanded()
Copyright © 2019–2022 Dominokit. All rights reserved.