Module com.googlecode.lanterna
Class MenuBar.DefaultMenuBarRenderer
java.lang.Object
com.googlecode.lanterna.gui2.menu.MenuBar.DefaultMenuBarRenderer
- All Implemented Interfaces:
ComponentRenderer<MenuBar>
- Enclosing class:
MenuBar
The default implementation for rendering a
MenuBar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawComponent
(TextGUIGraphics graphics, MenuBar menuBar) Using the supplied graphics object, draws the component passed in.getPreferredSize
(MenuBar menuBar) Given the supplied component, how large does this renderer want the component to be? Notice that this is the responsibility of the renderer and not the component itself, since the component has no idea what its visual representation looks like.
-
Constructor Details
-
DefaultMenuBarRenderer
public DefaultMenuBarRenderer()
-
-
Method Details