public class NodeInfo extends java.lang.Object implements Equivalence<NodeInfo>
LithoNode
and needs to be used while
mounting.Modifier and Type | Field and Description |
---|---|
static int |
ACCESSIBILITY_HEADING_SET_FALSE |
static int |
ACCESSIBILITY_HEADING_SET_TRUE |
static int |
ACCESSIBILITY_HEADING_UNSET |
static int |
CLICKABLE_SET_FALSE |
static int |
CLICKABLE_SET_TRUE |
static int |
CLICKABLE_UNSET |
static int |
ENABLED_SET_FALSE |
static int |
ENABLED_SET_TRUE |
static int |
ENABLED_UNSET |
static int |
FOCUS_SET_FALSE |
static int |
FOCUS_SET_TRUE |
static int |
FOCUS_UNSET |
static int |
SELECTED_SET_FALSE |
static int |
SELECTED_SET_TRUE |
static int |
SELECTED_UNSET |
Constructor and Description |
---|
NodeInfo() |
public static final int FOCUS_UNSET
public static final int FOCUS_SET_TRUE
public static final int FOCUS_SET_FALSE
public static final int CLICKABLE_UNSET
public static final int CLICKABLE_SET_TRUE
public static final int CLICKABLE_SET_FALSE
public static final int ENABLED_UNSET
public static final int ENABLED_SET_TRUE
public static final int ENABLED_SET_FALSE
public static final int SELECTED_UNSET
public static final int SELECTED_SET_TRUE
public static final int SELECTED_SET_FALSE
public static final int ACCESSIBILITY_HEADING_UNSET
public static final int ACCESSIBILITY_HEADING_SET_TRUE
public static final int ACCESSIBILITY_HEADING_SET_FALSE
public void setContentDescription(java.lang.CharSequence contentDescription)
public java.lang.CharSequence getContentDescription()
public void setViewTag(java.lang.Object viewTag)
public void setTransitionName(java.lang.String transitionName)
public java.lang.String getTransitionName()
public java.lang.Object getViewTag()
public void setViewTags(<any> viewTags)
public float getShadowElevation()
public void setShadowElevation(float shadowElevation)
public int getAmbientShadowColor()
public void setAmbientShadowColor(int color)
public int getSpotShadowColor()
public void setSpotShadowColor(int color)
public ViewOutlineProvider getOutlineProvider()
public void setOutlineProvider(ViewOutlineProvider outlineProvider)
public boolean getClipToOutline()
public void setClipToOutline(boolean clipToOutline)
public void setClipChildren(boolean clipChildren)
public boolean getClipChildren()
public boolean isClipChildrenSet()
public <any> getViewTags()
public void setClickHandler(EventHandler<ClickEvent> clickHandler)
public EventHandler<ClickEvent> getClickHandler()
public void setLongClickHandler(EventHandler<LongClickEvent> longClickHandler)
public EventHandler<LongClickEvent> getLongClickHandler()
public void setFocusChangeHandler(EventHandler<FocusChangedEvent> focusChangedHandler)
public EventHandler<FocusChangedEvent> getFocusChangeHandler()
public boolean hasFocusChangeHandler()
public void setTouchHandler(EventHandler<TouchEvent> touchHandler)
public EventHandler<TouchEvent> getTouchHandler()
public void setInterceptTouchHandler(EventHandler<InterceptTouchEvent> interceptTouchHandler)
public EventHandler<InterceptTouchEvent> getInterceptTouchHandler()
public boolean hasTouchEventHandlers()
public void setAccessibilityRole(java.lang.String role)
public java.lang.String getAccessibilityRole()
public void setAccessibilityRoleDescription(java.lang.CharSequence roleDescription)
public java.lang.CharSequence getAccessibilityRoleDescription()
public void setDispatchPopulateAccessibilityEventHandler(EventHandler<DispatchPopulateAccessibilityEventEvent> dispatchPopulateAccessibilityEventHandler)
public EventHandler<DispatchPopulateAccessibilityEventEvent> getDispatchPopulateAccessibilityEventHandler()
public void setOnInitializeAccessibilityEventHandler(EventHandler<OnInitializeAccessibilityEventEvent> onInitializeAccessibilityEventHandler)
public EventHandler<OnInitializeAccessibilityEventEvent> getOnInitializeAccessibilityEventHandler()
public void setOnInitializeAccessibilityNodeInfoHandler(EventHandler<OnInitializeAccessibilityNodeInfoEvent> onInitializeAccessibilityNodeInfoHandler)
public EventHandler<OnInitializeAccessibilityNodeInfoEvent> getOnInitializeAccessibilityNodeInfoHandler()
public void setOnPopulateAccessibilityEventHandler(EventHandler<OnPopulateAccessibilityEventEvent> onPopulateAccessibilityEventHandler)
public EventHandler<OnPopulateAccessibilityEventEvent> getOnPopulateAccessibilityEventHandler()
public void setOnRequestSendAccessibilityEventHandler(EventHandler<OnRequestSendAccessibilityEventEvent> onRequestSendAccessibilityEventHandler)
public EventHandler<OnRequestSendAccessibilityEventEvent> getOnRequestSendAccessibilityEventHandler()
public void setPerformAccessibilityActionHandler(EventHandler<PerformAccessibilityActionEvent> performAccessibilityActionHandler)
public EventHandler<PerformAccessibilityActionEvent> getPerformAccessibilityActionHandler()
public void setSendAccessibilityEventHandler(EventHandler<SendAccessibilityEventEvent> sendAccessibilityEventHandler)
public EventHandler<SendAccessibilityEventEvent> getSendAccessibilityEventHandler()
public void setSendAccessibilityEventUncheckedHandler(EventHandler<SendAccessibilityEventUncheckedEvent> sendAccessibilityEventUncheckedHandler)
public EventHandler<SendAccessibilityEventUncheckedEvent> getSendAccessibilityEventUncheckedHandler()
public boolean needsAccessibilityDelegate()
public void setFocusable(boolean isFocusable)
public int getFocusState()
public void setClickable(boolean isClickable)
public int getClickableState()
public void setEnabled(boolean isEnabled)
public int getEnabledState()
public void setSelected(boolean isSelected)
public int getSelectedState()
public void setAccessibilityHeading(boolean isHeading)
public int getAccessibilityHeadingState()
public float getScale()
public void setScale(float scale)
public boolean isScaleSet()
public float getAlpha()
public void setAlpha(float alpha)
public boolean isAlphaSet()
public float getRotation()
public void setRotation(float rotation)
public boolean isRotationSet()
public float getRotationX()
public void setRotationX(float rotationX)
public boolean isRotationXSet()
public float getRotationY()
public void setRotationY(float rotationY)
public boolean isRotationYSet()
public boolean isEquivalentTo(NodeInfo other)
isEquivalentTo
in interface Equivalence<NodeInfo>
other
- the other NodeInfotrue
iff this NodeInfo is equal to the .public void copyInto(NodeInfo target)
public int getFlags()