public class MenuIteratorTag
extends neo.taglib.base.IoBodyTagSupport
Constructor and Description |
---|
MenuIteratorTag()
constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
addDefault(ArrayList list,
MenuItem root) |
int |
doAfterBody() |
int |
doEndTag() |
int |
doStartTag() |
MenuItem |
getCurrent()
Returns the Current attribute of the MenuIteratorTag object
|
int |
getCurrentSectionID()
returns current sectionid
|
String |
getDepth() |
String |
getStartID() |
int |
getStartIdInt() |
boolean |
isCurrentInPath()
checks if current iterator element is a in path of current section
|
boolean |
isCurrentInPath(MenuItem pCurrentIteratorElement)
checks if current iterator element is a in path of current section
|
boolean |
isCurrentNormal()
checks if current iterator element is not a sibling of current section
|
boolean |
isCurrentOpen()
Check to see if this item is open, that is it's parent is in path...
|
boolean |
isCurrentSibling()
checks if current iterator element is a sibling of current section
|
boolean |
isIteratorCurrent()
checks if current iterator element is current section current section
|
boolean |
isSubOfCurrent() |
protected void |
iterateMenu(ArrayList list,
Menu menu) |
protected int |
next() |
void |
release() |
void |
setCurrentSectionID(int _currentSectionID)
sets current section id
|
void |
setDepth(String level) |
void |
setMenu(Menu b)
Sets the Menu attribute of the MenuIteratorTag object
|
void |
setStartID(String newStartID) |
doInitBody, getBodyContent, getPreviousOut, setBodyContent
allowStale, convertToScope, getAPI, getJspPath, getName, getObjectByProperty, getProperty, getServletContext, getSpecifiedObject, getSpecifiedObject, getSpecifiedObject, getToScope, isLoggingEnabled, setName, setProperty, setToScope
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public void setMenu(Menu b)
b
- the new Menu valuepublic MenuItem getCurrent()
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class neo.taglib.base.IoBodyTagSupport
public int doAfterBody()
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class neo.taglib.base.IoBodyTagSupport
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class neo.taglib.base.IoBodyTagSupport
public boolean isCurrentSibling()
public boolean isCurrentNormal()
public boolean isCurrentInPath(MenuItem pCurrentIteratorElement)
public boolean isCurrentInPath()
public boolean isSubOfCurrent()
public boolean isIteratorCurrent()
public boolean isCurrentOpen()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class neo.taglib.base.IoBodyTagSupport
javax.servlet.jsp.JspException
protected int next()
public int getCurrentSectionID()
public void setCurrentSectionID(int _currentSectionID)
public void setDepth(String level)
public String getDepth()
public void setStartID(String newStartID)
public String getStartID()
public int getStartIdInt()
© 1998- 2017 Escenic AS