|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.menubar.BaseSelectorMenuItem
public abstract class BaseSelectorMenuItem
BaseSelectorMenuItem TransformationBean used to create a SelectorMenuItem. SelectorMenuItems are added to a Menu. Menus are added to a MenuBar.
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 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 .
Field Summary | |
---|---|
protected boolean |
modal
|
Fields inherited from class com.sas.servlet.tbeans.menubar.BaseMenuItem |
---|
submenu |
Fields inherited from class com.sas.servlet.tbeans.BaseButton |
---|
BOTTOM, BOTTOM_ALL, BOTTOM_LEFT, BOTTOM_RIGHT, CENTER_ALL, DEFAULT_DYNAMIC_BUTTON_ROOT_KEY, DEFAULT_DYNAMIC_BUTTON_ROOT_NAME, imageLocation, LEFT, NONE, RIGHT, TOP, TOP_ALL, TOP_LEFT, TOP_RIGHT |
Constructor Summary | |
---|---|
BaseSelectorMenuItem()
|
Method Summary | |
---|---|
int |
getMenuType()
Returns the menuType of the menu bar |
BaseTransformation |
getSelector()
Returns the selector associated with the menu item |
int |
getSelectorHeight()
Returns the height of the selector's window when the menuType is set to SELECTOR_EXTERNAL |
int |
getSelectorWidth()
Returns the width of the selector's window when the menuType is set to SELECTOR_EXTERNAL |
boolean |
isModal()
|
void |
setMenuType(int type)
Sets the menu style of the menu bar |
void |
setModal(boolean modal)
|
void |
setSelector(BaseTransformation selector)
Sets the selector associated with the SelectorMenuItem |
void |
setSelectorHeight(int height)
Sets the height of the selector's window when the menuType is set to SELECTOR_EXTERNAL |
void |
setSelectorWidth(int width)
Sets the width of the selector's window when the menuType is set to SELECTOR_EXTERNAL |
Methods inherited from class com.sas.servlet.tbeans.menubar.BaseMenuItem |
---|
getDefaultTemplate, getMenu, getNextMenu, getNextMenuItem, getPreviousMenu, getPreviousMenuItem, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, isDivider, isSelected, setNextMenu, setNextMenuItem, setPreviousMenu, setPreviousMenuItem, setSelected, setTemplate, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation |
Field Detail |
---|
protected boolean modal
Constructor Detail |
---|
public BaseSelectorMenuItem()
Method Detail |
---|
public int getSelectorWidth()
setSelectorWidth(int)
,
getSelectorHeight()
,
setSelectorHeight(int)
public void setSelectorWidth(int width)
getSelectorWidth()
,
getSelectorHeight()
,
setSelectorHeight(int)
public int getSelectorHeight()
setSelectorHeight(int)
,
getSelectorWidth()
,
setSelectorWidth(int)
public void setSelectorHeight(int height)
getSelectorHeight()
,
getSelectorWidth()
,
setSelectorWidth(int)
public void setSelector(BaseTransformation selector)
selector
- The selector associated with the SelectorMenuItemgetSelector()
public BaseTransformation getSelector()
setSelector(BaseTransformation)
public void setMenuType(int type)
The
- menu style of the menu bar. Acceptable
values are:
com.sas.servlet.tbeans.menubar.BaseMenuBar.SELECTOR_EXPAND
-
The selector that's on the SelectorMenuItem appears below the SelectorMenuBar
when the user clicks on this menu. com.sas.servlet.tbeans.menubar.BaseMenuBar.SELECTOR_EXTERNAL
-
The URL set on the menu or SelectorMenuItem, will be opened on a new browser window when the user
clicks on the menu or SelectorMenuItemgetMenuType()
public int getMenuType()
setMenuType(int)
public boolean isModal()
public void setModal(boolean modal)
modal
- The modal to set.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |