|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.menubar.html.BaseHTMLMenuBar
public abstract class BaseHTMLMenuBar
The BaseHTMLMenuBar is an abstract TransformationBean used to create an HTML MenuBar. MenuBar will contain one or more Menus. Menus may contain one or more MenuItems or SelectorMenuItems.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on these custom tags.
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 .
BaseMenuItem
,
BaseMenu
,
BaseSelectorMenuItem
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
BANNER_GLOBALMENU_LOOK
|
static java.lang.String |
DEFAULT_LOOK
|
Fields inherited from class com.sas.servlet.tbeans.menubar.BaseMenuBar |
---|
DROP_CLICK, DROP_HOVER, menuCounter, NAVIGATION, SELECTOR_EXPAND, SELECTOR_EXTERNAL |
Fields inherited from interface com.sas.servlet.tbeans.menubar.html.MenuBarStyleAreaKeysInterface |
---|
MENU, MENU_DISABLED, MENU_DIVIDER, MENU_ITEM, MENU_ITEM_ARROW, MENU_ITEM_CONTAINER, MENU_ITEM_DISABLED, MENU_ITEM_DIVIDER, MENU_ITEM_LINK, MENU_ITEM_LINK_DISABLED, MENU_LINK, MENU_LINK_DISABLED, MENUBAR_CONTAINER |
Constructor Summary | |
---|---|
BaseHTMLMenuBar()
Constructor of the BaseHTMLMenuBar class |
Method Summary | |
---|---|
void |
addSeparator()
Adds a separator (blank space) after the last menu set |
void |
addSeparator(java.lang.String separator)
Adds a separator after the last menu set |
java.util.Map |
getStyleMap()
Returns the component style map for this MenuBar. |
void |
setStyleMap(java.util.Map styleMap)
Sets a style map for this MenuBar. |
Field Detail |
---|
public static final java.lang.String DEFAULT_LOOK
public static final java.lang.String BANNER_GLOBALMENU_LOOK
Constructor Detail |
---|
public BaseHTMLMenuBar()
Method Detail |
---|
public void addSeparator()
addSeparator(String)
public void addSeparator(java.lang.String separator)
separator
- a string that will be placed after the last menuaddSeparator()
public java.util.Map getStyleMap()
STYLE KEY | DEFAULT STYLE |
MENUBAR_CONTAINER | menuBar |
MENU | menuItem |
MENU_LINK | menuLink |
MENU_DIVIDER | menuLink |
MENU_DISABLED | menuDisabled |
MENU_LINK_DISABLED | menuLinkDisabled |
MENU_ITEM_CONTAINER | menuItemContainer |
MENU_ITEM_ARROW | menuItemArrow |
MENU_ITEM_DIVIDER | menuItemDivider |
MENU_ITEM | menuItem |
MENU_ITEM_LINK | menuItemLink |
MENU_ITEM_DISABLED | menuItemDisabled |
MENU_ITEM_LINK_DISABLED | menuItemLinkDisabled |
MENU_ITEM_ARROW | menuItemArrow |
MENU_ITEM_DIVIDER | menuItemDivider |
getStyleMap
in interface ComplexStyleInterface
public void setStyleMap(java.util.Map styleMap)
styleMap
- Map containing styles and style keys for this menubargetStyleMap()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |