public class SideBarSectionDescriptor extends Object implements Comparable<SideBarSectionDescriptor>
SideBarSection annotation.| Constructor and Description |
|---|
SideBarSectionDescriptor(SideBarSection section,
I18N i18n)
You should never need to create instances of this class directly.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SideBarSectionDescriptor o) |
String |
getCaption()
Returns the caption of this side bar section.
|
String |
getId()
Returns the ID of this side bar section.
|
int |
getOrder()
Returns the order of the side bar section within the side bar.
|
boolean |
isAvailableFor(Class<? extends UI> uiClass)
Checks if this section is available for the specified UI subclass.
|
public SideBarSectionDescriptor(SideBarSection section, I18N i18n)
section - the annotation, must not be null.i18n - the I18N instance to use when looking up localized captions, must not be null.public String getCaption()
SideBarSection.captionCode(),
this method will fetch the string from I18N.null.public int getOrder()
public String getId()
null.public boolean isAvailableFor(Class<? extends UI> uiClass)
uiClass - the UI subclass, must not be null.public int compareTo(SideBarSectionDescriptor o)
compareTo in interface Comparable<SideBarSectionDescriptor>Copyright © 2015. All rights reserved.