public class DynamicPropsManager
extends java.lang.Object
Usage from MountState
Unique per MountState
instance, which calls #onBindComponentToContent(Component, Object)
and {#link #onUnbindComponent(Component)
}
when it binds and unbinds Components respectively. When Component is being bound, a
DynamicPropsManager subscribes to DynamicValue
s that its represent dynamic props, and
keeps the mounted content the Components is rendered into in sync with DynamicValue.mValue
until the Component gets unbound, at which point, the DynamicPropsManager
unsubscribes from the DynamicValues.
Modifier and Type | Field and Description |
---|---|
static int |
KEY_ALPHA |
static int |
KEY_BACKGROUND_COLOR |
static int |
KEY_BACKGROUND_DRAWABLE |
static int |
KEY_ELEVATION |
static int |
KEY_FOREGROUND_COLOR |
static int |
KEY_ROTATION |
static int |
KEY_SCALE_X |
static int |
KEY_SCALE_Y |
static int |
KEY_TRANSLATION_X |
static int |
KEY_TRANSLATION_Y |
Constructor and Description |
---|
DynamicPropsManager() |
Modifier and Type | Method and Description |
---|---|
void |
onValueChange(DynamicValue value)
Called when a view has been clicked.
|
public static final int KEY_ALPHA
public static final int KEY_TRANSLATION_X
public static final int KEY_TRANSLATION_Y
public static final int KEY_SCALE_X
public static final int KEY_SCALE_Y
public static final int KEY_ELEVATION
public static final int KEY_BACKGROUND_COLOR
public static final int KEY_ROTATION
public static final int KEY_BACKGROUND_DRAWABLE
public static final int KEY_FOREGROUND_COLOR
public void onValueChange(DynamicValue value)
value
- The dynamic value.