Class AbstractBasePane.EmptyMenuBar
java.lang.Object
com.googlecode.lanterna.gui2.AbstractComponent<MenuBar>
com.googlecode.lanterna.gui2.menu.MenuBar
com.googlecode.lanterna.gui2.AbstractBasePane.EmptyMenuBar
- All Implemented Interfaces:
Component, Container, TextGUIElement
- Enclosing class:
AbstractBasePane<T extends BasePane>
-
Nested Class Summary
Nested classes/interfaces inherited from class MenuBar
MenuBar.DefaultMenuBarRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanChecks 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.voidCalled by the GUI system when you add a component to a container; DO NOT CALL THIS YOURSELF!voidCalled by the GUI system when you remove a component from a container; DO NOT CALL THIS YOURSELF!Methods inherited from class MenuBar
add, containsComponent, createDefaultRenderer, getChildCount, getChildren, getChildrenList, getMenu, getMenuCount, handleInput, nextFocus, previousFocus, removeComponent, toBasePane, updateLookupMapMethods inherited from class AbstractComponent
addTo, calculatePreferredSize, draw, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, invalidate, isInside, isVisible, onAfterDrawing, onBeforeDrawing, runOnGUIThreadIfExistsOtherwiseRunDirect, self, setLayoutData, setPosition, setPreferredSize, setRenderer, setSize, setTheme, setVisible, toGlobal, withBorderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
addTo, getBasePane, getGlobalPosition, getLayoutData, getParent, getPosition, getPreferredSize, getRenderer, getSize, getTextGUI, getTheme, getThemeDefinition, hasParent, invalidate, isInside, isVisible, setLayoutData, setPosition, setPreferredSize, setSize, setTheme, setVisible, toGlobal, withBorderMethods inherited from interface TextGUIElement
draw
-
Constructor Details
-
EmptyMenuBar
private EmptyMenuBar()
-
-
Method Details
-
isInvalid
public boolean isInvalid()Description copied from interface:TextGUIElementChecks 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:
isInvalidin interfaceTextGUIElement- Overrides:
isInvalidin classAbstractComponent<MenuBar>- Returns:
trueif the component is invalid and needs redrawing,falseotherwise
-
onAdded
Description copied from interface:ComponentCalled by the GUI system when you add a component to a container; DO NOT CALL THIS YOURSELF!- Specified by:
onAddedin interfaceComponent- Overrides:
onAddedin classAbstractComponent<MenuBar>- Parameters:
container- Container that this component was just added to
-
onRemoved
Description copied from interface:ComponentCalled by the GUI system when you remove a component from a container; DO NOT CALL THIS YOURSELF!- Specified by:
onRemovedin interfaceComponent- Overrides:
onRemovedin classAbstractComponent<MenuBar>- Parameters:
container- Container that this component was just removed from
-
isEmptyMenuBar
public boolean isEmptyMenuBar()- Overrides:
isEmptyMenuBarin classMenuBar
-