|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.navigationbar.html.NavigationBar
public class NavigationBar
NavigationBar is a TransformationBean that is composed of other TransformationBeans that can include the following
sub-components: NavigationBarColumnScrollingElement
,
NavigationBarColumnScrollingElement
or
NavigationBarColumnScrollingElement
.
The NavigationBar Transformation Bean renders the attached NavigationBar elements using the given template. The NavigationBar is used to scroll through the model of a Transformation Bean which implements BaseNavigationBarInterface.
The NavigationBar will not be visible (thus will not be rendered) if it only contains NavigationBarScrollingElements which are not visible. In other words, if the NavigationBarScrollingElements are not visible then the NavigationBar has nothing to display and thus will not be visible (rendered).
The NavigationBar is one of several TransformationBeans that are considered composite components. A composite component allows a developer to design custom components that are made up of a combination of other components, such as TextEntry, ListBox, and Label TransformationBeans. The visual layout of a composite component can be easily controlled through a template. For more information on composite TransformationBeans, refer to the AppDev Studio Developer Site. You'll find a useful reference document entitled Composite TransformationBeans as well as the TransformationBean Component and Style Reference.
Note that the toString() method on this class calls the write
method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
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/.
Examples for this class may be found on the Examples Site.
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:NavigationBar 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 |
---|
Fields inherited from interface com.sas.servlet.tbeans.navigationbar.html.NavigationBarStyleKeysInterface |
---|
COLUMN_NAVIGATIONBAR_CONTAINER_STYLE, NAVIGATIONBAR_CONTAINER_STYLE, NAVIGATIONBAR_ELEMENT_STYLE |
Fields inherited from interface com.sas.servlet.tbeans.navigationbar.NavigationBarKeysInterface |
---|
NAVIGATIONBAR_COLUMN_ELEMENT, NAVIGATIONBAR_EDIT_ELEMENT, NAVIGATIONBAR_ROW_ELEMENT |
Constructor Summary | |
---|---|
NavigationBar()
Default constructor for the Navigation Bar |
Method Summary | |
---|---|
boolean |
isVisible()
Returns whether or not the NavigationBar should be written. |
Methods inherited from class com.sas.servlet.tbeans.navigationbar.BaseNavigationBar |
---|
getModel, setModel, writeContent |
Methods inherited from interface com.sas.servlet.tbeans.TransformationInterface |
---|
getCustomAttributes, getDescription, getId, getLocale, getName, getRequest, getResponse, getTagEpilog, getTagProlog, setCustomAttributes, setDescription, setId, setLocale, setName, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, write, write, write |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Constructor Detail |
---|
public NavigationBar()
Method Detail |
---|
public boolean isVisible()
isVisible
in interface TransformationInterface
isVisible
in class BaseTransformation
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |