DepthLevels


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.

See also
Depth
depth

Summary

Public constructors

DepthLevels(
    level1: Depth,
    level2: Depth,
    level3: Depth,
    level4: Depth,
    level5: Depth
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Depth

the lowest level of Depth.

Depth

a level of Depth higher than level1 and lower than level3.

Depth

a level of Depth higher than level2 and lower than level4.

Depth

a level of Depth higher than level3 and lower than level5.

Depth

the highest level of Depth.

Public constructors

DepthLevels

Added in 1.0.0-alpha01
DepthLevels(
    level1: Depth = DepthLevel1,
    level2: Depth = DepthLevel2,
    level3: Depth = DepthLevel3,
    level4: Depth = DepthLevel4,
    level5: Depth = DepthLevel5
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

level1

Added in 1.0.0-alpha01
val level1Depth

the lowest level of Depth. This level will have the smallest shadows.

level2

Added in 1.0.0-alpha01
val level2Depth

a level of Depth higher than level1 and lower than level3.

level3

Added in 1.0.0-alpha01
val level3Depth

a level of Depth higher than level2 and lower than level4.

level4

Added in 1.0.0-alpha01
val level4Depth

a level of Depth higher than level3 and lower than level5.

level5

Added in 1.0.0-alpha01
val level5Depth

the highest level of Depth. This level will have the largest shadows.