96 |
|
|
97 |
/** |
/** |
98 |
* Constructor AccessibleJTextComponent |
* Constructor AccessibleJTextComponent |
|
* @param component TODO |
|
99 |
*/ |
*/ |
100 |
public AccessibleJTextComponent() |
public AccessibleJTextComponent() |
101 |
{ |
{ |
711 |
* @return A Keymap associated with the provided name, or |
* @return A Keymap associated with the provided name, or |
712 |
* <code>null</code> if no such Keymap exists |
* <code>null</code> if no such Keymap exists |
713 |
* |
* |
714 |
* @see #addKeymap() |
* @see #addKeymap |
715 |
* @see #removeKeymap() |
* @see #removeKeymap |
716 |
* @see #keymaps |
* @see #keymaps |
717 |
*/ |
*/ |
718 |
public static Keymap getKeymap(String n) |
public static Keymap getKeymap(String n) |
727 |
* |
* |
728 |
* @return The keymap removed from the global table |
* @return The keymap removed from the global table |
729 |
* |
* |
730 |
* @see #addKeymap() |
* @see #addKeymap |
731 |
* @see #getKeymap() |
* @see #getKeymap() |
732 |
* @see #keymaps |
* @see #keymaps |
733 |
*/ |
*/ |
750 |
* |
* |
751 |
* @return The newly created Keymap |
* @return The newly created Keymap |
752 |
* |
* |
753 |
* @see #removeKeymap() |
* @see #removeKeymap |
754 |
* @see #getKeymap() |
* @see #getKeymap() |
755 |
* @see #keymaps |
* @see #keymaps |
756 |
*/ |
*/ |
768 |
* |
* |
769 |
* @return The component's current Keymap |
* @return The component's current Keymap |
770 |
* |
* |
771 |
* @see #setKeymap() |
* @see #setKeymap |
772 |
* @see #keymap |
* @see #keymap |
773 |
*/ |
*/ |
774 |
public Keymap getKeymap() |
public Keymap getKeymap() |
900 |
* @param actions The set of actions to resolve binding names against |
* @param actions The set of actions to resolve binding names against |
901 |
* |
* |
902 |
* @see Action#NAME |
* @see Action#NAME |
903 |
* @see Action#getValue() |
* @see Action#getValue |
904 |
* @see KeyBinding#ActionName |
* @see KeyBinding#actionName |
905 |
*/ |
*/ |
906 |
public static void loadKeymap(Keymap map, |
public static void loadKeymap(Keymap map, |
907 |
JTextComponent.KeyBinding[] bindings, |
JTextComponent.KeyBinding[] bindings, |
920 |
* editor can run. Equivalent to calling |
* editor can run. Equivalent to calling |
921 |
* <code>getUI().getEditorKit().getActions()</code>. This set of Actions |
* <code>getUI().getEditorKit().getActions()</code>. This set of Actions |
922 |
* is a reasonable value to provide as a parameter to {@link |
* is a reasonable value to provide as a parameter to {@link |
923 |
* #loadKeymap()}, when resolving a set of {@link #KeyBinding} objects |
* #loadKeymap}, when resolving a set of {@link KeyBinding} objects |
924 |
* against this component. |
* against this component. |
925 |
* |
* |
926 |
* @return The set of available Actions on this component's {@link EditorKit} |
* @return The set of available Actions on this component's {@link EditorKit} |
927 |
* |
* |
928 |
* @see TextUI#getEditorKit() |
* @see TextUI#getEditorKit |
929 |
* @see EditorKit#getActions() |
* @see EditorKit#getActions() |
930 |
*/ |
*/ |
931 |
public Action[] getActions() |
public Action[] getActions() |
1121 |
/** |
/** |
1122 |
* This method sets the label's UI delegate. |
* This method sets the label's UI delegate. |
1123 |
* |
* |
1124 |
* @param ui The label's UI delegate. |
* @param newUI The label's UI delegate. |
1125 |
*/ |
*/ |
1126 |
public void setUI(TextUI newUI) |
public void setUI(TextUI newUI) |
1127 |
{ |
{ |
1359 |
/** |
/** |
1360 |
* Selects the text from the given postion to the selection end position. |
* Selects the text from the given postion to the selection end position. |
1361 |
* |
* |
1362 |
* @param end the start positon of the selected text. |
* @param start the start positon of the selected text. |
1363 |
*/ |
*/ |
1364 |
public void setSelectionStart(int start) |
public void setSelectionStart(int start) |
1365 |
{ |
{ |
1390 |
* Selects a part of the content of the text component. |
* Selects a part of the content of the text component. |
1391 |
* |
* |
1392 |
* @param start the start position of the selected text |
* @param start the start position of the selected text |
1393 |
* @param ent the end position of the selected text |
* @param end the end position of the selected text |
1394 |
*/ |
*/ |
1395 |
public void select(int start, int end) |
public void select(int start, int end) |
1396 |
{ |
{ |
1634 |
* |
* |
1635 |
* @throws IOException if the reader throws it. |
* @throws IOException if the reader throws it. |
1636 |
* |
* |
1637 |
* @see getDocument() |
* @see #getDocument() |
1638 |
* @see Document#getProperty(Object) |
* @see Document#getProperty(Object) |
1639 |
*/ |
*/ |
1640 |
public void read(Reader input, Object streamDescription) |
public void read(Reader input, Object streamDescription) |