Package Summary  Overview Summary

class:Component.AccessibleAWTComponent [NONE]

field:accessibleAWTComponentHandler [NONE]

  • accessibleAWTComponentHandler

    protected ComponentListener accessibleAWTComponentHandler
    A component listener to track show/hide/resize events and convert them to PropertyChange events.

field:accessibleAWTFocusHandler [NONE]

  • accessibleAWTFocusHandler

    protected FocusListener accessibleAWTFocusHandler
    A listener to track focus events and convert them to PropertyChange events.

constructor:<init>() [NONE]

  • AccessibleAWTComponent

    protected AccessibleAWTComponent()
    Though the class is abstract, this should be called by all sub-classes.

method:addPropertyChangeListener(java.beans.PropertyChangeListener) [NONE]

method:removePropertyChangeListener(java.beans.PropertyChangeListener) [NONE]

  • removePropertyChangeListener

    public void removePropertyChangeListener​(PropertyChangeListener listener)
    Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.
    Overrides:
    removePropertyChangeListener in class AccessibleContext
    Parameters:
    listener - The PropertyChangeListener to be removed

method:getAccessibleName() [NONE]

  • getAccessibleName

    public String getAccessibleName()
    Gets the accessible name of this object. This should almost never return java.awt.Component.getName(), as that generally isn't a localized name, and doesn't have meaning for the user. If the object is fundamentally a text object (e.g. a menu item), the accessible name should be the text of the object (e.g. "save"). If the object has a tooltip, the tooltip text may also be an appropriate String to return.
    Overrides:
    getAccessibleName in class AccessibleContext
    Returns:
    the localized name of the object -- can be null if this object does not have a name
    See Also:
    AccessibleContext.setAccessibleName(java.lang.String)

method:getAccessibleDescription() [NONE]

  • getAccessibleDescription

    public String getAccessibleDescription()
    Gets the accessible description of this object. This should be a concise, localized description of what this object is - what is its meaning to the user. If the object has a tooltip, the tooltip text may be an appropriate string to return, assuming it contains a concise description of the object (instead of just the name of the object - e.g. a "Save" icon on a toolbar that had "save" as the tooltip text shouldn't return the tooltip text as the description, but something like "Saves the current text document" instead).
    Overrides:
    getAccessibleDescription in class AccessibleContext
    Returns:
    the localized description of the object -- can be null if this object does not have a description
    See Also:
    AccessibleContext.setAccessibleDescription(java.lang.String)

method:getAccessibleRole() [NONE]

method:getAccessibleStateSet() [NONE]

method:getAccessibleParent() [NONE]

  • getAccessibleParent

    public Accessible getAccessibleParent()
    Gets the Accessible parent of this object. If the parent of this object implements Accessible, this method should simply return getParent.
    Overrides:
    getAccessibleParent in class AccessibleContext
    Returns:
    the Accessible parent of this object -- can be null if this object does not have an Accessible parent

method:getAccessibleIndexInParent() [NONE]

  • getAccessibleIndexInParent

    public int getAccessibleIndexInParent()
    Gets the index of this object in its accessible parent.
    Specified by:
    getAccessibleIndexInParent in class AccessibleContext
    Returns:
    the index of this object in its parent; or -1 if this object does not have an accessible parent
    See Also:
    getAccessibleParent()

method:getAccessibleChildrenCount() [NONE]

  • getAccessibleChildrenCount

    public int getAccessibleChildrenCount()
    Returns the number of accessible children in the object. If all of the children of this object implement Accessible, then this method should return the number of children of this object.
    Specified by:
    getAccessibleChildrenCount in class AccessibleContext
    Returns:
    the number of accessible children in the object

method:getAccessibleChild(int) [NONE]

method:getLocale() [NONE]

  • getLocale

    public Locale getLocale()
    Returns the locale of this object.
    Specified by:
    getLocale in class AccessibleContext
    Returns:
    the locale of this object

method:getAccessibleComponent() [NONE]

method:getBackground() [NONE]

method:setBackground(java.awt.Color) [NONE]

method:getForeground() [NONE]

method:setForeground(java.awt.Color) [NONE]

method:getCursor() [NONE]

method:setCursor(java.awt.Cursor) [NONE]

  • setCursor

    public void setCursor​(Cursor cursor)
    Sets the Cursor of this object.

    The method may have no visual effect if the Java platform implementation and/or the native system do not support changing the mouse cursor shape.

    Specified by:
    setCursor in interface AccessibleComponent
    Parameters:
    cursor - the new Cursor for the object
    See Also:
    AccessibleComponent.getCursor()

method:getFont() [NONE]

method:setFont(java.awt.Font) [NONE]

method:getFontMetrics(java.awt.Font) [NONE]

method:isEnabled() [NONE]

method:setEnabled(boolean) [NONE]

method:isVisible() [NONE]

method:setVisible(boolean) [NONE]

method:isShowing() [NONE]

  • isShowing

    public boolean isShowing()
    Determines if the object is showing. This is determined by checking the visibility of the object and ancestors of the object. Note: this will return true even if the object is obscured by another (for example, it happens to be underneath a menu that was pulled down).
    Specified by:
    isShowing in interface AccessibleComponent
    Returns:
    true if object is showing; otherwise, false

method:contains(java.awt.Point) [NONE]

  • contains

    public boolean contains​(Point p)
    Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
    Specified by:
    contains in interface AccessibleComponent
    Parameters:
    p - the Point relative to the coordinate system of the object
    Returns:
    true if object contains Point; otherwise false
    See Also:
    AccessibleComponent.getBounds()

method:getLocationOnScreen() [NONE]

method:getLocation() [NONE]

method:setLocation(java.awt.Point) [NONE]

method:getBounds() [NONE]

  • getBounds

    public Rectangle getBounds()
    Gets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.
    Specified by:
    getBounds in interface AccessibleComponent
    Returns:
    a rectangle indicating this component's bounds; null if this object is not on the screen
    See Also:
    AccessibleComponent.contains(java.awt.Point)

method:setBounds(java.awt.Rectangle) [NONE]

  • setBounds

    public void setBounds​(Rectangle r)
    Sets the bounds of this object in the form of a Rectangle object. The bounds specify this object's width, height, and location relative to its parent.
    Specified by:
    setBounds in interface AccessibleComponent
    Parameters:
    r - a rectangle indicating this component's bounds
    See Also:
    AccessibleComponent.getBounds()

method:getSize() [NONE]

  • getSize

    public Dimension getSize()
    Returns the size of this object in the form of a Dimension object. The height field of the Dimension object contains this object's height, and the width field of the Dimension object contains this object's width.
    Specified by:
    getSize in interface AccessibleComponent
    Returns:
    a Dimension object that indicates the size of this component; null if this object is not on the screen
    See Also:
    AccessibleComponent.setSize(java.awt.Dimension)

method:setSize(java.awt.Dimension) [NONE]

method:getAccessibleAt(java.awt.Point) [NONE]

  • getAccessibleAt

    public Accessible getAccessibleAt​(Point p)
    Returns the Accessible child, if one exists, contained at the local coordinate Point. Otherwise returns null.
    Specified by:
    getAccessibleAt in interface AccessibleComponent
    Parameters:
    p - the point defining the top-left corner of the Accessible, given in the coordinate space of the object's parent
    Returns:
    the Accessible, if it exists, at the specified location; else null

method:isFocusTraversable() [NONE]

method:requestFocus() [NONE]

method:addFocusListener(java.awt.event.FocusListener) [NONE]

method:removeFocusListener(java.awt.event.FocusListener) [NONE]

© 2018 Oracle Corporation and/or its affiliates