|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.pow2.webgui.Widget
com.pow2.webgui.tabbedselector.TabbedSelector
public class TabbedSelector
TabbedSelector class.
Field Summary | |
---|---|
static String |
KEY
tabbedSelector key |
protected String |
selectedTab
name of the selected tab |
protected ArrayList |
tabs
tab list |
Fields inherited from class com.pow2.webgui.Widget |
---|
cat, color, content, contentProvider, contentProviderName, drawer, followUp, height, id, name, parentW, title, titleType, widgetDrawer, widgetInfo, width |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
TabbedSelector()
Default protected constructor. |
Method Summary | |
---|---|
void |
addTab(Tab tab)
Adds a tab widget to this TabbedPanel. |
void |
addTab(Tab tab,
StringBuffer cnt)
Adds a tab widget to this TabbedPanel. |
String |
getSelectedTab()
Gets the selectedTab attribute of the TabbedPanel object |
ArrayList |
getTabs()
Gets the the tabs list of this TabbedPanel |
protected StringBuffer |
getTabsDescription()
Gets the description of the TabbedPanel tabs. |
void |
removeTab(String name)
Removes the tab component with the given name from the tabbedPanel list. |
void |
removeTab(Tab tab)
Removes the input tab component from the tabbedPanel list. |
void |
removeTabs()
Removes all the tab components |
void |
setSelectedTab(String newSelectedTab)
Sets the selectedTab attribute of the TabbedPanel object |
void |
updateAttributes(TabbedSelector w)
Updates the input TabbedSelector attributes using the attributes of this class. |
Methods inherited from class com.pow2.webgui.Widget |
---|
draw, getColor, getContent, getContentProvider, getContentProviderName, getDrawer, getFollowUp, getHeight, getId, getName, getParentW, getTitle, getTitleType, getWidgetDrawer, getWidgetInfo, getWidth, setColor, setContent, setContentProvider, setContentProviderName, setDrawer, setFollowUp, setHeight, setId, setName, setParentW, setTitle, setTitleType, setWidgetDrawer, setWidgetInfo, setWidth, updateAttributes |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
public static final String KEY
protected ArrayList tabs
protected String selectedTab
Constructor Detail |
---|
public TabbedSelector()
Method Detail |
---|
public void setSelectedTab(String newSelectedTab)
newSelectedTab
- the new selectedTab valuepublic String getSelectedTab()
public ArrayList getTabs()
public void addTab(Tab tab, StringBuffer cnt)
tab
- the tab object to add to.cnt
- the tab content.public void addTab(Tab tab)
tab
- the tab object to add to.public void removeTab(Tab tab)
tab
- the tab object to remove.public void removeTab(String name)
name
- the name of the tab component to remove.public void removeTabs()
public void updateAttributes(TabbedSelector w)
w
- Description of the Parameterprotected StringBuffer getTabsDescription() throws Exception
Exception
- if any error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |