/[classpath]/classpath/javax/swing/text/JTextComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/text/JTextComponent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by mark, Wed Jul 13 23:22:31 2005 UTC revision 1.36 by trebligd, Tue Jul 26 08:00:03 2005 UTC
# Line 96  public abstract class JTextComponent ext Line 96  public abstract class JTextComponent ext
96    
97      /**      /**
98       * Constructor AccessibleJTextComponent       * Constructor AccessibleJTextComponent
      * @param component TODO  
99       */       */
100      public AccessibleJTextComponent()      public AccessibleJTextComponent()
101      {      {
# Line 712  public abstract class JTextComponent ext Line 711  public abstract class JTextComponent ext
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)
# Line 728  public abstract class JTextComponent ext Line 727  public abstract class JTextComponent ext
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     */       */  
# Line 751  public abstract class JTextComponent ext Line 750  public abstract class JTextComponent ext
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     */     */
# Line 769  public abstract class JTextComponent ext Line 768  public abstract class JTextComponent ext
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()
# Line 901  public abstract class JTextComponent ext Line 900  public abstract class JTextComponent ext
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,
# Line 921  public abstract class JTextComponent ext Line 920  public abstract class JTextComponent ext
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()
# Line 1122  public abstract class JTextComponent ext Line 1121  public abstract class JTextComponent ext
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    {    {
# Line 1360  public abstract class JTextComponent ext Line 1359  public abstract class JTextComponent ext
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    {    {
# Line 1391  public abstract class JTextComponent ext Line 1390  public abstract class JTextComponent ext
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    {    {
# Line 1635  public abstract class JTextComponent ext Line 1634  public abstract class JTextComponent ext
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)

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26