Documentation of 'org.jhotdraw.app.AppletApplication' Java class
AppletApplication
org.jhotdraw.app

Class AppletApplication

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Application


    public class AppletApplication
    extends AbstractApplication
    AppletApplication handles the lifecycle of a single View inside of a Java Applet. FIXME - To be implemented.
    See Also:
    Serialized Form
    • Constructor Detail

      • AppletApplication

        public AppletApplication(javax.swing.JApplet applet)
        Creates a new instance of AppletApplication
    • Method Detail

      • init

        public void init()
        Description copied from interface: Application
        Initializes the application. configure() should have been invoked before the application is inited. Alternatively an application can be configured using setter methods.
        Specified by:
        init in interface Application
        Overrides:
        init in class AbstractApplication
      • show

        public void show(View v)
        Description copied from interface: Application
        Shows a view.
      • hide

        public void hide(View v)
        Description copied from interface: Application
        Hides a view.
      • isSharingToolsAmongViews

        public boolean isSharingToolsAmongViews()
        Description copied from interface: Application
        Returns true, if this application shares tools among multiple views.
      • getComponent

        public java.awt.Component getComponent()
        Description copied from interface: Application
        Returns the application component. This may return null, if the application is not represented by a component of its own on the user interface.
      • createFileMenu

        public javax.swing.JMenu createFileMenu(View v)
        Description copied from interface: Application
        Creates a file menu for the specified view or for the entire application.
        Parameters:
        v - A view or null.
        Returns:
        A JMenu or null, if the menu is empty.
      • createEditMenu

        public javax.swing.JMenu createEditMenu(View v)
        Description copied from interface: Application
        Creates an edit menu for the specified view or for the entire application.
        Parameters:
        v - A view or null.
        Returns:
        A JMenu or null, if the menu is empty.
      • createViewMenu

        public javax.swing.JMenu createViewMenu(View v)
        Description copied from interface: Application
        Creates a view menu for the specified view or for the entire application.
        Parameters:
        v - A view or null.
        Returns:
        A JMenu or null, if the menu is empty.
      • createWindowMenu

        public javax.swing.JMenu createWindowMenu(View v)
        Description copied from interface: Application
        Creates a window menu for the specified view or for the entire application.
        Parameters:
        v - A view or null.
        Returns:
        A JMenu or null, if the menu is empty.
      • createHelpMenu

        public javax.swing.JMenu createHelpMenu(View v)
        Description copied from interface: Application
        Creates a help menu for the specified view of for the entire application.
        Parameters:
        v - A view or null.
        Returns:
        A JMenu or null, if the menu is empty.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.