public class UiView extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UiView.Category
Designates the navigation menu category.
|
Constructor and Description |
---|
UiView(UiView.Category category,
String id,
String label)
Creates a new user interface view descriptor.
|
UiView(UiView.Category category,
String id,
String label,
String iconId)
Creates a new user interface view descriptor.
|
UiView(UiView.Category category,
String id,
String label,
String iconId,
String helpPageUrl)
Creates a new user interface view descriptor.
|
Modifier and Type | Method and Description |
---|---|
UiView.Category |
category()
Returns the navigation category.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
helpPageUrl()
Returns the help page URL for a specific view.
|
String |
iconId()
Returns the icon identifier.
|
String |
id()
Returns the view identifier.
|
String |
label()
Returns the view label.
|
String |
toString() |
public UiView(UiView.Category category, String id, String label)
category
- view categoryid
- view identifierlabel
- view labelpublic UiView(UiView.Category category, String id, String label, String iconId)
Note: see the glyphMapping
structure in icon.js
for
valid icon identifiers.
category
- view categoryid
- view identifierlabel
- view labeliconId
- icon idpublic UiView(UiView.Category category, String id, String label, String iconId, String helpPageUrl)
Note: see the glyphMapping
structure in icon.js
for
valid icon identifiers.
category
- view categoryid
- view identifierlabel
- view labeliconId
- icon idhelpPageUrl
- help page URLpublic UiView.Category category()
public String id()
public String label()
public String iconId()
public String helpPageUrl()