public class SectionItemImpl extends AbstractMenuItem implements SectionItem
SectionItem
interfaceModifier | Constructor and Description |
---|---|
protected |
SectionItemImpl() |
|
SectionItemImpl(int secId)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getIncludeLevel()
how many childlevels should we include?
|
neo.xredsys.api.Section |
getSection()
returns the section
|
int |
getSectionId()
returns the section ID
|
String |
getText()
returns the text of the menuitem
|
String |
getText(String pLang)
returns the language specific text of the menuitem
|
String |
getURL()
returns the url of the menuitem
|
int |
hashCode() |
boolean |
includeSubSections()
should we include subsections?
|
protected boolean |
isEquals(AbstractMenuItem item) |
void |
setIncludeLevel(int level)
sets includelevel
|
void |
setIncludeSubSections(boolean include)
sets includesection
|
void |
setSectionId(int newSectionId)
sets sectionname
|
String |
toString() |
addChild, addChildAt, equals, getChildren, getContent, getImageURL, getLevel, getParent, getPosition, getType, indexOfChild, removeChild, setChildren, setContent, setImageURL, setLevel, setParent, setText, setText, setURL
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getChildren, getImageURL, getLevel, getParent, getType
protected SectionItemImpl()
public SectionItemImpl(int secId)
public void setIncludeSubSections(boolean include)
public boolean includeSubSections()
SectionItem
includeSubSections
in interface SectionItem
public void setIncludeLevel(int level)
public int getIncludeLevel()
SectionItem
getIncludeLevel
in interface SectionItem
public void setSectionId(int newSectionId)
public int getSectionId()
SectionItem
getSectionId
in interface SectionItem
public neo.xredsys.api.Section getSection()
SectionItem
getSection
in interface SectionItem
public String toString()
toString
in class AbstractMenuItem
protected boolean isEquals(AbstractMenuItem item)
isEquals
in class AbstractMenuItem
public String getText()
MenuItem
getText
in interface MenuItem
getText
in class AbstractMenuItem
public String getText(String pLang)
MenuItem
getText
in interface MenuItem
getText
in class AbstractMenuItem
© 1998- 2017 Escenic AS