new
new: (string?) -> JMenuItem() -> JMenuItem: An item with no text.
(string?) -> JMenuItem: An item showing text.
A type alias: another name for the type it stands for.
| Method | Returns | Description |
|---|---|---|
new(string?) | JMenuItem | () -> JMenuItem: An item with no text. |
init(JMenuItem, string?) | () | (JMenuItem) -> (): An item with no text. |
isInstance(any) | boolean | Whether obj is a JMenuItem object, a class(JMenuItem) subclass's included. |
| Field | Type | Description |
|---|---|---|
super | AbstractButtonClass | AbstractButton's class table: the base class. |
| Method | Returns | Description |
|---|---|---|
JMenuItemClass.new | JMenuItem | () -> JMenuItem: An item with no text. |
newnew: (string?) -> JMenuItem() -> JMenuItem: An item with no text.
(string?) -> JMenuItem: An item showing text.
initinit: (JMenuItem, string?) -> ()(JMenuItem) -> (): An item with no text.
(JMenuItem, string?) -> (): An item showing text.
isInstanceisInstance: (any) -> booleanWhether obj is a JMenuItem object, a class(JMenuItem) subclass's included.