Module com.googlecode.lanterna
Class MenuItem.DefaultMenuItemRenderer
java.lang.Object
com.googlecode.lanterna.gui2.menu.MenuItem.MenuItemRenderer
com.googlecode.lanterna.gui2.menu.MenuItem.DefaultMenuItemRenderer
- All Implemented Interfaces:
ComponentRenderer<MenuItem>,InteractableRenderer<MenuItem>
- Enclosing class:
MenuItem
Default renderer for menu items (both sub-menus and regular items)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawComponent(TextGUIGraphics graphics, MenuItem menuItem) Using the supplied graphics object, draws the component passed in.getCursorLocation(MenuItem component) getPreferredSize(MenuItem component) Given the supplied component, how large does this renderer want the component to be?
-
Constructor Details
-
DefaultMenuItemRenderer
public DefaultMenuItemRenderer()
-
-
Method Details