Package adams.terminal.menu
Class JMap
- java.lang.Object
-
- adams.terminal.menu.AbstractMenuItemDefinition
-
- adams.terminal.menu.AbstractJDKMenuItemDefinition
-
- adams.terminal.menu.JMap
-
- All Implemented Interfaces:
MenuItem
,Serializable
,Comparable<AbstractMenuItemDefinition>
public class JMap extends AbstractJDKMenuItemDefinition
Runs jmap and displays the result.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
JMap
, Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.terminal.menu.AbstractMenuItemDefinition
CATEGORY_HELP, CATEGORY_MAINTENANCE, CATEGORY_PROGRAM, CATEGORY_TOOLS, m_Owner
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doLaunch(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
Launches the functionality of the menu item.String
getTitle()
Returns the title of the window (and text of menuitem).-
Methods inherited from class adams.terminal.menu.AbstractJDKMenuItemDefinition
doRun, getCategory
-
Methods inherited from class adams.terminal.menu.AbstractMenuItemDefinition
compareTo, equals, getOwner, getRunnable, initialize, logError, logError, logMessage, postRun, preRun, setOwner
-
-
-
-
Method Detail
-
doLaunch
protected void doLaunch(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
Launches the functionality of the menu item.- Specified by:
doLaunch
in classAbstractJDKMenuItemDefinition
- Parameters:
context
- the context to use
-
getTitle
public String getTitle()
Returns the title of the window (and text of menuitem).- Specified by:
getTitle
in interfaceMenuItem
- Specified by:
getTitle
in classAbstractMenuItemDefinition
- Returns:
- the title
-
-