Class AbstractSpreadSheetViewerMenuItemAction

    • Constructor Detail

      • AbstractSpreadSheetViewerMenuItemAction

        public AbstractSpreadSheetViewerMenuItemAction()
    • Method Detail

      • getParentFrame

        protected Frame getParentFrame()
        Tries to determine the parent frame.
        Returns:
        the parent frame if one exists or null if not
      • getParentDialog

        protected Dialog getParentDialog()
        Tries to determine the parent dialog.
        Returns:
        the parent dialog if one exists or null if not
      • getParentChild

        protected Child getParentChild()
        Tries to determine the parent child window/frame.
        Returns:
        the parent child window/frame if one exists or null if not
      • getTabbedPane

        protected MultiPagePane getTabbedPane()
        Returns the tabbed pane of the viewer.
        Returns:
        the tabbed pane
      • isSheetSelected

        protected boolean isSheetSelected()
        Returns whether a sheet is selected.
        Returns:
        true if selected
      • getSelectedPanel

        protected SpreadSheetPanel getSelectedPanel()
        Returns the current panel.
        Returns:
        the current panel, null if not available
      • getSelectedSheet

        protected SpreadSheet getSelectedSheet()
        Returns the current sheet.
        Returns:
        the current sheet, null if not available
      • postActionPerformed

        protected void postActionPerformed​(ActionEvent e)
        Invoked when an action occurs (hook method after executing the actual action code).

        Updates the menu.
        Overrides:
        postActionPerformed in class AbstractBaseAction
        Parameters:
        e - the event