Methods' Details
|
- insertSeparator
-  
- [ oneway ] void
insertSeparator(
-
- Description
- inserts a separator at the specified position.
|
- setDefaultItem
-  
- [ oneway ] void
setDefaultItem(
-
- Description
- sets the menu default item.
|
- getDefaultItem
-  
short
getDefaultItem();
- Description
- returns the menu default item.
|
- checkItem
-  
- [ oneway ] void
checkItem(
[ in ] short |
nItemId, |
[ in ] boolean |
bCheck ); |
- Description
- set the state of the item to be checked or unchecked.
|
- isItemChecked
-  
- boolean
isItemChecked(
-
- Description
- returns whether the item is checked or not checked.
|
- execute
-  
- short
execute(
-
- Description
- executes the popup menu and returns the selected item
or
0 , if cancelled.
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.