MenuComponent.AccessibleAWTMenuComponent (Java Platform SE 8 ) (original) (raw)
Modifier and Type
Method
Description
void
[addAccessibleSelection](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#addAccessibleSelection-int-)(int i)
Adds the specified Accessible
child of the object to the object's selection.
void
[addFocusListener](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#addFocusListener-java.awt.event.FocusListener-)([FocusListener](../../java/awt/event/FocusListener.html "interface in java.awt.event") l)
Adds the specified focus listener to receive focus events from this component.
void
[clearAccessibleSelection](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#clearAccessibleSelection--)()
Clears the selection in the object, so that no children in the object are selected.
boolean
[contains](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#contains-java.awt.Point-)([Point](../../java/awt/Point.html "class in java.awt") 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.
[Accessible](../../javax/accessibility/Accessible.html "interface in javax.accessibility")
[getAccessibleAt](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleAt-java.awt.Point-)([Point](../../java/awt/Point.html "class in java.awt") p)
Returns the Accessible
child, if one exists, contained at the local coordinate Point
.
[Accessible](../../javax/accessibility/Accessible.html "interface in javax.accessibility")
[getAccessibleChild](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleChild-int-)(int i)
Returns the nth Accessible
child of the object.
int
[getAccessibleChildrenCount](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleChildrenCount--)()
Returns the number of accessible children in the object.
[AccessibleComponent](../../javax/accessibility/AccessibleComponent.html "interface in javax.accessibility")
[getAccessibleComponent](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleComponent--)()
Gets the AccessibleComponent
associated with this object if one exists.
[String](../../java/lang/String.html "class in java.lang")
[getAccessibleDescription](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleDescription--)()
Gets the accessible description of this object.
int
[getAccessibleIndexInParent](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleIndexInParent--)()
Gets the index of this object in its accessible parent.
[String](../../java/lang/String.html "class in java.lang")
[getAccessibleName](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleName--)()
Gets the accessible name of this object.
[Accessible](../../javax/accessibility/Accessible.html "interface in javax.accessibility")
[getAccessibleParent](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleParent--)()
Gets the Accessible
parent of this object.
[AccessibleRole](../../javax/accessibility/AccessibleRole.html "class in javax.accessibility")
[getAccessibleRole](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleRole--)()
Gets the role of this object.
[AccessibleSelection](../../javax/accessibility/AccessibleSelection.html "interface in javax.accessibility")
[getAccessibleSelection](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleSelection--)()
Gets the AccessibleSelection
associated with this object which allows its Accessible
children to be selected.
[Accessible](../../javax/accessibility/Accessible.html "interface in javax.accessibility")
[getAccessibleSelection](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleSelection-int-)(int i)
Returns an Accessible
representing the specified selected child in the object.
int
[getAccessibleSelectionCount](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleSelectionCount--)()
Returns the number of Accessible
children currently selected.
[AccessibleStateSet](../../javax/accessibility/AccessibleStateSet.html "class in javax.accessibility")
[getAccessibleStateSet](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getAccessibleStateSet--)()
Gets the state of this object.
[Color](../../java/awt/Color.html "class in java.awt")
[getBackground](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getBackground--)()
Gets the background color of this object.
[Rectangle](../../java/awt/Rectangle.html "class in java.awt")
[getBounds](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getBounds--)()
Gets the bounds of this object in the form of aRectangle
object.
[Cursor](../../java/awt/Cursor.html "class in java.awt")
[getCursor](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getCursor--)()
Gets the Cursor
of this object.
[Font](../../java/awt/Font.html "class in java.awt")
[getFont](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getFont--)()
Gets the Font
of this object.
[FontMetrics](../../java/awt/FontMetrics.html "class in java.awt")
[getFontMetrics](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getFontMetrics-java.awt.Font-)([Font](../../java/awt/Font.html "class in java.awt") f)
Gets the FontMetrics
of this object.
[Color](../../java/awt/Color.html "class in java.awt")
[getForeground](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getForeground--)()
Gets the foreground color of this object.
[Locale](../../java/util/Locale.html "class in java.util")
[getLocale](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getLocale--)()
Returns the locale of this object.
[Point](../../java/awt/Point.html "class in java.awt")
[getLocation](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getLocation--)()
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.
[Point](../../java/awt/Point.html "class in java.awt")
[getLocationOnScreen](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getLocationOnScreen--)()
Returns the location of the object on the screen.
[Dimension](../../java/awt/Dimension.html "class in java.awt")
[getSize](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#getSize--)()
Returns the size of this object in the form of aDimension
object.
boolean
[isAccessibleChildSelected](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#isAccessibleChildSelected-int-)(int i)
Determines if the current child of this object is selected.
boolean
[isEnabled](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#isEnabled--)()
Determines if the object is enabled.
boolean
[isFocusTraversable](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#isFocusTraversable--)()
Returns whether this object can accept focus or not.
boolean
[isShowing](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#isShowing--)()
Determines if the object is showing.
boolean
[isVisible](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#isVisible--)()
Determines if the object is visible.
void
[removeAccessibleSelection](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#removeAccessibleSelection-int-)(int i)
Removes the specified child of the object from the object's selection.
void
[removeFocusListener](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#removeFocusListener-java.awt.event.FocusListener-)([FocusListener](../../java/awt/event/FocusListener.html "interface in java.awt.event") l)
Removes the specified focus listener so it no longer receives focus events from this component.
void
[requestFocus](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#requestFocus--)()
Requests focus for this object.
void
[selectAllAccessibleSelection](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#selectAllAccessibleSelection--)()
Causes every child of the object to be selected if the object supports multiple selections.
void
[setBackground](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setBackground-java.awt.Color-)([Color](../../java/awt/Color.html "class in java.awt") c)
Sets the background color of this object.
void
[setBounds](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setBounds-java.awt.Rectangle-)([Rectangle](../../java/awt/Rectangle.html "class in java.awt") r)
Sets the bounds of this object in the form of aRectangle
object.
void
[setCursor](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setCursor-java.awt.Cursor-)([Cursor](../../java/awt/Cursor.html "class in java.awt") cursor)
Sets the Cursor
of this object.
void
[setEnabled](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setEnabled-boolean-)(boolean b)
Sets the enabled state of the object.
void
[setFont](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setFont-java.awt.Font-)([Font](../../java/awt/Font.html "class in java.awt") f)
Sets the Font
of this object.
void
[setForeground](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setForeground-java.awt.Color-)([Color](../../java/awt/Color.html "class in java.awt") c)
Sets the foreground color of this object.
void
[setLocation](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setLocation-java.awt.Point-)([Point](../../java/awt/Point.html "class in java.awt") p)
Sets the location of the object relative to the parent.
void
[setSize](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setSize-java.awt.Dimension-)([Dimension](../../java/awt/Dimension.html "class in java.awt") d)
Resizes this object.
void
[setVisible](../../java/awt/MenuComponent.AccessibleAWTMenuComponent.html#setVisible-boolean-)(boolean b)
Sets the visible state of the object.