AbstractActionVMM
vmm3d.actions

Class AbstractActionVMM

    • Constructor Detail

      • AbstractActionVMM

        public AbstractActionVMM(String name)
        Create an AbstractActionVMM with a specified name, no icon, and no accelerator.
        Parameters:
        name - The name of the Action. (This should be internationalized by the caller.)
      • AbstractActionVMM

        public AbstractActionVMM(String name,                 Icon icon)
        Create an AbstractActionVMM with a specified name and icon, and with no accelerator.
        Parameters:
        name - The name of the Action. (This should be internationalized by the caller.)
      • AbstractActionVMM

        public AbstractActionVMM(String name,                 String accelerator)
        Create an AbstractActionVMM with a specified name, icon, and accelerator.
        Parameters:
        name - The name of the Action. (This should be internationalized by the caller.)
        accelerator - A String that describes the accelerator, as for the method KeyStroke.getKeyStroke(String), except that the main command key (ctrl or meta) should NOT be included in the description String. If the value of this parameter is null, no accelerator is added. On Macs, "meta" is added to the string; otherwise, "ctrl: is added; this gives the appropriate modifier for tha platform.
    • Method Detail

      • getMenuItems

        public JMenuItem[] getMenuItems()
        Returns an array containing one item, a JMenuItem created from this AbstractAction.
        Specified by:
        getMenuItems in interface ActionItem

SCaVis 2.0 © jWork.ORG