Example usage for javax.accessibility Accessible interface-usage

List of usage examples for javax.accessibility Accessible interface-usage

Introduction

In this page you can find the example usage for javax.accessibility Accessible interface-usage.

Usage

From source file Main.java

public class Main implements Accessible {
    public AccessibleContext getAccessibleContext() {
        return new AccessibleContext() {

            @Override
            public AccessibleRole getAccessibleRole() {

From source file misc.Corner.java

public class Corner extends JComponent implements Accessible {
    protected void paintComponent(Graphics g) {
        // Fill me with dirty brown/orange.
        g.setColor(new Color(230, 163, 4));
        g.fillRect(0, 0, getWidth(), getHeight());
    }

From source file misc.Picture.java

class Picture extends JComponent implements MouseListener, FocusListener, Accessible {
    Image image;

    public Picture(Image image) {

        this.image = image;

From source file misc.Rule.java

public class Rule extends JComponent implements Accessible {
    public static final int INCH = Toolkit.getDefaultToolkit().getScreenResolution();
    public static final int HORIZONTAL = 0;
    public static final int VERTICAL = 1;
    public static final int SIZE = 35;

From source file org.openide.windows.TopComponent.java

/** Embeddable visual component to be displayed in the IDE.
 * This is the basic unit of display in the IDE--windows should not be
 * created directly, but rather use this class.
 * A top component may correspond to a single window, but may also
 * be a tab (e.g.) in a window. It may be docked or undocked,
 * have selected nodes, supply actions, etc.

From source file TrackFocusDemo.java

class Picture extends JComponent implements MouseListener, FocusListener, Accessible {
    Image image;

    public Picture(Image image) {

        this.image = image;

From source file AccessibleScrollDemo.java

class Rule extends JComponent implements Accessible {
    public static final int INCH = Toolkit.getDefaultToolkit().getScreenResolution();

    public static final int HORIZONTAL = 0;

    public static final int VERTICAL = 1;

From source file net.sf.vfsjfilechooser.VFSJFileChooser.java

/**
 * The filechooser class with commons-VFS abstraction layer based on JFileChooser
 * @author Yves Zoundi <yveszoundi at users dot sf dot net>
 * @version 0.0.1
 */
@SuppressWarnings("serial")

From source file com.googlecode.vfsjfilechooser2.VFSJFileChooser.java

/**
 * The filechooser class with commons-VFS abstraction layer based on JFileChooser
 * @author Yves Zoundi <yveszoundi at users dot sf dot net>
 * @version 0.0.1
 */
@SuppressWarnings("serial")

From source file DragPictureDemo2.java

class Picture extends JComponent implements MouseListener, FocusListener, Accessible {
    Image image;

    public Picture(Image image) {

        this.image = image;