|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectLumiSoft.UI.Controls.WMenu.WContextMenu
public class WContextMenu
Context menu.
| Constructor Summary | |
|---|---|
WContextMenu(java.awt.Component parent)
Default constructor. |
|
WContextMenu(java.awt.Component parent,
javax.swing.JDesktopPane desktopPane)
Constructs window list. |
|
WContextMenu(java.awt.Component parent,
WText wText)
Constructs menu with specified language provider. |
|
| Method Summary | |
|---|---|
void |
Add(boolean isSeparator)
Add separator to menu item collection. |
void |
Add(java.lang.String text)
Add menu item with secified text to menu item collection. |
void |
Add(java.lang.String text,
java.lang.String textID)
Add menu item with secified text and textID to menu item collection. |
void |
Add(java.lang.String text,
java.lang.String textID,
int imageIndex,
java.lang.Object tag)
Add menu item with secified text,textID and tag to menu item collection. |
void |
Add(java.lang.String text,
java.lang.String textID,
java.lang.Object tag)
Add menu item with secified text,textID and tag to menu item collection. |
void |
addContextMenuListener(WContextMenuListener l)
Adds the specified action listener to receive action events from this button. |
void |
fireMenuClosed()
|
void |
fireMenuItemSelected(WMenuItem item)
|
WMenuItem |
get(int value)
Gets menu item at specified index. |
ImageList |
getImageList()
Gets image list to use for menu items. |
WText |
getWText()
Gets UI text getting source. |
void |
Hide()
Hides menu. |
void |
removeContextMenuListener(WContextMenuListener l)
Removes the specified action listener so it no longer receives action events from this button. |
void |
setImageList(ImageList value)
Sets image list to use for menu items. |
void |
setWText(WText value)
Sets UI text getting source. |
void |
Show(int screenX,
int screenY)
Shows menu at specified location. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WContextMenu(java.awt.Component parent)
parent -
public WContextMenu(java.awt.Component parent,
WText wText)
parent -
public WContextMenu(java.awt.Component parent,
javax.swing.JDesktopPane desktopPane)
parent - desktopPane - | Method Detail |
|---|
public void Add(java.lang.String text)
text -
public void Add(java.lang.String text,
java.lang.String textID)
text - textID -
public void Add(java.lang.String text,
java.lang.String textID,
java.lang.Object tag)
text - textID - tag -
public void Add(java.lang.String text,
java.lang.String textID,
int imageIndex,
java.lang.Object tag)
text - textID - imageIndex - tag - public void Add(boolean isSeparator)
isSeparator - public WMenuItem get(int value)
value -
public void Show(int screenX,
int screenY)
screenX - screenY - public void Hide()
public ImageList getImageList()
public void setImageList(ImageList value)
value - public WText getWText()
public void setWText(WText value)
public void addContextMenuListener(WContextMenuListener l)
l - the action listenerpublic void removeContextMenuListener(WContextMenuListener l)
l - the action listenerpublic void fireMenuItemSelected(WMenuItem item)
public void fireMenuClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||