Methods' Details |
insertSeparator
[oneway] void |
insertSeparator( |
[in] short |
nPos ); |
- Description
- inserts a separator at the specified position.
|
|
setDefaultItem
[oneway] void |
setDefaultItem( |
[in] short |
nItemId ); |
- Description
- sets the menu default item.
|
|
getDefaultItem
- Description
- returns the menu default item.
|
|
checkItem
[oneway] void |
checkItem( |
[in] short |
nItemId, |
| [in] boolean |
bCheck ); |
- Description
- sets the state of the item to be checked or unchecked.
|
|
isItemChecked
boolean |
isItemChecked( |
[in] short |
nItemId ); |
- Description
- returns whether the item is checked or unchecked.
|
|
execute
- Description
- executes the popup menu and returns the selected item
or
0 , if cancelled.
|
|
Copyright © 2010 Sun Microsystems, Inc.