/[classpath]/classpath/javax/swing/JComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/JComponent.java

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

revision 1.25 by mkoch, Sat Sep 25 16:06:16 2004 UTC revision 1.26 by mkoch, Fri Oct 22 08:22:34 2004 UTC
# Line 1063  public abstract class JComponent extends Line 1063  public abstract class JComponent extends
1063        
1064    /**    /**
1065     * Return the value of the {@link #nextFocusableComponent} property.     * Return the value of the {@link #nextFocusableComponent} property.
    *  
    * @deprecated See {@link java.awt.FocusTraversalPolicy}  
1066     *     *
1067     * @return The current value of the property, or <code>null</code>     * @return The current value of the property, or <code>null</code>
1068     * if none has been set.     * if none has been set.
1069       *
1070       * @deprecated See {@link java.awt.FocusTraversalPolicy}
1071     */     */
1072    public Component getNextFocusableComponent()    public Component getNextFocusableComponent()
1073    {    {
# Line 1302  public abstract class JComponent extends Line 1302  public abstract class JComponent extends
1302     * @return <code>true</code> if you want this component to manage its own     * @return <code>true</code> if you want this component to manage its own
1303     * focus, otherwise (by default) <code>false</code>     * focus, otherwise (by default) <code>false</code>
1304     *     *
1305     * @deprecated Use {@link Component.setFocusTraversalKeys(int,Set)} and     * @deprecated 1.4 Use {@link Component.setFocusTraversalKeys(int,Set)} and
1306     * {@link Container.setFocusCycleRoot(boolean)} instead     * {@link Container.setFocusCycleRoot(boolean)} instead
1307     */     */
1308    public boolean isManagingFocus()    public boolean isManagingFocus()
# Line 1686  public abstract class JComponent extends Line 1686  public abstract class JComponent extends
1686    }    }
1687    
1688    /**    /**
    * @deprecated As of 1.3 KeyStrokes can be registered with multiple  
    * simultaneous conditions.  
    *  
1689     * Return the condition that determines whether a registered action     * Return the condition that determines whether a registered action
1690     * occurs in response to the specified keystroke.     * occurs in response to the specified keystroke.
1691     *     *
# Line 1698  public abstract class JComponent extends Line 1695  public abstract class JComponent extends
1695     * #WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}, {@link #WHEN_FOCUSED}, or {@link     * #WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}, {@link #WHEN_FOCUSED}, or {@link
1696     * #WHEN_IN_FOCUSED_WINDOW}     * #WHEN_IN_FOCUSED_WINDOW}
1697     *     *
1698       * @deprecated As of 1.3 KeyStrokes can be registered with multiple
1699       * simultaneous conditions.
1700       *
1701     * @see #registerKeyboardAction       * @see #registerKeyboardAction  
1702     * @see #unregisterKeyboardAction       * @see #unregisterKeyboardAction  
1703     * @see #resetKeyboardActiond     * @see #resetKeyboardActiond
# Line 1718  public abstract class JComponent extends Line 1718  public abstract class JComponent extends
1718    }    }
1719    
1720    /**    /**
    * @deprecated Use {@link #getActionMap()}  
    *  
1721     * Get the ActionListener (typically an {@link Action} object) which is     * Get the ActionListener (typically an {@link Action} object) which is
1722     * associated with a particular keystroke.     * associated with a particular keystroke.
1723     *     *
1724     * @param aKeyStroke The keystroke to retrieve the action of     * @param aKeyStroke The keystroke to retrieve the action of
1725     *     *
1726     * @return The action associated with the specified keystroke     * @return The action associated with the specified keystroke
1727       *
1728       * @deprecated Use {@link #getActionMap()}
1729     */     */
1730    public ActionListener getActionForKeyStroke(KeyStroke ks)    public ActionListener getActionForKeyStroke(KeyStroke ks)
1731    {    {

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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