Modifier and Type | Field and Description |
---|---|
static int |
STRING_MAXLEN
.
|
MF_BYCOMMAND, MF_BYPOSITION
Constructor and Description |
---|
Menu(Menu parent,
String text)
.
|
Menu(Win32Client clientValue,
Window ownerValue)
.
|
Menu(Win32Client clientValue,
Window ownerValue,
long hmenuValue)
.
|
Modifier and Type | Method and Description |
---|---|
Win32Client |
getClient() |
long |
getHmenu() |
String[] |
getItemNames()
.
|
String |
getMenuItemText(int position)
.
|
Window |
getOwner() |
Menu |
getSubMenu(int position)
.
|
MenuItem |
item(String title)
.
|
Menu |
menu(String title)
.
|
void |
pick(int position)
.
|
public static final int STRING_MAXLEN
public Menu(Menu parent, String text) throws Exception
parent
- .text
- .Exception
- .public Menu(Win32Client clientValue, Window ownerValue) throws Exception
clientValue
- .ownerValue
- .Exception
- .public Menu(Win32Client clientValue, Window ownerValue, long hmenuValue)
clientValue
- .ownerValue
- .hmenuValue
- .public final Win32Client getClient()
public final long getHmenu()
public final String[] getItemNames() throws Exception
Exception
- .public final String getMenuItemText(int position) throws Exception
position
- .Exception
- .public final Window getOwner()
public final Menu getSubMenu(int position) throws Exception
position
- .Exception
- .public final MenuItem item(String title) throws Exception
title
- .Exception
- .public final Menu menu(String title) throws Exception
title
- .Exception
- .Copyright © 2013. All rights reserved.