Methods Summary |
---|
private void | addToParent()
Tab tab = new Tab(name, href, selected);
myParent.setTabs(tab);
|
public int | doStartTag()
myParent = (NavigationTag)findAncestorWithClass(this, NavigationTag.class);
if (myParent == null)
{
throw new JspTagException("Tab tag not nested within navigation tag.");
}
if (name != null)
{
addToParent();
}
return EVAL_BODY_INCLUDE;
|
public java.lang.String | getHref()
return href;
|
public java.lang.String | getName()
return name;
|
public boolean | isSelected()
return selected;
|
public void | setHref(java.lang.String string)
href = string;
|
public void | setName(java.lang.String string)
name = string;
|
public void | setSelected(boolean b)
selected = b;
|