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

Class SDIApplication

    • Constructor Detail

      • SDIApplication

        public SDIApplication()
        Creates a new instance.
    • Method Detail

      • launch

        public void launch(java.lang.String[] args)
        Description copied from class: AbstractApplication
        Launches the application.
        Specified by:
        launch in interface Application
        Overrides:
        launch in class AbstractApplication
        Parameters:
        args - This implementation supports the command-line parameter "-open" which can be followed by one or more filenames or URI's.
      • 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
      • remove

        public void remove(View p)
        Description copied from interface: Application
        Removes a view from this application and removes it from the users view. Fires a "documentCount" property change event. Invokes method setApplication(null) on the view object.
        Specified by:
        remove in interface Application
        Overrides:
        remove in class AbstractApplication
      • show

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

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

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

        @Nullable
        public javax.swing.JMenu createEditMenu(View view)
        Description copied from interface: Application
        Creates an edit menu for the specified view or for the entire application.
        Parameters:
        view - A view or null.
        Returns:
        A JMenu or null, if the menu is empty.
      • 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.
      • createWindowMenu

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

        public javax.swing.JMenu createViewMenu(View view)
        Creates the view menu.
        Parameters:
        view - The View
        Returns:
        A JMenu or null, if the menu doesn't have any items.
      • createHelpMenu

        public javax.swing.JMenu createHelpMenu(View p)
        Description copied from interface: Application
        Creates a help menu for the specified view of for the entire application.
        Parameters:
        p - 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.