*
* The MIT License (MIT)
*
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
/**
* TSubMenu is a special case menu item that wraps another TMenu.
*/
-public final class TSubMenu extends TMenuItem {
+public class TSubMenu extends TMenuItem {
// ------------------------------------------------------------------------
// Variables --------------------------------------------------------------
*
* @param parent parent widget
* @param title menu title. Title must contain a keyboard shortcut,
- * denoted by prefixing a letter with "&", e.g. "&File"
+ * denoted by prefixing a letter with "&", e.g. "&File"
* @param x column relative to parent
* @param y row relative to parent
*/
}
// Add the arrow
- getScreen().putCharXY(getWidth() - 2, 0, GraphicsChars.CP437[0x10],
- menuColor);
+ putCharXY(getWidth() - 2, 0, GraphicsChars.CP437[0x10], menuColor);
}
/**
* Convenience function to add a sub-menu.
*
* @param title menu title. Title must contain a keyboard shortcut,
- * denoted by prefixing a letter with "&", e.g. "&File"
+ * denoted by prefixing a letter with "&", e.g. "&File"
* @return the new sub-menu
*/
public TSubMenu addSubMenu(final String title) {