public class InternalMenuItem extends AbstractMenuItem
Constructor and Description |
---|
InternalMenuItem(java.lang.String desc)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(XMLParentArticle article)
Set the referenced article.
|
XMLParentArticle |
getArticle()
Return the referenced article.
|
java.lang.String |
getID()
Return the other article reference ID.
|
java.lang.String |
getPackage()
Return the article reference package.
|
void |
setID(java.lang.String id)
Set the referenced article ID.
|
void |
setPackage(java.lang.String pack)
Set the package ID of the referenced article.
|
getDescription
public InternalMenuItem(java.lang.String desc)
desc
- the menu item descriptionpublic void setID(java.lang.String id)
id
- the referenced article IDpublic void setPackage(java.lang.String pack)
pack
- the package ID of the referenced articlepublic java.lang.String getID()
XMLArticle.getDescription()
XMLArticle.getID()
public java.lang.String getPackage()
public XMLParentArticle getArticle()
public void bind(XMLParentArticle article)
article
- the referenced articleCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence