Example usage for android.view.accessibility AccessibilityNodeInfo setClassName

List of usage examples for android.view.accessibility AccessibilityNodeInfo setClassName

Introduction

In this page you can find the example usage for android.view.accessibility AccessibilityNodeInfo setClassName.

Prototype

public void setClassName(CharSequence className) 

Source Link

Document

Sets the class this node comes from.

Usage

From source file:android.support.v7.widget.AppCompatButton.java

@Override
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
}

From source file:com.fenlisproject.elf.core.widget.ExtendedEditText.java

@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Override/*  ww  w .  ja v  a  2  s .  c  o  m*/
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(EditText.class.getName());
}

From source file:com.albedinsky.android.ui.widget.ActionTextButton.java

/**
 *///from  ww  w.  j av  a  2  s . c om
@Override
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(ActionTextButton.class.getName());
}

From source file:android.support.v7.widget.XpAppCompatButton.java

@Override
@TargetApi(14)//from w w w.  j  av  a 2 s . c  o  m
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
}

From source file:com.fenlisproject.elf.core.widget.ExtendedButton.java

@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Override/*from  ww  w . j a  v a2 s.c om*/
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
}

From source file:com.android.switchaccess.test.ShadowAccessibilityNodeInfoCompat.java

@Implementation
public void setClassName(CharSequence className) {
    final AccessibilityNodeInfo info = (AccessibilityNodeInfo) mRealObject.getInfo();
    info.setClassName(className);
}

From source file:com.example.android.supportv4.media.MediaController.java

@Override
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(MediaController.class.getName());
}

From source file:com.albedinsky.android.support.ui.widget.FrameLayoutWidget.java

/**
 *//*w  w  w  .  j  a v a2s  .c o  m*/
@Override
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(FrameLayoutWidget.class.getName());
}

From source file:com.albedinsky.android.support.ui.widget.LinearLayoutWidget.java

/**
 *///  w  ww .  java2  s . co  m
@Override
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(LinearLayoutWidget.class.getName());
}

From source file:com.albedinsky.android.support.ui.widget.RelativeLayoutWidget.java

/**
 *///from ww w. j  av a 2  s  .c om
@Override
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(RelativeLayoutWidget.class.getName());
}