/[classpath]/classpath/java/awt/Component.java
ViewVC logotype

Diff of /classpath/java/awt/Component.java

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

revision 1.49 by mkoch, Wed Dec 1 16:22:44 2004 UTC revision 1.50 by mkoch, Mon Dec 6 13:56:33 2004 UTC
# Line 1080  public abstract class Component Line 1080  public abstract class Component
1080     *     *
1081     * @return the locale for this component     * @return the locale for this component
1082     * @throws IllegalComponentStateException if it has no locale or parent     * @throws IllegalComponentStateException if it has no locale or parent
1083     * @see setLocale(Locale)     * @see #setLocale(Locale)
1084     * @since 1.1     * @since 1.1
1085     */     */
1086    public Locale getLocale()    public Locale getLocale()
# Line 1955  public abstract class Component Line 1955  public abstract class Component
1955     * @see Graphics#drawImage(Image, int, int, ImageObserver)     * @see Graphics#drawImage(Image, int, int, ImageObserver)
1956     * @see Graphics#drawImage(Image, int, int, int, int, Color, ImageObserver)     * @see Graphics#drawImage(Image, int, int, int, int, Color, ImageObserver)
1957     * @see Graphics#drawImage(Image, int, int, int, int, ImageObserver)     * @see Graphics#drawImage(Image, int, int, int, int, ImageObserver)
1958     * @see ImageObserver#update(Image, int, int, int, int, int)     * @see ImageObserver#imageUpdate(Image, int, int, int, int, int)
1959     */     */
1960    public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h)    public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h)
1961    {    {
# Line 2097  public abstract class Component Line 2097  public abstract class Component
2097     * @param observer the observer to notify of image loading progress     * @param observer the observer to notify of image loading progress
2098     * @return the image observer flags indicating the status of the load     * @return the image observer flags indicating the status of the load
2099     * @see #prepareImage(Image, int, int, ImageObserver)     * @see #prepareImage(Image, int, int, ImageObserver)
2100     * @see #Toolkit#checkImage(Image, int, int, ImageObserver)     * @see Toolkit#checkImage(Image, int, int, ImageObserver)
2101     * @throws NullPointerException if image is null     * @throws NullPointerException if image is null
2102     */     */
2103    public int checkImage(Image image, ImageObserver observer)    public int checkImage(Image image, ImageObserver observer)
# Line 2115  public abstract class Component Line 2115  public abstract class Component
2115     * @param observer the observer to notify of image loading progress     * @param observer the observer to notify of image loading progress
2116     * @return the image observer flags indicating the status of the load     * @return the image observer flags indicating the status of the load
2117     * @see #prepareImage(Image, int, int, ImageObserver)     * @see #prepareImage(Image, int, int, ImageObserver)
2118     * @see #Toolkit#checkImage(Image, int, int, ImageObserver)     * @see Toolkit#checkImage(Image, int, int, ImageObserver)
2119     */     */
2120    public int checkImage(Image image, int width, int height,    public int checkImage(Image image, int width, int height,
2121                          ImageObserver observer)                          ImageObserver observer)
# Line 2134  public abstract class Component Line 2134  public abstract class Component
2134     * @param ignoreRepaint the new setting for ignoring repaint events     * @param ignoreRepaint the new setting for ignoring repaint events
2135     * @see #getIgnoreRepaint()     * @see #getIgnoreRepaint()
2136     * @see BufferStrategy     * @see BufferStrategy
2137     * @see GraphicsDevice.setFullScreenWindow(Window)     * @see GraphicsDevice#setFullScreenWindow(Window)
2138     * @since 1.4     * @since 1.4
2139     */     */
2140    public void setIgnoreRepaint(boolean ignoreRepaint)    public void setIgnoreRepaint(boolean ignoreRepaint)
# Line 3178  public abstract class Component Line 3178  public abstract class Component
3178     * AWT 1.0 event handler.     * AWT 1.0 event handler.
3179     *     *
3180     * This method calls one of the event-specific handler methods.  For     * This method calls one of the event-specific handler methods.  For
3181     * example for key events, either {@link #keyDown (Event evt, int     * example for key events, either {@link #keyDown(Event,int)}
3182     * key)} or {@link keyUp (Event evt, int key)} is called.  A derived     * or {@link #keyUp(Event,int)} is called.  A derived
3183     * component can override one of these event-specific methods if it     * component can override one of these event-specific methods if it
3184     * only needs to handle certain event types.  Otherwise it can     * only needs to handle certain event types.  Otherwise it can
3185     * override handleEvent itself and handle any event.     * override handleEvent itself and handle any event.
3186     *     *
3187     * @param evt the event to handle     * @param evt the event to handle
3188     * @return true if the event was handled, false otherwise     * @return true if the event was handled, false otherwise
3189     * @deprecated use {@link #processEvent (AWTEvent)} instead     * @deprecated use {@link #processEvent(AWTEvent)} instead
3190     */     */
3191    public boolean handleEvent (Event evt)    public boolean handleEvent (Event evt)
3192    {    {
# Line 3469  public abstract class Component Line 3469  public abstract class Component
3469     * Specify whether this component can receive focus. This method also     * Specify whether this component can receive focus. This method also
3470     * sets the {@link #isFocusTraversableOverridden} field to 1, which     * sets the {@link #isFocusTraversableOverridden} field to 1, which
3471     * appears to be the undocumented way {@link     * appears to be the undocumented way {@link
3472     * DefaultFocusTraversalPolicy#accept()} determines whether to respect     * DefaultFocusTraversalPolicy#accept(Component)} determines whether to
3473     * the {@link #isFocusable()} method of the component.     * respect the {@link #isFocusable()} method of the component.
3474     *     *
3475     * @param focusable the new focusable status     * @param focusable the new focusable status
3476     * @since 1.4     * @since 1.4
# Line 3484  public abstract class Component Line 3484  public abstract class Component
3484    
3485    /**    /**
3486     * Sets the focus traversal keys for one of the three focus     * Sets the focus traversal keys for one of the three focus
3487     * traversal directions supported by Components: {@link     * traversal directions supported by Components:
3488     * #KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS}, {@link     * {@link #KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS},
3489     * #KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS}, or {@link     * {@link #KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS}, or
3490     * #KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS}. Normally, the     * {@link #KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS}. Normally, the
3491     * default values should match the operating system's native     * default values should match the operating system's native
3492     * choices. To disable a given traversal, use     * choices. To disable a given traversal, use
3493     * <code>Collections.EMPTY_SET</code>. The event dispatcher will     * <code>Collections.EMPTY_SET</code>. The event dispatcher will
# Line 3716  public abstract class Component Line 3716  public abstract class Component
3716     * receives a FOCUS_GAINED event.     * receives a FOCUS_GAINED event.
3717     *     *
3718     * The behaviour of this method is platform-dependent.     * The behaviour of this method is platform-dependent.
3719     * {@link #requestFocusInWindow} should be used instead.     * {@link #requestFocusInWindow()} should be used instead.
3720     *     *
3721     * @see #requestFocusInWindow ()     * @see #requestFocusInWindow ()
3722     * @see FocusEvent     * @see FocusEvent
# Line 3791  public abstract class Component Line 3791  public abstract class Component
3791     * receives a FOCUS_GAINED event.     * receives a FOCUS_GAINED event.
3792     *     *
3793     * The behaviour of this method is platform-dependent.     * The behaviour of this method is platform-dependent.
3794     * {@link #requestFocusInWindow} should be used instead.     * {@link #requestFocusInWindow()} should be used instead.
3795     *     *
3796     * If the return value is false, the request is guaranteed to fail.     * If the return value is false, the request is guaranteed to fail.
3797     * If the return value is true, the request will succeed unless it     * If the return value is true, the request will succeed unless it
# Line 4069  public abstract class Component Line 4069  public abstract class Component
4069     * However, if this is a Window, the default focus owner in the     * However, if this is a Window, the default focus owner in the
4070     * window in the current focus cycle is focused instead.     * window in the current focus cycle is focused instead.
4071     *     *
4072     * @see #requestFocus ()     * @see #requestFocus()
4073     * @see #isFocusCycleRoot ()     * @see #isFocusCycleRoot(Container)
4074     * @since 1.4     * @since 1.4
4075     */     */
4076    public void transferFocusUpCycle ()    public void transferFocusUpCycle ()

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

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