Class com.sun.java.swing.
JList.AccessibleJList.AccessibleJListChild
java.lang.Object
|
+--com.sun.java.accessibility.AccessibleContext
|
+--com.sun.java.swing.JList.AccessibleJList.AccessibleJListChild
- protected class JList.AccessibleJList.AccessibleJListChild
- extends AccessibleContext
- implements Accessible, AccessibleComponent
Fields inherited from class com.sun.java.accessibility.AccessibleContext |
ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent |
Methods inherited from class com.sun.java.accessibility.AccessibleContext |
addPropertyChangeListener, firePropertyChange, getAccessibleAction, getAccessibleChild, getAccessibleChildrenCount, getAccessibleComponent, getAccessibleDescription, getAccessibleIndexInParent, getAccessibleName, getAccessibleParent, getAccessibleRole, getAccessibleSelection, getAccessibleStateSet, getAccessibleText, getAccessibleValue, getLocale, removePropertyChangeListener, setAccessibleDescription, setAccessibleName, setAccessibleParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
JList.AccessibleJList.AccessibleJListChild
public JList.AccessibleJList.AccessibleJListChild(JList.AccessibleJList this$1,
JList parent,
int indexInParent)
getAccessibleContext
public AccessibleContext getAccessibleContext()
- Description copied from interface:
Returns the AccessibleContext associated with this object. In most
cases, the return value should not be null if the object implements
interface Accessible. If a component developer creates a subclass
of an object that implements Accessible, and that subclass
is not Accessible, the developer should override the
getAccessibleContext method to return null.
- Specified by:
- getAccessibleContext in interface Accessible
getAccessibleName
public java.lang.String getAccessibleName()
- Overrides:
- getAccessibleName in class AccessibleContext
setAccessibleName
public void setAccessibleName(java.lang.String s)
- Overrides:
- setAccessibleName in class AccessibleContext
getAccessibleDescription
public java.lang.String getAccessibleDescription()
- Overrides:
- getAccessibleDescription in class AccessibleContext
setAccessibleDescription
public void setAccessibleDescription(java.lang.String s)
- Overrides:
- setAccessibleDescription in class AccessibleContext
getAccessibleRole
public AccessibleRole getAccessibleRole()
- Overrides:
- getAccessibleRole in class AccessibleContext
getAccessibleStateSet
public AccessibleStateSet getAccessibleStateSet()
- Overrides:
- getAccessibleStateSet in class AccessibleContext
getAccessibleIndexInParent
public int getAccessibleIndexInParent()
- Overrides:
- getAccessibleIndexInParent in class AccessibleContext
getAccessibleChildrenCount
public int getAccessibleChildrenCount()
- Overrides:
- getAccessibleChildrenCount in class AccessibleContext
getAccessibleChild
public Accessible getAccessibleChild(int i)
- Overrides:
- getAccessibleChild in class AccessibleContext
getLocale
public java.util.Locale getLocale()
- Overrides:
- getLocale in class AccessibleContext
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Overrides:
- addPropertyChangeListener in class AccessibleContext
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
- Overrides:
- removePropertyChangeListener in class AccessibleContext
getAccessibleAction
public AccessibleAction getAccessibleAction()
- Overrides:
- getAccessibleAction in class AccessibleContext
getAccessibleComponent
public AccessibleComponent getAccessibleComponent()
- Overrides:
- getAccessibleComponent in class AccessibleContext
getAccessibleSelection
public AccessibleSelection getAccessibleSelection()
- Overrides:
- getAccessibleSelection in class AccessibleContext
getAccessibleText
public AccessibleText getAccessibleText()
- Overrides:
- getAccessibleText in class AccessibleContext
getAccessibleValue
public AccessibleValue getAccessibleValue()
- Overrides:
- getAccessibleValue in class AccessibleContext
getBackground
public java.awt.Color getBackground()
- Description copied from interface:
Get the background color of this object.
- Specified by:
- getBackground in interface AccessibleComponent
setBackground
public void setBackground(java.awt.Color c)
- Description copied from interface:
Set the background color of this object.
- Specified by:
- setBackground in interface AccessibleComponent
getForeground
public java.awt.Color getForeground()
- Description copied from interface:
Get the foreground color of this object.
- Specified by:
- getForeground in interface AccessibleComponent
setForeground
public void setForeground(java.awt.Color c)
- Description copied from interface:
Set the foreground color of this object.
- Specified by:
- setForeground in interface AccessibleComponent
getCursor
public java.awt.Cursor getCursor()
- Description copied from interface:
Get the Cursor of this object.
- Specified by:
- getCursor in interface AccessibleComponent
setCursor
public void setCursor(java.awt.Cursor c)
- Description copied from interface:
Set the Cursor of this object.
- Specified by:
- setCursor in interface AccessibleComponent
getFont
public java.awt.Font getFont()
- Description copied from interface:
Get the Font of this object.
- Specified by:
- getFont in interface AccessibleComponent
setFont
public void setFont(java.awt.Font f)
- Description copied from interface:
Set the Font of this object.
- Specified by:
- setFont in interface AccessibleComponent
getFontMetrics
public java.awt.FontMetrics getFontMetrics(java.awt.Font f)
- Description copied from interface:
Get the FontMetrics of this object.
- Specified by:
- getFontMetrics in interface AccessibleComponent
isEnabled
public boolean isEnabled()
- Description copied from interface:
Determine if the object is enabled. Objects that are enabled
will also have the AccessibleState.ENABLED state set in their
AccessibleStateSet.
- Specified by:
- isEnabled in interface AccessibleComponent
setEnabled
public void setEnabled(boolean b)
- Description copied from interface:
Set the enabled state of the object.
- Specified by:
- setEnabled in interface AccessibleComponent
isVisible
public boolean isVisible()
- Description copied from interface:
Determine if the object is visible. Note: this means that the
object intends to be visible; however, it may not be
showing on the screen because one of the objects that this object
is contained by is currently not visible. To determine if an object is
showing on the screen, use isShowing().
Objects that are visible will also have the
AccessibleState.VISIBLE state set in their AccessibleStateSet.
- Specified by:
- isVisible in interface AccessibleComponent
setVisible
public void setVisible(boolean b)
- Description copied from interface:
Set the visible state of the object.
- Specified by:
- setVisible in interface AccessibleComponent
isShowing
public boolean isShowing()
- Description copied from interface:
Determine if the object is showing. This is determined by checking
the visibility of the object and visibility of the object ancestors.
Note: this
will return true even if the object is obscured by another (for example,
it to object is underneath a menu that was pulled down).
- Specified by:
- isShowing in interface AccessibleComponent
contains
public boolean contains(java.awt.Point p)
- Description copied from interface:
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
getLocationOnScreen
public java.awt.Point getLocationOnScreen()
- Description copied from interface:
Returns the location of the object on the screen.
- Specified by:
- getLocationOnScreen in interface AccessibleComponent
getLocation
public java.awt.Point getLocation()
- Description copied from interface:
Gets the location of the object relative to the parent in the form
of a point specifying the object's top-left corner in the screen's
coordinate space.
- Specified by:
- getLocation in interface AccessibleComponent
setLocation
public void setLocation(java.awt.Point p)
- Description copied from interface:
Sets the location of the object relative to the parent.
- Specified by:
- setLocation in interface AccessibleComponent
getBounds
public java.awt.Rectangle getBounds()
- Description copied from interface:
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
setBounds
public void setBounds(java.awt.Rectangle r)
- Description copied from interface:
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
getSize
public java.awt.Dimension getSize()
- Description copied from interface:
Returns the size of this object in the form of a Dimension object.
The height field of the Dimension object contains this objects's
height, and the width field of the Dimension object contains this
object's width.
- Specified by:
- getSize in interface AccessibleComponent
setSize
public void setSize(java.awt.Dimension d)
- Description copied from interface:
Resizes this object so that it has width and height.
- Specified by:
- setSize in interface AccessibleComponent
getAccessibleAt
public Accessible getAccessibleAt(java.awt.Point p)
- Description copied from interface:
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
- Specified by:
- getAccessibleAt in interface AccessibleComponent
isFocusTraversable
public boolean isFocusTraversable()
- Description copied from interface:
Returns whether this object can accept focus or not. Objects that
can accept focus will also have the AccessibleState.FOCUSABLE state
set in their AccessibleStateSet.
- Specified by:
- isFocusTraversable in interface AccessibleComponent
requestFocus
public void requestFocus()
- Description copied from interface:
Requests focus for this object. If this object cannot accept focus,
nothing will happen. Otherwise, the object will attempt to take
focus.
- Specified by:
- requestFocus in interface AccessibleComponent
addFocusListener
public void addFocusListener(java.awt.event.FocusListener l)
- Description copied from interface:
Adds the specified focus listener to receive focus events from this
component.
- Specified by:
- addFocusListener in interface AccessibleComponent
removeFocusListener
public void removeFocusListener(java.awt.event.FocusListener l)
- Description copied from interface:
Removes the specified focus listener so it no longer receives focus
events from this component.
- Specified by:
- removeFocusListener in interface AccessibleComponent
Submit a bug or feature
Submit comments/suggestions about javadoc
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.