added in version 25.4.0
belongs to Maven artifact


public static final class ParallaxTarget.DirectPropertyTarget
extends ParallaxTarget

     ↳<T, V extends java.lang.Number>

DirectPropertyTarget is to support direct mapping into either Integer Property or Float Property. App uses convenient method target(Object, Property) to add a direct mapping.


Public constructors

ParallaxTarget.DirectPropertyTarget(Object targetObject, Property<T, V> property)

Public methods

void directUpdate(Number value)

Directly update the target using a float or int value.

boolean isDirectMapping()

Returns true as DirectPropertyTarget receives a number to update Property in directUpdate(Number).

Inherited methods

From class
From class java.lang.Object

Public constructors


added in version 25.4.0
ParallaxTarget.DirectPropertyTarget (Object targetObject, 
                Property<T, V> property)

targetObject Object: Target object for perform Parallax

property Property: Target