|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.menubar.MenuBarTag
public class MenuBarTag
MenuBarTag is the tag handler class for the sas:MenuBar custom tag MenuBarTag is invoked by the JSP page to evaluate the sas:MenuBar custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, MenuBar, to execute the methods.
If you need to extend or modify the functionality of the sas:MenuBar custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:MenuBar custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
The sasads:MenuBar custom tag contains sasads:Menu tags which contain sasads:MenuItem tags. The MenuBar can be horizontally or vertically oriented. The default orientation is horizontal.
BaseMenuBar
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
RB_KEY
|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS |
Constructor Summary | |
---|---|
MenuBarTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes on the underlying MenuBar object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Processes the start tag for this instance. |
int |
getBorderWidth()
Gets borderWidth property (Integer) |
int |
getCellPadding()
Gets the cellPadding property (Integer). |
int |
getCellSpacing()
Gets the cellSpacing property (Integer). |
int |
getHeight()
Gets the height property (Integer). |
int |
getHeightPercentage()
Gets the heightPercentage property (Integer). |
java.lang.String |
getMenuType()
Gets the menuType property (String). |
java.lang.String |
getModel()
Gets the model property (String). |
java.lang.String |
getSeparator()
Gets the separator property (String). |
java.lang.String |
getStyleClassPrefix()
Gets the styleClassPrefix property (String). |
java.lang.String |
getTarget()
getTarget returns the value of the TARGET= argument used on the anchor tags generated. |
int |
getWidth()
Gets the width property (Integer). |
int |
getWidthPercentage()
Gets the widthPercentage property (Integer). |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isHorizontalOrientation()
Gets the horizontalOrientation property (boolean). |
void |
setBorderWidth(int border)
Sets the borderWidth property (Integer). |
void |
setCellPadding(int padding)
Sets the cellPadding property (Integer). |
void |
setCellSpacing(int spacing)
Sets the cellSpacing property (Integer). |
void |
setHeight(int value)
Sets the height property (Integer). |
void |
setHeightPercentage(int value)
Sets the heightPercentage property (Integer). |
void |
setHorizontalOrientation(boolean horizontalOrientation)
Sets the horizontalOrientation property (boolean). |
void |
setMenuType(java.lang.String menuType)
Sets the menuType property (String). |
void |
setModel(java.lang.String model)
Sets the model property (String). |
void |
setSeparator(java.lang.String separator)
Sets the separator property (String). |
void |
setStyleClassPrefix(java.lang.String styleClassPrefix)
Sets the styleClassPrefix property (String). |
void |
setTarget(java.lang.String target)
Sets the value of the TARGET= argument used on the anchor tags generated. |
void |
setWidth(int value)
Sets the width property (Integer). |
void |
setWidthPercentage(int value)
Sets the widthPercentage property (Integer). |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public MenuBarTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseTransformationBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setTarget(java.lang.String target)
value
- The value of the TARGET= argrument on the anchor tagpublic java.lang.String getTarget()
public void setMenuType(java.lang.String menuType)
menuType
- the menuType Stringpublic java.lang.String getMenuType()
public void setStyleClassPrefix(java.lang.String styleClassPrefix)
styleClassPrefix
- the styleClassPrefix Stringpublic java.lang.String getStyleClassPrefix()
public void setHorizontalOrientation(boolean horizontalOrientation)
horizontalOrientation
- the horizontalOrientation booleanpublic boolean isHorizontalOrientation()
public void setModel(java.lang.String model)
model
- the model Stringpublic java.lang.String getModel()
public void setSeparator(java.lang.String separator)
separator
- the separator Stringpublic java.lang.String getSeparator()
public void setBorderWidth(int border)
border
- The border width in pixelspublic int getBorderWidth()
public void setCellSpacing(int spacing)
spacing
- The number of pixels between each cellpublic int getCellSpacing()
public void setCellPadding(int padding)
padding
- The number of pixels between the cell border and the cell
contentpublic int getCellPadding()
public void setWidth(int value)
value
- The width of the MenuBar/Table in pixelspublic int getWidth()
public void setWidthPercentage(int value)
value
- The width of the MenuBar/Table as a percentagepublic int getWidthPercentage()
public void setHeight(int value)
value
- The height of the MenuBar/Table in pixelspublic int getHeight()
public void setHeightPercentage(int value)
value
- The height of the MenuBar/Table as a percentagepublic int getHeightPercentage()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.BaseBodyTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.TagSupport.doEndTag()
,
BaseBodyTag.setInstantiate(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |