java.lang.Object | |||||||
↳ | javax.accessibility.AccessibleContext | ||||||
↳ | java.awt.Component.AccessibleAWTComponent | ||||||
↳ | java.awt.Container.AccessibleAWTContainer | ||||||
↳ | javax.swing.JComponent.AccessibleJComponent | ||||||
↳ | javax.swing.text.JTextComponent.AccessibleJTextComponent | ||||||
↳ | javax.swing.JTextField.AccessibleJTextField | ||||||
↳ | javax.swing.JPasswordField.AccessibleJPasswordField |
This class implements accessibility support for the
JPasswordField
class. It provides an implementation of the
Java Accessibility API appropriate to password field user-interface
elements.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans
package.
Please see XMLEncoder
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the role of this object.
| |||||||||||
Gets the
AccessibleText for the JPasswordField . | |||||||||||
Returns the
String after a given index . | |||||||||||
Returns the
String at a given index . | |||||||||||
Returns the
String before a given index . | |||||||||||
Returns the text between two
indices . | |||||||||||
Returns the
AccessibleTextSequence after a given
index . | |||||||||||
Returns the
AccessibleTextSequence at a given
index . | |||||||||||
Returns the
AccessibleTextSequence before a given
index . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Gets the role of this object.
Gets the AccessibleText
for the JPasswordField
.
The returned object also implements the
AccessibleExtendedText
interface.
AccessibleText
for the JPasswordFieldReturns the text between two indices
.
startIndex | the start index in the text |
---|---|
endIndex | the end index in the text |
null
is returnedReturns the AccessibleTextSequence
after a given
index
.
part | the CHARACTER , WORD ,
SENTENCE , LINE or ATTRIBUTE_RUN to
retrieve |
---|---|
index | an index within the text |
AccessibleTextSequence
specifying the text if
part
and index
are valid. Otherwise,
null
is returnedReturns the AccessibleTextSequence
at a given
index
.
part | the CHARACTER , WORD ,
SENTENCE , LINE or ATTRIBUTE_RUN to
retrieve |
---|---|
index | an index within the text |
AccessibleTextSequence
specifying the text if
part
and index
are valid. Otherwise,
null
is returnedReturns the AccessibleTextSequence
before a given
index
.
part | the CHARACTER , WORD ,
SENTENCE , LINE or ATTRIBUTE_RUN to
retrieve |
---|---|
index | an index within the text |
AccessibleTextSequence
specifying the text if
part
and index
are valid. Otherwise,
null
is returned