public class MenuIteratorTag
extends 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) |
public void setMenu(Menu b)
b
- the new Menu valuepublic MenuItem getCurrent()
public int doStartTag()
public int doAfterBody()
public void release()
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
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- 2016 Escenic AS