Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.applet

Interface AppletStub


  • public interface AppletStub
    When an applet is first created, an applet stub is attached to it using the applet's setStub method. This stub serves as the interface between the applet and the browser environment or applet viewer environment in which the application is running.
    Since:
    JDK1.0
    See Also:
    Applet.setStub(java.applet.AppletStub)
    • Method Detail

      • isActive

        boolean isActive()
        Determines if the applet is active. An applet is active just before its start method is called. It becomes inactive just before its stop method is called.
        Returns:
        true if the applet is active; false otherwise.
      • getDocumentBase

        URL getDocumentBase()
        Gets the URL of the document in which the applet is embedded. For example, suppose an applet is contained within the document:
            http://java.sun.com/products/jdk/1.2/index.html
         
        The document base is:
            http://java.sun.com/products/jdk/1.2/index.html
         
        Returns:
        the URL of the document that contains the applet.
        See Also:
        getCodeBase()
      • getCodeBase

        URL getCodeBase()
        Gets the base URL. This is the URL of the directory which contains the applet.
        Returns:
        the base URL of the directory which contains the applet.
        See Also:
        getDocumentBase()
      • getParameter

        String getParameter(String name)
        Returns the value of the named parameter in the HTML tag. For example, if an applet is specified as
         <applet code="Clock" width=50 height=50>
         <param name=Color value="blue">
         </applet>
         

        then a call to getParameter("Color") returns the value "blue".

        Parameters:
        name - a parameter name.
        Returns:
        the value of the named parameter, or null if not set.
      • getAppletContext

        AppletContext getAppletContext()
        Returns the applet's context.
        Returns:
        the applet's context.
      • appletResize

        void appletResize(int width,
                        int height)
        Called when the applet wants to be resized.
        Parameters:
        width - the new requested width for the applet.
        height - the new requested height for the applet.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/applet/appletstub.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut