|
Modifier and Type |
Method and Description |
![Overridden member indicator](../../resources/overriddenMember.gif) |
addFocusListener ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void addFocusListener(FocusListener l)
Adds the specified focus listener to receive focus events from
this component.
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
addPropertyChangeListener ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list.
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
-
Adds a PropertyChangeListener to the listener list.
- Overrides:
addPropertyChangeListener in class javax.accessibility.AccessibleContext
- Parameters:
listener - the property change listener to be added- See Also:
AccessibleContext.ACCESSIBLE_NAME_PROPERTY ,
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY ,
AccessibleContext.ACCESSIBLE_STATE_PROPERTY ,
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY ,
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY ,
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY ,
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
contains ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
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.
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 javax.accessibility.AccessibleComponent
- Overrides:
contains in class Component.AccessibleAWTComponent
- Parameters:
p - the Point relative to the coordinate system of the
object
- Returns:
- true if object contains Point; otherwise false
- See Also:
getBounds()
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
firePropertyChange ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Support for reporting bound property changes.
public void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
-
Description copied from class: javax.accessibility.AccessibleContext
Support for reporting bound property changes. If oldValue and
newValue are not equal and the PropertyChangeEvent listener list
is not empty, then fire a PropertyChange event to each listener.
In general, this is for use by the Accessible objects themselves
and should not be called by an application program.
- Parameters:
propertyName - The programmatic name of the property that
was changed.oldValue - The old value of the property.newValue - The new value of the property.- See Also:
PropertyChangeSupport ,
AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener) ,
AccessibleContext.removePropertyChangeListener(java.beans.PropertyChangeListener) ,
AccessibleContext.ACCESSIBLE_NAME_PROPERTY ,
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY ,
AccessibleContext.ACCESSIBLE_STATE_PROPERTY ,
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY ,
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY ,
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY ,
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleAction ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleAction getAccessibleAction()
Gets the AccessibleAction associated with this object that supports
one or more actions.
public javax.accessibility.AccessibleAction getAccessibleAction()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleAction associated with this object that supports
one or more actions.
- Returns:
- AccessibleAction if supported by object; else return null
- See Also:
AccessibleAction
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getAccessibleAt ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.Accessible getAccessibleAt(Point p)
Returns the Accessible child, if one exists,
contained at the local coordinate Point .
public javax.accessibility.Accessible getAccessibleAt( Point p)
-
Returns the Accessible child, if one exists,
contained at the local coordinate Point .
- Specified by:
getAccessibleAt in interface javax.accessibility.AccessibleComponent
- Overrides:
getAccessibleAt in class Component.AccessibleAWTComponent
- Parameters:
p - the point relative to the coordinate system of this
object
- Returns:
- the
Accessible , if it exists,
at the specified location; otherwise null
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getAccessibleChild ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.Accessible getAccessibleChild(int i)
Return the specified Accessible child of the object.
public javax.accessibility.Accessible getAccessibleChild(int i)
-
Return the specified Accessible child of the object. The
Accessible children of an Accessible object are zero-based,
so the first child of an Accessible child is at index 0, the
second child is at index 1, and so on.
- Overrides:
getAccessibleChild in class Component.AccessibleAWTComponent
- Parameters:
i - zero-based index of child
- Returns:
- the Accessible child of the object
- See Also:
getAccessibleChildrenCount()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getAccessibleChildrenCount ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
int getAccessibleChildrenCount()
Returns the number of accessible children of the object.
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleComponent ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleComponent getAccessibleComponent()
Gets the AccessibleComponent associated
with this object if one exists.
public javax.accessibility.AccessibleComponent getAccessibleComponent()
-
Gets the AccessibleComponent associated
with this object if one exists.
Otherwise return null .
- Overrides:
getAccessibleComponent in class javax.accessibility.AccessibleContext
- Returns:
- the component
- See Also:
AccessibleComponent
|
![Ordinary member indicator](../../resources/ordinaryMember.gif) |
getAccessibleContext ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleContext getAccessibleContext()
Gets the AccessibleContext for this object.
public javax.accessibility.AccessibleContext getAccessibleContext()
-
Gets the AccessibleContext for this object. In the
implementation of the Java Accessibility API for this class,
return this object, which acts as its own AccessibleContext.
- Specified by:
getAccessibleContext in interface javax.accessibility.Accessible
- Returns:
- this object
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleDescription ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
java.lang.String getAccessibleDescription()
Gets the accessible description of this object.
public java.lang.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 javax.accessibility.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)
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleEditableText ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleEditableText getAccessibleEditableText()
Gets the AccessibleEditableText associated with this object
presenting editable text on the display.
public javax.accessibility.AccessibleEditableText getAccessibleEditableText()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleEditableText associated with this object
presenting editable text on the display.
- Returns:
- AccessibleEditableText if supported by object; else return null
- Since:
- 1.4
- See Also:
AccessibleEditableText
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleIcon ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleIcon[] getAccessibleIcon()
Gets the AccessibleIcons associated with an object that has
one or more associated icons
public javax.accessibility.AccessibleIcon[] getAccessibleIcon()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleIcons associated with an object that has
one or more associated icons
- Returns:
- an array of AccessibleIcon if supported by object;
otherwise return null
- Since:
- 1.3
- See Also:
AccessibleIcon
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getAccessibleIndexInParent ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
int getAccessibleIndexInParent()
Get the 0-based index of this object in its accessible parent.
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleName ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
java.lang.String getAccessibleName()
Gets the accessible name of this object.
public java.lang.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 javax.accessibility.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)
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleParent ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.Accessible getAccessibleParent()
Gets the Accessible parent of this object.
public javax.accessibility.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 javax.accessibility.AccessibleContext
- Returns:
- the
Accessible parent of this
object -- can be null if this
object does not have an Accessible parent
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleRelationSet ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleRelationSet getAccessibleRelationSet()
Gets the AccessibleRelationSet associated with an object
public javax.accessibility.AccessibleRelationSet getAccessibleRelationSet()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleRelationSet associated with an object
- Returns:
- an AccessibleRelationSet if supported by object;
otherwise return null
- Since:
- 1.3
- See Also:
AccessibleRelationSet
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getAccessibleRole ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleRole getAccessibleRole()
Get the role of this object.
public javax.accessibility.AccessibleRole getAccessibleRole()
-
Get the role of this object.
- Overrides:
getAccessibleRole in class Component.AccessibleAWTComponent
- Returns:
- an instance of AccessibleRole describing the role of
the object
- See Also:
AccessibleRole
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleSelection ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleSelection getAccessibleSelection()
Gets the AccessibleSelection associated with this object which allows its
Accessible children to be selected.
public javax.accessibility.AccessibleSelection getAccessibleSelection()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleSelection associated with this object which allows its
Accessible children to be selected.
- Returns:
- AccessibleSelection if supported by object; else return null
- See Also:
AccessibleSelection
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getAccessibleStateSet ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleStateSet getAccessibleStateSet()
Get the state set of this object.
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleTable ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleTable getAccessibleTable()
Gets the AccessibleTable associated with an object
public javax.accessibility.AccessibleTable getAccessibleTable()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleTable associated with an object
- Returns:
- an AccessibleTable if supported by object;
otherwise return null
- Since:
- 1.3
- See Also:
AccessibleTable
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleText ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleText getAccessibleText()
Gets the AccessibleText associated with this object presenting
text on the display.
public javax.accessibility.AccessibleText getAccessibleText()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleText associated with this object presenting
text on the display.
- Returns:
- AccessibleText if supported by object; else return null
- See Also:
AccessibleText
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
getAccessibleValue ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
javax.accessibility.AccessibleValue getAccessibleValue()
Gets the AccessibleValue associated with this object that supports a
Numerical value.
public javax.accessibility.AccessibleValue getAccessibleValue()
-
Description copied from class: javax.accessibility.AccessibleContext
Gets the AccessibleValue associated with this object that supports a
Numerical value.
- Returns:
- AccessibleValue if supported by object; else return null
- See Also:
AccessibleValue
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getBackground ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Get the background color of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getBounds ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Gets the bounds of this object in the form of a Rectangle object.
-
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 javax.accessibility.AccessibleComponent
- Overrides:
getBounds in class Component.AccessibleAWTComponent
- Returns:
- A rectangle indicating this component's bounds; null if
this object is not on the screen.
- See Also:
contains(java.awt.Point)
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getCursor ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Get the Cursor of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getFont ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Get the Font of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getFontMetrics ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Get the FontMetrics of this object.
-
Get the FontMetrics of this object.
- Specified by:
getFontMetrics in interface javax.accessibility.AccessibleComponent
- Overrides:
getFontMetrics in class Component.AccessibleAWTComponent
- Parameters:
f - the Font
- Returns:
- the FontMetrics, if supported, the object; otherwise, null
- See Also:
getFont()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getForeground ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Get the foreground color of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getLocale ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
java.util.Locale getLocale()
Gets the locale of the component.
public java.util.Locale getLocale()
-
Gets the locale of the component. If the component does not
have a locale, then the locale of its parent is returned.
- Overrides:
getLocale in class Component.AccessibleAWTComponent
- Returns:
- This component's locale. If this component does not have
a locale, the locale of its parent is returned.
- Throws:
IllegalComponentStateException - If the Component does not have its own locale and has not yet
been added to a containment hierarchy such that the locale can
be determined from the containing parent.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getLocation ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
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.
public Point 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.
- Specified by:
getLocation in interface javax.accessibility.AccessibleComponent
- Overrides:
getLocation in class Component.AccessibleAWTComponent
- Returns:
- An instance of Point representing the top-left corner of
the objects's bounds in the coordinate space of the screen; null
if this object or its parent are not on the screen
- See Also:
getBounds() ,
getLocationOnScreen()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getLocationOnScreen ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Point getLocationOnScreen()
Returns the location of the object on the screen.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
getSize ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
Returns the size of this object in the form of a Dimension
object.
-
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 javax.accessibility.AccessibleComponent
- Overrides:
getSize in class Component.AccessibleAWTComponent
- Returns:
- A Dimension object that indicates the size of this
component; null if this object is not on the screen
- See Also:
setSize(java.awt.Dimension)
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
isEnabled ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
boolean isEnabled()
Determine if the object is enabled.
public boolean isEnabled()
-
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 javax.accessibility.AccessibleComponent
- Overrides:
isEnabled in class Component.AccessibleAWTComponent
- Returns:
- true if object is enabled; otherwise, false
- See Also:
setEnabled(boolean) ,
AccessibleContext.getAccessibleStateSet() ,
AccessibleState.ENABLED ,
AccessibleStateSet
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
isFocusTraversable ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
boolean isFocusTraversable()
Returns whether this object can accept focus or not.
public boolean isFocusTraversable()
-
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 javax.accessibility.AccessibleComponent
- Overrides:
isFocusTraversable in class Component.AccessibleAWTComponent
- Returns:
- true if object can accept focus; otherwise false
- See Also:
AccessibleContext.getAccessibleStateSet() ,
AccessibleState.FOCUSABLE ,
AccessibleState.FOCUSED ,
AccessibleStateSet
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
isShowing ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
boolean isShowing()
Determine if the object is showing.
public boolean isShowing()
-
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 javax.accessibility.AccessibleComponent
- Overrides:
isShowing in class Component.AccessibleAWTComponent
- Returns:
- true if object is showing; otherwise, false
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
isVisible ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
boolean isVisible()
Determine if the object is visible.
public boolean isVisible()
-
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 javax.accessibility.AccessibleComponent
- Overrides:
isVisible in class Component.AccessibleAWTComponent
- Returns:
- true if object is visible; otherwise, false
- See Also:
setVisible(boolean) ,
AccessibleContext.getAccessibleStateSet() ,
AccessibleState.VISIBLE ,
AccessibleStateSet
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
removeFocusListener ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void removeFocusListener(FocusListener l)
Removes the specified focus listener so it no longer receives
focus events from this component.
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
removePropertyChangeListener ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list.
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
-
Remove a PropertyChangeListener from the listener list.
This removes a PropertyChangeListener that was registered
for all properties.
- Overrides:
removePropertyChangeListener in class javax.accessibility.AccessibleContext
- Parameters:
listener - The PropertyChangeListener to be removed
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
requestFocus ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void requestFocus()
Requests focus for this object.
public void requestFocus()
-
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 javax.accessibility.AccessibleComponent
- Overrides:
requestFocus in class Component.AccessibleAWTComponent
- See Also:
isFocusTraversable()
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
setAccessibleDescription ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setAccessibleDescription(java.lang.String s)
Sets the accessible description of this object.
public void setAccessibleDescription(java.lang.String s)
-
Description copied from class: javax.accessibility.AccessibleContext
Sets the accessible description of this object. Changing the
name will cause a PropertyChangeEvent to be fired for the
ACCESSIBLE_DESCRIPTION_PROPERTY property.
- Parameters:
s - the new localized description of the object- See Also:
AccessibleContext.setAccessibleName(java.lang.String) ,
AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener)
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
setAccessibleName ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setAccessibleName(java.lang.String s)
Sets the localized accessible name of this object.
public void setAccessibleName(java.lang.String s)
-
Description copied from class: javax.accessibility.AccessibleContext
Sets the localized accessible name of this object. Changing the
name will cause a PropertyChangeEvent to be fired for the
ACCESSIBLE_NAME_PROPERTY property.
- Parameters:
s - the new localized name of the object.- See Also:
AccessibleContext.getAccessibleName() ,
AccessibleContext.addPropertyChangeListener(java.beans.PropertyChangeListener)
|
![Inherited member indicator](../../resources/inheritedMember.gif) |
setAccessibleParent ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setAccessibleParent(javax.accessibility.Accessible a)
Sets the Accessible parent of this object.
public void setAccessibleParent(javax.accessibility.Accessible a)
-
Description copied from class: javax.accessibility.AccessibleContext
Sets the Accessible parent of this object. This is meant to be used
only in the situations where the actual component's parent should
not be treated as the component's accessible parent and is a method
that should only be called by the parent of the accessible child.
- Parameters:
a - - Accessible to be set as the parent
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setBackground ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setBackground(Color c)
Set the background color of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setBounds ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setBounds(Rectangle r)
Sets the bounds of this object in the form of a Rectangle
object.
-
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 javax.accessibility.AccessibleComponent
- Overrides:
setBounds in class Component.AccessibleAWTComponent
- Parameters:
r - rectangle indicating this component's bounds- See Also:
getBounds()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setCursor ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setCursor(Cursor cursor)
Set the Cursor of this object.
public void setCursor( Cursor cursor)
-
Set 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 javax.accessibility.AccessibleComponent
- Overrides:
setCursor in class Component.AccessibleAWTComponent
- Parameters:
cursor - the new Cursor for the object- See Also:
getCursor()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setEnabled ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setEnabled(boolean b)
Set the enabled state of the object.
public void setEnabled(boolean b)
-
Set the enabled state of the object.
- Specified by:
setEnabled in interface javax.accessibility.AccessibleComponent
- Overrides:
setEnabled in class Component.AccessibleAWTComponent
- Parameters:
b - if true, enables this object; otherwise, disables it- See Also:
isEnabled()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setFont ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setFont(Font f)
Set the Font of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setForeground ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setForeground(Color c)
Set the foreground color of this object.
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setLocation ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setLocation(Point p)
Sets the location of the object relative to the parent.
public void setLocation( Point p)
-
Sets the location of the object relative to the parent.
- Specified by:
setLocation in interface javax.accessibility.AccessibleComponent
- Overrides:
setLocation in class Component.AccessibleAWTComponent
- Parameters:
p - the new position for the top-left corner- See Also:
getLocation()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setSize ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setSize(Dimension d)
Resizes this object so that it has width and height.
-
Resizes this object so that it has width and height.
- Specified by:
setSize in interface javax.accessibility.AccessibleComponent
- Overrides:
setSize in class Component.AccessibleAWTComponent
- Parameters:
d - - The dimension specifying the new size of the object.- See Also:
getSize()
|
![Overridden member indicator](../../resources/overriddenMember.gif) |
setVisible ![Reveal Detail](../../resources/collapsed.gif) ![Hide Detail](../../resources/expanded.gif) |
void setVisible(boolean b)
Set the visible state of the object.
public void setVisible(boolean b)
-
Set the visible state of the object.
- Specified by:
setVisible in interface javax.accessibility.AccessibleComponent
- Overrides:
setVisible in class Component.AccessibleAWTComponent
- Parameters:
b - if true, shows this object; otherwise, hides it- See Also:
isVisible()
|