public class DefaultEditorPopupItem extends Object implements EditorPopupItem
| Constructor and Description |
|---|
DefaultEditorPopupItem() |
DefaultEditorPopupItem(String name,
EditorPopupItemCategory category,
String contents,
String descrip) |
| Modifier and Type | Method and Description |
|---|---|
EditorPopupItemCategory |
getCategory() |
String |
getContents() |
String |
getDescription() |
ImageIcon |
getIcon() |
String |
getName() |
void |
setCategory(EditorPopupItemCategory category) |
void |
setContents(String contents) |
void |
setDescription(String description) |
void |
setIcon(ImageIcon icon) |
void |
setName(String name) |
public DefaultEditorPopupItem()
public DefaultEditorPopupItem(String name, EditorPopupItemCategory category, String contents, String descrip)
public EditorPopupItemCategory getCategory()
getCategory in interface EditorPopupItempublic String getContents()
getContents in interface EditorPopupItempublic String getDescription()
getDescription in interface EditorPopupItempublic ImageIcon getIcon()
getIcon in interface EditorPopupItempublic String getName()
getName in interface EditorPopupItempublic void setContents(String contents)
contents - the contents to setpublic void setDescription(String description)
description - the description to setpublic void setName(String name)
name - the name to setpublic void setIcon(ImageIcon icon)
icon - the icon to setpublic void setCategory(EditorPopupItemCategory category)
category - the category to setCopyright © 2019 com.github.mfjamil. All rights reserved.