-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
sparc
-
solaris_2.6
Name: aaR10142 Date: 01/04/2001
Javadoc for new methods in swing.JTextComponent.AccessibleJTextComponent inner class have been copied from the interfaces and do not describe actual behavior
of the methods.
For example:
The javadoc says:
public void setAttributes(int startIndex,
int endIndex,
AttributeSet as)
Sets attributes for the text between two
indices.
"
But actualy the setAttributes() methods do nothing
So the javadoc should say somthing like "Implements to do nothing"
Or the javadoc says "
public String getAccessibleActionDescription(int i)
Returns a description of the specified action of
the object.
"
The javadoc should say that this method uses TextActions,
and this method returns Action.NAME property (not Action.SHORT_DESCRIPTION for example)
The list of undocumented methods follow
public AccessibleAction getAccessibleAction()
public int getAccessibleActionCount()
public String getAccessibleActionDescription(int i)
public boolean doAccessibleAction(int i)
public AccessibleEditableText getAccessibleEditableText()
public void cut(int startIndex, int endIndex)
public void paste(int index)
public void setTextContents(String contents)
public void insertTextAtIndex(int index, String contents)
public String getTextRange(int startIndex,int endIndex)
public void delete(int startIndex,int endIndex)
public void replaceText(int index, String contents)
public void selectText(int startIndex,int endIndex)
======================================================================
- relates to
-
JDK-4320345 Poor doc for accessibility inner classes in awt and swing packages.
-
- Resolved
-