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

Class EmptyApplicationModel

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


    public class EmptyApplicationModel
    extends AbstractApplicationModel
    An ApplicationModel which neither creates Actions, nor overrides the menu bars, nor creates tool bars.

    The createActionMap method of this model returns an empty ActionMap.

    See Also:
    Serialized Form
    • Constructor Detail

      • EmptyApplicationModel

        public EmptyApplicationModel()
    • Method Detail

      • createActionMap

        public javax.swing.ActionMap createActionMap(Application a,
                                                     @Nullable
                                                     View v)
        Returns an empty ActionMap.
        Parameters:
        a - Application.
        v - The view for which the toolbars need to be created, or null if the actions are shared by multiple views.
      • getMenuBuilder

        public MenuBuilder getMenuBuilder()
        Description copied from interface: ApplicationModel
        Returns the abstract factory for building application menus.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.