public abstract class BaseViewManager<T extends android.view.View,C extends LayoutShadowNode> extends ViewManager<T,C>
ViewManager
.
It provides support for base view properties such as backgroundColor, opacity, etc.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_TEST_ID
Used to locate views in end-to-end (UI) tests.
|
Constructor and Description |
---|
BaseViewManager() |
Modifier and Type | Method and Description |
---|---|
void |
setAccessibilityComponentType(T view,
java.lang.String accessibilityComponentType) |
void |
setAccessibilityLabel(T view,
java.lang.String accessibilityLabel) |
void |
setAccessibilityLiveRegion(T view,
java.lang.String liveRegion) |
void |
setBackgroundColor(T view,
int backgroundColor) |
void |
setDecomposedMatrix(T view,
ReadableMap decomposedMatrix) |
void |
setElevation(T view,
float elevation) |
void |
setImportantForAccessibility(T view,
java.lang.String importantForAccessibility) |
void |
setOpacity(T view,
float opacity) |
void |
setRenderToHardwareTexture(T view,
boolean useHWTexture) |
void |
setRotation(T view,
float rotation)
Deprecated.
|
void |
setScaleX(T view,
float scaleX)
Deprecated.
|
void |
setScaleY(T view,
float scaleY)
Deprecated.
|
void |
setTestId(T view,
java.lang.String testId) |
void |
setTranslateX(T view,
float translateX)
Deprecated.
|
void |
setTranslateY(T view,
float translateY)
Deprecated.
|
addEventEmitters, createShadowNodeInstance, createView, createViewInstance, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getName, getNativeProps, getShadowNodeClass, onAfterUpdateTransaction, onDropViewInstance, receiveCommand, updateExtraData, updateProperties
public static final java.lang.String PROP_TEST_ID
public void setBackgroundColor(T view, int backgroundColor)
public void setDecomposedMatrix(T view, ReadableMap decomposedMatrix)
public void setOpacity(T view, float opacity)
public void setElevation(T view, float elevation)
public void setRenderToHardwareTexture(T view, boolean useHWTexture)
public void setTestId(T view, java.lang.String testId)
public void setAccessibilityLabel(T view, java.lang.String accessibilityLabel)
public void setAccessibilityComponentType(T view, java.lang.String accessibilityComponentType)
public void setImportantForAccessibility(T view, java.lang.String importantForAccessibility)
@Deprecated public void setRotation(T view, float rotation)
@Deprecated public void setScaleX(T view, float scaleX)
@Deprecated public void setScaleY(T view, float scaleY)
@Deprecated public void setTranslateX(T view, float translateX)
@Deprecated public void setTranslateY(T view, float translateY)
public void setAccessibilityLiveRegion(T view, java.lang.String liveRegion)