wx
Class MenuItem
java.lang.Object
wx.Object
wx.MenuItem
- public class MenuItem
- extends Object
Constructor Summary |
MenuItem()
|
MenuItem(Menu parentMenu)
|
MenuItem(Menu parentMenu,
int itemid)
|
MenuItem(Menu parentMenu,
int itemid,
java.lang.String text)
|
MenuItem(Menu parentMenu,
int itemid,
java.lang.String text,
java.lang.String help)
|
MenuItem(Menu parentMenu,
int itemid,
java.lang.String text,
java.lang.String help,
int kind)
|
MenuItem(Menu parentMenu,
int itemid,
java.lang.String text,
java.lang.String help,
int kind,
Menu subMenu)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuItem
public MenuItem(Menu parentMenu,
int itemid,
java.lang.String text,
java.lang.String help,
int kind,
Menu subMenu)
MenuItem
public MenuItem(Menu parentMenu,
int itemid,
java.lang.String text,
java.lang.String help,
int kind)
MenuItem
public MenuItem(Menu parentMenu,
int itemid,
java.lang.String text,
java.lang.String help)
MenuItem
public MenuItem(Menu parentMenu,
int itemid,
java.lang.String text)
MenuItem
public MenuItem(Menu parentMenu,
int itemid)
MenuItem
public MenuItem(Menu parentMenu)
MenuItem
public MenuItem()
delete
public void delete()
- Overrides:
delete
in class Object
getMenu
public Menu getMenu()
setMenu
public void setMenu(Menu menu)
setId
public void setId(int itemid)
getId
public int getId()
isSeparator
public boolean isSeparator()
setText
public void setText(java.lang.String str)
getLabel
public java.lang.String getLabel()
getText
public java.lang.String getText()
getLabelFromText
public static java.lang.String getLabelFromText(java.lang.String text)
getKind
public int getKind()
setKind
public void setKind(int kind)
setCheckable
public void setCheckable(boolean checkable)
isCheckable
public boolean isCheckable()
isSubMenu
public boolean isSubMenu()
setSubMenu
public void setSubMenu(Menu menu)
getSubMenu
public Menu getSubMenu()
enable
public void enable(boolean enable)
enable
public void enable()
isEnabled
public boolean isEnabled()
check
public void check(boolean check)
check
public void check()
isChecked
public boolean isChecked()
toggle
public void toggle()
setHelp
public void setHelp(java.lang.String str)
getHelp
public java.lang.String getHelp()
getAccel
public AcceleratorEntry getAccel()
setAccel
public void setAccel(AcceleratorEntry accel)
setBitmap
public void setBitmap(Bitmap bitmap)
getBitmap
public Bitmap getBitmap()
© 2006 Amit G Mendapara.