public abstract class MenuBase extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
MenuBase(String id,
String dialogId,
String title,
String mnemonic,
String accelerator,
String style)
Deprecated.
|
protected |
MenuBase(String id,
String dialogId,
String title,
String mnemonic,
String accelerator,
String style,
ImageInfo image,
ImageInfo disabledImage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccelerator() |
String |
getApplicationId() |
String |
getDialogId() |
ImageInfo |
getDisabledImage() |
String |
getId() |
ImageInfo |
getImage() |
String |
getMnemonic() |
Menu |
getParent() |
String |
getStyle() |
String |
getTitle() |
void |
setAccelerator(String accelerator) |
void |
setApplicationId(String applicationId) |
void |
setDialogId(String dialogId) |
void |
setDisabledImage(ImageInfo disabledImage) |
void |
setId(String id) |
void |
setImage(ImageInfo image) |
void |
setMnemonic(String mnemonic) |
void |
setParent(Menu parent) |
void |
setStyle(String style) |
void |
setTitle(String title) |
protected MenuBase(String id, String dialogId, String title, String mnemonic, String accelerator, String style, ImageInfo image, ImageInfo disabledImage)
id - the ID of the menu or menu itemdialogId - the ID of the dialog which owns the menu or menu itemtitle - the title of the menu or menu itemmnemonic - the mnemonic for the menu or menu itemaccelerator - the accelerator for the menu or menu itemstyle - the style from the dialog modelimage - the image from the dialog modeldisabledImage - the disabled image from the dialog model@Deprecated protected MenuBase(String id, String dialogId, String title, String mnemonic, String accelerator, String style)
id - the ID of the menu or menu itemdialogId - the ID of the dialog which owns the menu or menu itemtitle - the title of the menu or menu itemmnemonic - the mnemonic for the menu or menu itemaccelerator - the accelerator for the menu or menu itemstyle - the style from the dialog modelpublic String getId()
public void setId(String id)
id - the id to setpublic String getTitle()
public void setTitle(String title)
title - the title to setpublic String getMnemonic()
public void setMnemonic(String mnemonic)
mnemonic - the mnemonic to setpublic String getAccelerator()
public void setAccelerator(String accelerator)
accelerator - the accelerator to setpublic String getDialogId()
public void setDialogId(String dialogId)
dialogId - the dialogId to setpublic String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - the applicationId to setpublic String getStyle()
public void setStyle(String style)
style - the style to setpublic ImageInfo getImage()
public void setImage(ImageInfo image)
image - the image to setpublic ImageInfo getDisabledImage()
public void setDisabledImage(ImageInfo disabledImage)
disabledImage - the disabledImage to setpublic Menu getParent()
public void setParent(Menu parent)
parent - the parent to setCopyright © 2006–2017 Esito AS. All rights reserved.