belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Parallax.IntProperty
public
static
class
Parallax.IntProperty
extends Property<Parallax, Integer>
java.lang.Object | ||
↳ | android.util.Property<android.support.v17.leanback.widget.Parallax, java.lang.Integer> | |
↳ | android.support.v17.leanback.widget.Parallax.IntProperty |
![]() |
IntProperty provide access to an index based integer type property inside
Parallax
. The IntProperty typically represents UI element position inside
Parallax
.
Summary
Constants | |
---|---|
int |
UNKNOWN_AFTER
Property value is unknown and it's larger than |
int |
UNKNOWN_BEFORE
Property value is unknown and it's smaller than minimal value of Parallax. |
Public constructors | |
---|---|
Parallax.IntProperty(String name, int index)
Constructor. |
Public methods | |
---|---|
final
PropertyMarkerValue
|
at(int offsetValue, float fractionOfMaxParentVisibleSize)
Create an |
final
PropertyMarkerValue
|
atAbsolute(int absoluteValue)
Creates an |
final
PropertyMarkerValue
|
atFraction(float fractionOfMaxValue)
Creates an |
final
PropertyMarkerValue
|
atMax()
Creates an |
final
PropertyMarkerValue
|
atMin()
Creates an |
final
Integer
|
get(Parallax object)
|
final
int
|
getIndex()
|
final
int
|
getValue(Parallax object)
Fast version of get() method that returns a primitive int value of the Property. |
final
void
|
|