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