Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/applet/AppletContext.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 /* AppletContext.java -- Access the applet's runtime environment.
    2    Copyright (C) 1999 Free Software Foundation, Inc.
    3  
     1/* AppletContext.java --
     2   Copyright (C) 1999 Free Software Foundation, Inc.
     3
    44This file is part of GNU Classpath.
    5  
     5
    66GNU Classpath is free software; you can redistribute it and/or modify
    77it under the terms of the GNU General Public License as published by
    88the Free Software Foundation; either version 2, or (at your option)
    99any later version.
    10  
     10
    1111GNU Classpath is distributed in the hope that it will be useful, but
    1212WITHOUT ANY WARRANTY; without even the implied warranty of
    1313MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1414General Public License for more details.
    15  
     15
    1616You should have received a copy of the GNU General Public License
    1717along with GNU Classpath; see the file COPYING.  If not, write to the
    1818Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    191902111-1307 USA.
    20  
     20
    2121Linking this library statically or dynamically with other modules is
    2222making a combined work based on this library.  Thus, the terms and
     
    4040
    4141import java.awt.Image;
     42
     43
    4244import java.net.URL;
    4345import java.util.Enumeration;
     46
    4447
    4548/**
    46   * This interface allows an applet access to the browser to retrieve
    47   * additional data files and display documents.  It also allows the
    48   * applet to find out other applets in the same document.
    49   *
    50   * @author Aaron M. Renn ([email protected])
    51   */
     49 * This interface allows an applet access to the browser to retrieve
     50 * additional data files and display documents.  It also allows the
     51 * applet to find out other applets in the same document.
     52 *
     53 * @author Aaron M. Renn ([email protected])
     54 * @since 1.0
     55 * @status updated to 1.4
     56 */
    5257public interface AppletContext
    5358{
    5459  /**
    55     * Returns an audio clip from the specified URL.
    56     *
    57     * @param url The URL of the audio clip.
    58     *
    59     * @return The retrieved audio clip // FIXME: What happens on error?
    60     */
     60   * Returns an audio clip from the specified URL.
     61   *
     62   
     63   
     64   
     65   */
    6166  AudioClip getAudioClip(URL url);
    6267
    6368  /**
    64     * Returns an image from the specified URL.  Note that the image is not
    65     * actually retrieved until the applet attempts to display it, so this
    66     * method returns immediately.
    67     *
    68     * @param url The URL of the image.
    69     *
    70     * @return The retrieved image.  // FIXME: What happens on eror?
    71     */
     69   * Returns an image from the specified URL.  Note that the image is not
     70   * actually retrieved until the applet attempts to display it, so this
     71   * method returns immediately.
     72   *
     73   
     74   
     75   
     76   */
    7277  Image getImage(URL url);
    7378
    7479  /**
    75     * Returns the applet in the document for this object that has the
    76     * specified name.
    77     *
    78     * @param name The applet name.
    79     *
    80     * @return The requested applet, or <code>null</code> if an applet with
    81     * the requested name cannot be found.
    82     */
     80   * Returns the applet in the document for this object that has the
     81   * specified name.
     82   *
     83   * @param name the applet name
     84   * @return the requested applet, or <code>null</code> if not found
     85   */
    8386  Applet getApplet(String name);
    8487
    8588  /**
    86     * Returns a list of all the applets in the document for this object.
    87     *
    88     * @return A list of all the applets in the document for this object.
    89     */
     89   * Returns a list of all the applets in the document for this object.
     90   *
     91   
     92   */
    9093  Enumeration getApplets();
    9194
    9295  /**
    93     * Displays the web page pointed to by the specified URL in the window
    94     * for this object.  This page replaces the document that is currently
    95     * there.
    96     *
    97     * @param url The URL of the web page to load.
    98     */
     96   * Displays the web page pointed to by the specified URL in the window
     97   * for this object.  This page replaces the document that is currently
     98   * there.
     99   *
     100   
     101   */
    99102  void showDocument(URL url);
    100103
    101104  /**
    102     * Displays the web page pointed to be the sepcified URL in the window
    103     * with the specified name.  The standard names "_top", "_blank",
    104     * "_parent", and "_self" are allowed.
    105     *
    106     * @param url The URL of the web page to load.
    107     * @param target The target window.
    108     */
     105   * Displays the web page pointed to be the sepcified URL in the window
     106   * with the specified name.  The standard names "_top", "_blank",
     107   * "_parent", and "_self" are allowed. An applet viewer may disregard
     108   * this request.
     109   *
     110   * @param url the URL of the web page to load
     111   * @param target the target window
     112   */
    109113  void showDocument(URL url, String target);
    110114
    111115  /**
    112     * Displays the specified message in the status window if that window
    113     * exists.
    114     *
    115     * @param message The status message.
    116     */
     116   * Displays the specified message in the status window if that window
     117   * exists.
     118   *
     119   
     120   */
    117121  void showStatus(String message);
    118122
     123
     124
     125
     126
     127
     128
     129
     130
     131
     132
     133
     134
     135
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
    119154} // interface AppletContext
Note: See TracChangeset for help on using the changeset viewer.