public class DefaultMenuItem extends AbstractMenuItem
Modifier and Type | Field and Description |
---|---|
static short |
CATEGORIES
The type for the CATEGORIES menu item.
|
static short |
DICTIONARY
The type for the DICTIONARY menu item.
|
static short |
GLOSSARY
The type for the GLOSSARY menu item.
|
static short |
HOME
The type for the HOME menu item.
|
static short |
LINKS_FROM
The type for the LINKS_FROM menu item.
|
Constructor and Description |
---|
DefaultMenuItem(short type)
Constructor.
|
DefaultMenuItem(java.lang.String desc,
short type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
short |
getType()
Return the menu item type.
|
static boolean |
supportType(short type)
Return true if a item type is supported.
|
getDescription
public static final short HOME
public static final short DICTIONARY
public static final short CATEGORIES
public static final short GLOSSARY
public static final short LINKS_FROM
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence