DepthLevels
public final class DepthLevels
Glimmer components can use Depth to establish a sense of hierarchy. DepthLevels contains different levels of Depth to express this hierarchy. Higher levels contain larger shadows, and represent components with a higher z-order than lower levels. In their baseline state (not focused) most components should have no (null) Depth.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
boolean |
|
final @NonNull Depth |
the lowest level of |
final @NonNull Depth |
|
final @NonNull Depth |
|
final @NonNull Depth |
|
final @NonNull Depth |
the highest level of |
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
Public methods
getLevel1
Added in 1.0.0-alpha01
public final @NonNull Depth getLevel1()
the lowest level of Depth. This level will have the smallest shadows.
getLevel5
Added in 1.0.0-alpha01
public final @NonNull Depth getLevel5()
the highest level of Depth. This level will have the largest shadows.