Class AbstractBasePane.EmptyMenuBar

All Implemented Interfaces:
Component, Container, TextGUIElement
Enclosing class:
AbstractBasePane<T extends BasePane>

private static class AbstractBasePane.EmptyMenuBar extends MenuBar
  • Constructor Details

    • EmptyMenuBar

      private EmptyMenuBar()
  • Method Details

    • isInvalid

      public boolean isInvalid()
      Description copied from interface: TextGUIElement
      Checks if this element (or any of its child components, if any) has signaled that what it's currently displaying is out of date and needs re-drawing.
      Specified by:
      isInvalid in interface TextGUIElement
      Overrides:
      isInvalid in class AbstractComponent<MenuBar>
      Returns:
      true if the component is invalid and needs redrawing, false otherwise
    • onAdded

      public void onAdded(Container container)
      Description copied from interface: Component
      Called by the GUI system when you add a component to a container; DO NOT CALL THIS YOURSELF!
      Specified by:
      onAdded in interface Component
      Overrides:
      onAdded in class AbstractComponent<MenuBar>
      Parameters:
      container - Container that this component was just added to
    • onRemoved

      public void onRemoved(Container container)
      Description copied from interface: Component
      Called by the GUI system when you remove a component from a container; DO NOT CALL THIS YOURSELF!
      Specified by:
      onRemoved in interface Component
      Overrides:
      onRemoved in class AbstractComponent<MenuBar>
      Parameters:
      container - Container that this component was just removed from
    • isEmptyMenuBar

      public boolean isEmptyMenuBar()
      Overrides:
      isEmptyMenuBar in class MenuBar