Java Doc for JspNavBar.java in  » J2EE » Sofia » com » salmonllc » jsp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » Sofia » com.salmonllc.jsp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.salmonllc.html.HtmlComponent
      com.salmonllc.jsp.JspContainer
         com.salmonllc.jsp.JspNavBar

JspNavBar
public class JspNavBar extends JspContainer implements Constants,java.io.Serializable(Code)
This object is used to render a Navigation Menu in a JSP Page

Inner Class :public class Group implements java.io.Serializable
Inner Class :public class Item implements java.io.Serializable
Inner Class :public class SubItem implements java.io.Serializable

Field Summary
 boolean_autoSelectNav
    
 boolean_bHorizontalMode
    
 boolean_dreamMode
    
 String_groupname
    
 Vector_groups
    
 HtmlScript_imagesScript
    
 Hashtable_nav
    
 int_navWidth
    
 String_navWidthPercent
    
 int_selectedGroupIndex
    
 int_selectedItemIndex
    
 boolean_showSubMenuMarker
    
 int_sizeOption
    
 Vector_subItems
    
 HtmlTable_table
    
 Vector_vPopups
    

Constructor Summary
public  JspNavBar(String name, HtmlPage p)
     This constructor creates a NavigationMenu using properties from a group with a groupname of default.
public  JspNavBar(String name, String theme, HtmlPage p)
     This constructor creates a NavigationMenu using properties from a group with a groupname of default.

Method Summary
public  voidaddGroupItem(String name, int group, String title, String href, String target, int horizPadding, String subMenu)
    
public  voidaddGroupItem(String name, int group, String title, String href, String target, int horizPadding, String bgColor, String subMenu, boolean showPopup)
     Add a NavBar Item to the specified group
Parameters:
  name - java.lang.String - Internal Name of Item
Parameters:
  group - int - Index of Group to add Item
Parameters:
  title - java.lang.String - Text To be Displayed
Parameters:
  href - java.lang.String - Href
Parameters:
  target - java.lang.String - Target
Parameters:
  horizPadding - int - Horizontal Padding to Be added In front of Displayed Text
Parameters:
  bgColor - java.lang.String - Background Color of Item .
public  voidaddGroupItem(String name, String title, String href)
    
public  voidaddGroupItem(String name, String title, String href, int horizPadding)
    
public  voidaddGroupItem(String name, String title, String href, String target, int horizPadding)
    
public  voidaddSubItem(String name, String title, String href, String target, int horizPadding, String subMenu, String subMenuGroup)
    
public  voidaddSubItem(String name, String title, String href, String target, int horizPadding, String subMenu, String subMenuGroup, String bgColor)
    
public  voidclearSelectedGroups()
     This method clears all the selected groups.
public  voidclearSelectedItem()
     This method clears the selected menu item.
public  voidclearSelectedSubItem()
     This method clears the selected menu item.
public  voidcontractAllGroups()
    
public  voidcontractGroup(int groupIdx)
    
public  voidcontractGroup(String groupName)
    
public  voidcreateGroup(String name, String image, String href, String groupTitle, int vertPadding)
    
public  voidcreateGroup(String name, String image, String href, String groupTitle, int vertPadding, String bgColor)
    
public  voidcreateGroup(String name, String image, String href, String groupTitle, int vertPadding, String bgColor, String groupHrefStyle, String groupHoverStyle)
    
public  voidexpandAllGroups()
    
public  voidexpandGroup(int groupIdx)
    
public  voidexpandGroup(String groupName)
    
public  voidgenerateHTML(TagWriter p)
     Generates the Html for the component.
public  StringgetAnchorPrefixCss()
    
public  intgetGroupIndex(String groupName)
    
public  StringgetGroupTitle(int groupIdx)
    
public  booleangetHorizontalMode()
    
public  intgetLastGroupAdded()
     This method sets the Last Group added.
public  StringgetLastSubMenuAdded()
     This method sets the Last Group added.
public  VectorgetPopupsVector()
    
public  booleangetShowSubMenuMarker()
    
public  StringgetWidth()
    
public  booleanisFirstLevelSubMenu(String subMenu)
    
public  booleanisGenerateScripts()
    
public  booleanisGroupExpanded(String groupName)
    
public  booleanisHorizontalMode()
    
public  booleanisIE5()
    
public  booleanisIE6()
    
public  booleanisNetscape4()
    
public  booleanisNetscape6()
    
public  booleanisNetscape7()
    
public  booleanisNetscapeBelowV6()
    
protected  HtmlImagenewHorizonalSpacer(int pixels)
    
protected  HtmlImagenewVerticalSpacer(int pixels)
    
public  booleanremoveAllGroupItems(int groupIdx)
     Remove all items from the specified Group index
Parameters:
  groupIdx - is the group index of which items will be removed .
public  booleanremoveAllGroupItems(String groupName)
     Remove all items from the specified Group name
Parameters:
  groupName - is the group name to remove items from.
public  booleanremoveAllGroups()
     Remove all Groups and their associated Items from the Navbar return true/false if removal was successful.
public  booleanremoveSubItems(String subMenuName)
    
public  voidsetAlign(String align)
     Sets the alignment property for the table.
public  voidsetAnchorPrefixCss(String anchorPrefixCss)
    
public  voidsetAutoSelectNavbar(boolean autoSelect)
    
public  voidsetBgcolor(String value)
     Sets the background color for the table.
public  voidsetBorder(int border)
     Sets the border width for the table.
public  voidsetCellBgColor(String val)
     This method sets the NavBar Item Cell BG Color.
public  voidsetCellPadding(int value)
     Sets the cell padding for the table.
public  voidsetCellSpacing(int value)
     Sets the cell spacing for the table.
public  voidsetCols(int value)
     Sets the cell padding for the table.
public  voidsetGenerateScripts(boolean bGenScript)
    
public  voidsetGroupCellBgColor(String val)
     This method sets the Group Cell BG Color.
public  voidsetGroupCellBgColor(int groupIdx, String bgColor)
     This method sets the Group Cell BG Color.
public  voidsetGroupExpansion(String groupName)
    
public  voidsetGroupHoverBgColor(String val)
     This method sets the Group Cell Hover BG Color.
public  voidsetGroupHoverStyle(int groupIdx, String groupHoverStyle)
     This method sets the Group Hover Style.
public  voidsetGroupHoverStyle(String val)
     This method sets the Group Cell Hover Style.
public  voidsetGroupHrefStyle(int groupIdx, String groupHrefStyle)
     This method sets the Group Href Style.
public  voidsetGroupHrefStyle(String val)
     This method sets the Group Cell Href Style.
public  voidsetGroupSelected(int groupIdx, boolean selected)
     This method sets the Group to a state of selected.
public  voidsetGroupSpacerImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetGroupTitle(String groupName, String titleText)
    
public  voidsetHSpace(int val)
     Sets the horizontal margin for the table.
public  voidsetHSpaceImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetHeight(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetHorizontalMode(boolean bHorizontalMode)
    
public  voidsetHoverBgColor(String val)
     This method sets the NavBar Item MouseOver Cell BG Color.
public  voidsetHoverStyle(String val)
     This method sets the NavBar Item MouseOver Style.
public  voidsetHref(int groupIndex, int itemIndex, String href)
    
public  voidsetHref(String groupName, String href)
    
public  voidsetHref(int groupIndex, String href)
    
public  voidsetHrefStyle(String val)
     This method sets the NavBar Item Href Style.
public  voidsetItemBgColor(int groupIndex, int itemIndex, String color)
    
public  voidsetLastGroupAdded(int val)
     This method sets the Last Group added.
public  voidsetLastSubMenuAdded(String val)
     This method sets the Last Group added.
public  voidsetMarkerImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetMarkerOverImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetSelectedBgColor(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetSelectedHoverBgColor(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetSelectedHoverStyle(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetSelectedItem()
     This selects the current page shown if it has a reference in the menu.
public  voidsetSelectedItem(int groupIndex, int itemIndex, boolean selected)
    
public  voidsetSelectedItem(String itemName)
     This selects the current page shown if it has a reference in the menu.
public  voidsetSelectedMarkerImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetSelectedStyle(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetSelectedSubItem(String subItemName)
     This sets the subItem to Selected.
public  voidsetShowPopup(int groupIndex, int itemIndex, boolean show)
     Set whether the submenu of a Group item should have its submenu shown on the navbar or while hovering over the item.
Parameters:
  groupIndex - is the group index of the entry to hide/show.
Parameters:
  itemIndex - is the item index of the entry to hide/show.
Parameters:
  show - is to indicate whether the item should show popup in navbar or on mouseover.
public  voidsetShowPopup(String groupName, String itemName, boolean show)
     Set whether the submenu of a Group item should have its submenu shown on the navbar or while hovering over the item.
Parameters:
  groupName - is the group of the entry to hide/show.
Parameters:
  itemName - is the item of the entry to hide/show.
Parameters:
  show - is to indicate whether the submenu should be shown in navbar or On Mouseover.
public  voidsetShowPopupBgColor(String val)
     This method sets the Show Popup In Navbar Background Color.
public  voidsetShowPopupHoverStyle(String val)
     This method sets the Show Popup Hover Style.
public  voidsetShowPopupImage(String val)
    
public  voidsetShowPopupSelectedHoverStyle(String val)
     This method sets the Show Popup Selected Hover Style.
public  voidsetShowPopupSelectedStyle(String val)
     This method sets the Show Popup Selected Style.
public  voidsetShowPopupStyle(String val)
     This method sets the Show Popup Style.
public  voidsetShowSubMenuMarker(boolean showSubMenuMarker)
     Show the item marker in the sub menus.
public  voidsetSizeOption(int sizeoption)
    
public  voidsetSubHoverBgColor(String val)
     This method sets the NavBar SubItem MouseOver Cell BG Color.
public  voidsetSubHoverStyle(String val)
     This method sets the NavBar SubItem MouseOver Style.
public  voidsetSubHrefStyle(String val)
     This method sets the NavBar SubItem Href Style.
public  voidsetSubMenuBgColor(String val)
     This method sets the Sub Menu Default Background Color.
public  voidsetSubMenuItemBgColor(String subItemName, String bgColor)
    
public  voidsetSubMenuItemVisible(String itemName, boolean visible)
    
public  voidsetSubMenuVisible(String subMenuName, boolean visible)
    
public  voidsetTarget(int groupIndex, int itemIndex, String target)
    
public  voidsetTextImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetTextStyle(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetTheme(String theme)
     This method sets the property theme for the component.
public  voidsetTitle(int groupIndex, int itemIndex, String title)
    
public  voidsetVSpace(int val)
     Sets the vertical margin for the table.
public  voidsetVSpaceImage(String val)
     This method gets the minimum height of the table in pixels.
public  voidsetVisible(int groupIndex, int itemIndex, boolean visible)
    
public  voidsetVisible(int groupIndex, boolean visible)
    
public  voidsetVisible(String groupName, String itemName, boolean visible)
    
public  voidsetVisible(String groupName, boolean visible)
    
public  voidsetWidth(String val)
    

Field Detail
_autoSelectNav
boolean _autoSelectNav(Code)



_bHorizontalMode
boolean _bHorizontalMode(Code)



_dreamMode
boolean _dreamMode(Code)



_groupname
String _groupname(Code)



_groups
Vector _groups(Code)



_imagesScript
HtmlScript _imagesScript(Code)



_nav
Hashtable _nav(Code)



_navWidth
int _navWidth(Code)



_navWidthPercent
String _navWidthPercent(Code)



_selectedGroupIndex
int _selectedGroupIndex(Code)



_selectedItemIndex
int _selectedItemIndex(Code)



_showSubMenuMarker
boolean _showSubMenuMarker(Code)



_sizeOption
int _sizeOption(Code)



_subItems
Vector _subItems(Code)



_table
HtmlTable _table(Code)



_vPopups
Vector _vPopups(Code)




Constructor Detail
JspNavBar
public JspNavBar(String name, HtmlPage p)(Code)
This constructor creates a NavigationMenu using properties from a group with a groupname of default.
Parameters:
  name - java.lang.String
Parameters:
  p - com.salmonllc.html.HtmlPage



JspNavBar
public JspNavBar(String name, String theme, HtmlPage p)(Code)
This constructor creates a NavigationMenu using properties from a group with a groupname of default.
Parameters:
  name - java.lang.String
Parameters:
  theme - DOCUMENT ME!
Parameters:
  p - com.salmonllc.html.HtmlPage




Method Detail
addGroupItem
public void addGroupItem(String name, int group, String title, String href, String target, int horizPadding, String subMenu)(Code)
Add a NavBar Item to the specified group
Parameters:
  name - java.lang.String - Internal Name of Item
Parameters:
  group - int - Index of Group to add Item
Parameters:
  title - java.lang.String - Text To be Displayed
Parameters:
  href - java.lang.String - Href
Parameters:
  target - java.lang.String - Target
Parameters:
  horizPadding - int - Horizontal Padding to Be added In front of Displayed Text
Parameters:
  subMenu - java.lang.String - Name of Submenu for the Item



addGroupItem
public void addGroupItem(String name, int group, String title, String href, String target, int horizPadding, String bgColor, String subMenu, boolean showPopup)(Code)
Add a NavBar Item to the specified group
Parameters:
  name - java.lang.String - Internal Name of Item
Parameters:
  group - int - Index of Group to add Item
Parameters:
  title - java.lang.String - Text To be Displayed
Parameters:
  href - java.lang.String - Href
Parameters:
  target - java.lang.String - Target
Parameters:
  horizPadding - int - Horizontal Padding to Be added In front of Displayed Text
Parameters:
  bgColor - java.lang.String - Background Color of Item . Will override default
Parameters:
  subMenu - java.lang.String - Name of Submenu for the Item
Parameters:
  showPopup - boolean - Should Popup SubMenu Be shown inside the Navbar or Popup when Mouse Over



addGroupItem
public void addGroupItem(String name, String title, String href)(Code)
Add a NavBar Item to the last group Added
Parameters:
  name - java.lang.String - Internal Name of Item
Parameters:
  title - java.lang.String - Text To be Displayed
Parameters:
  href - java.lang.String - Href



addGroupItem
public void addGroupItem(String name, String title, String href, int horizPadding)(Code)
Add a NavBar Item to the last group Added
Parameters:
  name - java.lang.String - Internal Name of Item
Parameters:
  title - java.lang.String - Text To be Displayed
Parameters:
  href - DOCUMENT ME!
Parameters:
  horizPadding - int - Horizontal Padding to Be added In front of Displayed Text



addGroupItem
public void addGroupItem(String name, String title, String href, String target, int horizPadding)(Code)
Add a NavBar Item to the last group Added
Parameters:
  name - java.lang.String - Internal Name of Item
Parameters:
  title - java.lang.String - Text To be Displayed
Parameters:
  href - java.lang.String - Href
Parameters:
  target - java.lang.String - Target
Parameters:
  horizPadding - int - Horizontal Padding to Be added In front of Displayed Text



addSubItem
public void addSubItem(String name, String title, String href, String target, int horizPadding, String subMenu, String subMenuGroup)(Code)
Add Sub Item to a navBar Item
Parameters:
  name - DOCUMENT ME!
Parameters:
  title - DOCUMENT ME!
Parameters:
  href - DOCUMENT ME!
Parameters:
  target - DOCUMENT ME!
Parameters:
  horizPadding - DOCUMENT ME!
Parameters:
  subMenu - DOCUMENT ME!
Parameters:
  subMenuGroup - DOCUMENT ME!



addSubItem
public void addSubItem(String name, String title, String href, String target, int horizPadding, String subMenu, String subMenuGroup, String bgColor)(Code)
Add subItem to a navbar item
Parameters:
  name - DOCUMENT ME!
Parameters:
  title - DOCUMENT ME!
Parameters:
  href - DOCUMENT ME!
Parameters:
  target - DOCUMENT ME!
Parameters:
  horizPadding - DOCUMENT ME!
Parameters:
  subMenu - DOCUMENT ME!
Parameters:
  subMenuGroup - DOCUMENT ME!
Parameters:
  bgColor - DOCUMENT ME!



clearSelectedGroups
public void clearSelectedGroups()(Code)
This method clears all the selected groups.



clearSelectedItem
public void clearSelectedItem()(Code)
This method clears the selected menu item.



clearSelectedSubItem
public void clearSelectedSubItem()(Code)
This method clears the selected menu item.



contractAllGroups
public void contractAllGroups()(Code)
Collapse all group items in the Navbar



contractGroup
public void contractGroup(int groupIdx)(Code)
Collapse Group specified
Parameters:
  groupIdx - is the group index of the entry to hide/show.



contractGroup
public void contractGroup(String groupName)(Code)
Collapse Group specified by groupName
Parameters:
  groupName - is the group name of the entry to hide/show.



createGroup
public void createGroup(String name, String image, String href, String groupTitle, int vertPadding)(Code)
Create a Group Item
Parameters:
  name - java.lang.String
Parameters:
  image - DOCUMENT ME!
Parameters:
  href - DOCUMENT ME!
Parameters:
  groupTitle - DOCUMENT ME!
Parameters:
  vertPadding - DOCUMENT ME!



createGroup
public void createGroup(String name, String image, String href, String groupTitle, int vertPadding, String bgColor)(Code)
DOCUMENT ME!
Parameters:
  name - DOCUMENT ME!
Parameters:
  image - DOCUMENT ME!
Parameters:
  href - DOCUMENT ME!
Parameters:
  groupTitle - DOCUMENT ME!
Parameters:
  vertPadding - DOCUMENT ME!
Parameters:
  bgColor - DOCUMENT ME!



createGroup
public void createGroup(String name, String image, String href, String groupTitle, int vertPadding, String bgColor, String groupHrefStyle, String groupHoverStyle)(Code)
Create a Group Item
Parameters:
  name - java.lang.String
Parameters:
  image - DOCUMENT ME!
Parameters:
  href - DOCUMENT ME!
Parameters:
  groupTitle - DOCUMENT ME!
Parameters:
  vertPadding - DOCUMENT ME!
Parameters:
  bgColor - DOCUMENT ME!
Parameters:
  groupHrefStyle - The overriding Group Href Style
Parameters:
  groupHoverStyle - The overriding Group Hover Style



expandAllGroups
public void expandAllGroups()(Code)
Expand all Group Items



expandGroup
public void expandGroup(int groupIdx)(Code)
Expand Group item by group Index
Parameters:
  groupIdx - is the group index of the entry to hide/show.



expandGroup
public void expandGroup(String groupName)(Code)
Expand Group item by name
Parameters:
  groupName - is the group name of the entry to hide/show.



generateHTML
public void generateHTML(TagWriter p) throws java.io.IOException(Code)
Generates the Html for the component. This method is called by the framework and should not be called directly
Parameters:
  p - DOCUMENT ME!
throws:
  java.io.IOException - DOCUMENT ME!



getAnchorPrefixCss
public String getAnchorPrefixCss()(Code)



getGroupIndex
public int getGroupIndex(String groupName)(Code)
Get Group Index by groupName
Parameters:
  groupName - is the group name DOCUMENT ME!



getGroupTitle
public String getGroupTitle(int groupIdx)(Code)
Get Group Title Text by group Index
Parameters:
  groupIdx - is the group index DOCUMENT ME!



getHorizontalMode
public boolean getHorizontalMode()(Code)
DOCUMENT ME! DOCUMENT ME!



getLastGroupAdded
public int getLastGroupAdded()(Code)
This method sets the Last Group added. DOCUMENT ME!



getLastSubMenuAdded
public String getLastSubMenuAdded()(Code)
This method sets the Last Group added. DOCUMENT ME!



getPopupsVector
public Vector getPopupsVector()(Code)
DOCUMENT ME! DOCUMENT ME!



getShowSubMenuMarker
public boolean getShowSubMenuMarker()(Code)
DOCUMENT ME! DOCUMENT ME!



getWidth
public String getWidth()(Code)
Get Width width String



isFirstLevelSubMenu
public boolean isFirstLevelSubMenu(String subMenu)(Code)



isGenerateScripts
public boolean isGenerateScripts()(Code)
DOCUMENT ME! DOCUMENT ME!



isGroupExpanded
public boolean isGroupExpanded(String groupName)(Code)
Get Is Group Expanded
Parameters:
  groupName - DOCUMENT ME! DOCUMENT ME!



isHorizontalMode
public boolean isHorizontalMode()(Code)
DOCUMENT ME! DOCUMENT ME!



isIE5
public boolean isIE5()(Code)
DOCUMENT ME! DOCUMENT ME!



isIE6
public boolean isIE6()(Code)
DOCUMENT ME! DOCUMENT ME!



isNetscape4
public boolean isNetscape4()(Code)
DOCUMENT ME! DOCUMENT ME!



isNetscape6
public boolean isNetscape6()(Code)
DOCUMENT ME! DOCUMENT ME!



isNetscape7
public boolean isNetscape7()(Code)
DOCUMENT ME! DOCUMENT ME!



isNetscapeBelowV6
public boolean isNetscapeBelowV6()(Code)
DOCUMENT ME! DOCUMENT ME!



newHorizonalSpacer
protected HtmlImage newHorizonalSpacer(int pixels)(Code)
DOCUMENT ME!
Parameters:
  pixels - DOCUMENT ME! DOCUMENT ME!



newVerticalSpacer
protected HtmlImage newVerticalSpacer(int pixels)(Code)
DOCUMENT ME!
Parameters:
  pixels - int com.salmonllc.html.HtmlImage



removeAllGroupItems
public boolean removeAllGroupItems(int groupIdx)(Code)
Remove all items from the specified Group index
Parameters:
  groupIdx - is the group index of which items will be removed . return true/false if removal was successful. DOCUMENT ME!



removeAllGroupItems
public boolean removeAllGroupItems(String groupName)(Code)
Remove all items from the specified Group name
Parameters:
  groupName - is the group name to remove items from. DOCUMENT ME!



removeAllGroups
public boolean removeAllGroups()(Code)
Remove all Groups and their associated Items from the Navbar return true/false if removal was successful. DOCUMENT ME!



removeSubItems
public boolean removeSubItems(String subMenuName)(Code)
DOCUMENT ME!
Parameters:
  subMenuName - DOCUMENT ME! DOCUMENT ME!



setAlign
public void setAlign(String align)(Code)
Sets the alignment property for the table.
Parameters:
  align - Valid values are ALIGN_LEFT,ALIGN_CENTER,ALIGN_RIGHT and ALIGN_NONE.



setAnchorPrefixCss
public void setAnchorPrefixCss(String anchorPrefixCss)(Code)



setAutoSelectNavbar
public void setAutoSelectNavbar(boolean autoSelect)(Code)
Sets whether or not the navbar will generate extra url parameters that automatically select another nav item if the user clicks on it
Parameters:
  autoSelect - DOCUMENT ME!



setBgcolor
public void setBgcolor(String value)(Code)
Sets the background color for the table.
Parameters:
  value - DOCUMENT ME!



setBorder
public void setBorder(int border)(Code)
Sets the border width for the table.
Parameters:
  border - DOCUMENT ME!



setCellBgColor
public void setCellBgColor(String val)(Code)
This method sets the NavBar Item Cell BG Color.
Parameters:
  val - DOCUMENT ME!



setCellPadding
public void setCellPadding(int value)(Code)
Sets the cell padding for the table.
Parameters:
  value - DOCUMENT ME!



setCellSpacing
public void setCellSpacing(int value)(Code)
Sets the cell spacing for the table.
Parameters:
  value - DOCUMENT ME!



setCols
public void setCols(int value)(Code)
Sets the cell padding for the table.
Parameters:
  value - DOCUMENT ME!



setGenerateScripts
public void setGenerateScripts(boolean bGenScript)(Code)
DOCUMENT ME!
Parameters:
  bGenScript - DOCUMENT ME!



setGroupCellBgColor
public void setGroupCellBgColor(String val)(Code)
This method sets the Group Cell BG Color.
Parameters:
  val - DOCUMENT ME!



setGroupCellBgColor
public void setGroupCellBgColor(int groupIdx, String bgColor)(Code)
This method sets the Group Cell BG Color.
Parameters:
  groupIdx - DOCUMENT ME!
Parameters:
  bgColor - DOCUMENT ME!



setGroupExpansion
public void setGroupExpansion(String groupName)(Code)
Set Group Expansion by groupName
Parameters:
  groupName - DOCUMENT ME!



setGroupHoverBgColor
public void setGroupHoverBgColor(String val)(Code)
This method sets the Group Cell Hover BG Color.
Parameters:
  val - DOCUMENT ME!



setGroupHoverStyle
public void setGroupHoverStyle(int groupIdx, String groupHoverStyle)(Code)
This method sets the Group Hover Style.
Parameters:
  groupIdx - int index of the group
Parameters:
  groupHoverStyle - String group Hover Style.



setGroupHoverStyle
public void setGroupHoverStyle(String val)(Code)
This method sets the Group Cell Hover Style.
Parameters:
  val - DOCUMENT ME!



setGroupHrefStyle
public void setGroupHrefStyle(int groupIdx, String groupHrefStyle)(Code)
This method sets the Group Href Style.
Parameters:
  groupIdx - int index of the group
Parameters:
  groupHrefStyle - String group Href Style.



setGroupHrefStyle
public void setGroupHrefStyle(String val)(Code)
This method sets the Group Cell Href Style.
Parameters:
  val - DOCUMENT ME!



setGroupSelected
public void setGroupSelected(int groupIdx, boolean selected)(Code)
This method sets the Group to a state of selected. This is used to give the group the same style as when it is rolled over.
Parameters:
  groupIdx - - index of the group to set selected
Parameters:
  selected - - status true or false



setGroupSpacerImage
public void setGroupSpacerImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setGroupTitle
public void setGroupTitle(String groupName, String titleText)(Code)
Set Group Title to be displayed by groupName
Parameters:
  groupName -
Parameters:
  titleText - is the Text the Group should display.



setHSpace
public void setHSpace(int val)(Code)
Sets the horizontal margin for the table.
Parameters:
  val - DOCUMENT ME!



setHSpaceImage
public void setHSpaceImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setHeight
public void setHeight(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setHorizontalMode
public void setHorizontalMode(boolean bHorizontalMode)(Code)
DOCUMENT ME!
Parameters:
  bHorizontalMode - DOCUMENT ME!



setHoverBgColor
public void setHoverBgColor(String val)(Code)
This method sets the NavBar Item MouseOver Cell BG Color.
Parameters:
  val - DOCUMENT ME!



setHoverStyle
public void setHoverStyle(String val)(Code)
This method sets the NavBar Item MouseOver Style.
Parameters:
  val - DOCUMENT ME!



setHref
public void setHref(int groupIndex, int itemIndex, String href)(Code)
Set Href for a Group Item
Parameters:
  groupIndex - is the group index of the entry to change the HRef of.
Parameters:
  itemIndex - is the item index of the entry to change the HRef of.
Parameters:
  href - is the new URL for the HREF of the link.



setHref
public void setHref(String groupName, String href)(Code)
Set Href for a Group
Parameters:
  groupName - is the group name of the entry to change the HRef of.
Parameters:
  href - is the new URL for the HREF of the link.



setHref
public void setHref(int groupIndex, String href)(Code)
Set Href for a Group
Parameters:
  groupIndex - is the group index of the entry to change the HRef of.
Parameters:
  href - is the new URL for the HREF of the link.



setHrefStyle
public void setHrefStyle(String val)(Code)
This method sets the NavBar Item Href Style.
Parameters:
  val - DOCUMENT ME!



setItemBgColor
public void setItemBgColor(int groupIndex, int itemIndex, String color)(Code)
Set the Background color of a Group Item
Parameters:
  groupIndex - is the group index of the entry .
Parameters:
  itemIndex - is the item index of the entry .
Parameters:
  color - is to indicate what Background color the item should show.



setLastGroupAdded
public void setLastGroupAdded(int val)(Code)
This method sets the Last Group added.
Parameters:
  val - DOCUMENT ME!



setLastSubMenuAdded
public void setLastSubMenuAdded(String val)(Code)
This method sets the Last Group added.
Parameters:
  val - DOCUMENT ME!



setMarkerImage
public void setMarkerImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setMarkerOverImage
public void setMarkerOverImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setSelectedBgColor
public void setSelectedBgColor(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setSelectedHoverBgColor
public void setSelectedHoverBgColor(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setSelectedHoverStyle
public void setSelectedHoverStyle(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setSelectedItem
public void setSelectedItem()(Code)
This selects the current page shown if it has a reference in the menu.



setSelectedItem
public void setSelectedItem(int groupIndex, int itemIndex, boolean selected)(Code)
Set a Group Item to selected
Parameters:
  groupIndex - int group index of item to select in menu.
Parameters:
  itemIndex - int item index of item to select in menu.
Parameters:
  selected - DOCUMENT ME!



setSelectedItem
public void setSelectedItem(String itemName)(Code)
This selects the current page shown if it has a reference in the menu.
Parameters:
  itemName - DOCUMENT ME!



setSelectedMarkerImage
public void setSelectedMarkerImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setSelectedStyle
public void setSelectedStyle(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setSelectedSubItem
public void setSelectedSubItem(String subItemName)(Code)
This sets the subItem to Selected.
Parameters:
  subItemName - DOCUMENT ME!



setShowPopup
public void setShowPopup(int groupIndex, int itemIndex, boolean show)(Code)
Set whether the submenu of a Group item should have its submenu shown on the navbar or while hovering over the item.
Parameters:
  groupIndex - is the group index of the entry to hide/show.
Parameters:
  itemIndex - is the item index of the entry to hide/show.
Parameters:
  show - is to indicate whether the item should show popup in navbar or on mouseover. True = On MouseOver False= In Navbar



setShowPopup
public void setShowPopup(String groupName, String itemName, boolean show)(Code)
Set whether the submenu of a Group item should have its submenu shown on the navbar or while hovering over the item.
Parameters:
  groupName - is the group of the entry to hide/show.
Parameters:
  itemName - is the item of the entry to hide/show.
Parameters:
  show - is to indicate whether the submenu should be shown in navbar or On Mouseover. True = On MouseOver False= In Navbar



setShowPopupBgColor
public void setShowPopupBgColor(String val)(Code)
This method sets the Show Popup In Navbar Background Color. If the background color is set A table will be inserted around the Popup items with this background color
Parameters:
  val - DOCUMENT ME!



setShowPopupHoverStyle
public void setShowPopupHoverStyle(String val)(Code)
This method sets the Show Popup Hover Style.
Parameters:
  val - DOCUMENT ME!



setShowPopupImage
public void setShowPopupImage(String val)(Code)
This method sets the Show Popup Image
Parameters:
  val - DOCUMENT ME!



setShowPopupSelectedHoverStyle
public void setShowPopupSelectedHoverStyle(String val)(Code)
This method sets the Show Popup Selected Hover Style.
Parameters:
  val - DOCUMENT ME!



setShowPopupSelectedStyle
public void setShowPopupSelectedStyle(String val)(Code)
This method sets the Show Popup Selected Style.
Parameters:
  val - DOCUMENT ME!



setShowPopupStyle
public void setShowPopupStyle(String val)(Code)
This method sets the Show Popup Style.
Parameters:
  val - DOCUMENT ME!



setShowSubMenuMarker
public void setShowSubMenuMarker(boolean showSubMenuMarker)(Code)
Show the item marker in the sub menus. In the horizontal mode you may not want to show the marker in the sub menus. Default is true.
Parameters:
  showSubMenuMarker - boolean .



setSizeOption
public void setSizeOption(int sizeoption)(Code)
Set Size Option
Parameters:
  sizeoption - int



setSubHoverBgColor
public void setSubHoverBgColor(String val)(Code)
This method sets the NavBar SubItem MouseOver Cell BG Color.
Parameters:
  val - DOCUMENT ME!



setSubHoverStyle
public void setSubHoverStyle(String val)(Code)
This method sets the NavBar SubItem MouseOver Style.
Parameters:
  val - DOCUMENT ME!



setSubHrefStyle
public void setSubHrefStyle(String val)(Code)
This method sets the NavBar SubItem Href Style.
Parameters:
  val - DOCUMENT ME!



setSubMenuBgColor
public void setSubMenuBgColor(String val)(Code)
This method sets the Sub Menu Default Background Color.
Parameters:
  val - DOCUMENT ME!



setSubMenuItemBgColor
public void setSubMenuItemBgColor(String subItemName, String bgColor)(Code)
Set Background color of an item on the Submenu
Parameters:
  subItemName - is the sub Item Name .
Parameters:
  bgColor - is the color to set the Background Color of the Item.



setSubMenuItemVisible
public void setSubMenuItemVisible(String itemName, boolean visible)(Code)
Set SubMenu visibility
Parameters:
  itemName - is the item name of the entry to hide/show.
Parameters:
  visible - is to indicate whether the item should be shown or not.



setSubMenuVisible
public void setSubMenuVisible(String subMenuName, boolean visible)(Code)
Set Submenu visibility
Parameters:
  subMenuName - is the subMenu to hide/show.
Parameters:
  visible - is to indicate whether the item should be shown or not.



setTarget
public void setTarget(int groupIndex, int itemIndex, String target)(Code)
Set Target of a Group Item
Parameters:
  groupIndex - is the group index of the entry to change the target of.
Parameters:
  itemIndex - is the item index of the entry to change the target of.
Parameters:
  target - is the new target associated with the link.



setTextImage
public void setTextImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setTextStyle
public void setTextStyle(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setTheme
public void setTheme(String theme)(Code)
This method sets the property theme for the component.
Parameters:
  theme - The theme to use.



setTitle
public void setTitle(int groupIndex, int itemIndex, String title)(Code)
Set Title of a Group Item
Parameters:
  groupIndex - is the group index of the entry to change the caption of.
Parameters:
  itemIndex - is the item index of the entry to change the caption of.
Parameters:
  title - is the new caption for the item.



setVSpace
public void setVSpace(int val)(Code)
Sets the vertical margin for the table.
Parameters:
  val - DOCUMENT ME!



setVSpaceImage
public void setVSpaceImage(String val)(Code)
This method gets the minimum height of the table in pixels.
Parameters:
  val - DOCUMENT ME!



setVisible
public void setVisible(int groupIndex, int itemIndex, boolean visible)(Code)
Set Group Item Visibility
Parameters:
  groupIndex - is the group index of the entry to hide/show.
Parameters:
  itemIndex - is the item index of the entry to hide/show.
Parameters:
  visible - is to indicate whether the item should be shown or not.



setVisible
public void setVisible(int groupIndex, boolean visible)(Code)
Set Group visibilty
Parameters:
  groupIndex - is the group index of the entry to hide/show.
Parameters:
  visible - is to indicate whether the item should be shown or not.



setVisible
public void setVisible(String groupName, String itemName, boolean visible)(Code)
Set Group Item visibility
Parameters:
  groupName - is the group name of the entry to hide/show.
Parameters:
  itemName - is the item name of the entry to hide/show.
Parameters:
  visible - is to indicate whether the item should be shown or not.



setVisible
public void setVisible(String groupName, boolean visible)(Code)
Set Group visibility
Parameters:
  groupName - is the group name of the entry to hide/show.
Parameters:
  visible - is to indicate whether the item should be shown or not.



setWidth
public void setWidth(String val)(Code)
Set Width
Parameters:
  val - String



Fields inherited from com.salmonllc.jsp.JspContainer
final public static int TYPE_COMP(Code)(Java Doc)
final public static int TYPE_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_FOOTER(Code)(Java Doc)
final public static int TYPE_GROUP_HEADER(Code)(Java Doc)
final public static int TYPE_HEADER(Code)(Java Doc)
final public static int TYPE_ROW(Code)(Java Doc)
protected boolean _center(Code)(Java Doc)
protected boolean _enabled(Code)(Java Doc)
protected HtmlComponent _submit(Code)(Java Doc)

Methods inherited from com.salmonllc.jsp.JspContainer
public void add(HtmlComponent comp, int type)(Code)(Java Doc)
public void clearSubmit()(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowNo) throws java.lang.Exception(Code)(Java Doc)
public HtmlComponent getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentIndex(HtmlComponent comp)(Code)(Java Doc)
public int getComponentType(int i)(Code)(Java Doc)
public int getComponentType(HtmlComponent comp)(Code)(Java Doc)
public Enumeration getComponents()(Code)(Java Doc)
public JspController getController()(Code)(Java Doc)
public boolean getDoInit()(Code)(Java Doc)
public HtmlComponent getSubmitComponent()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public boolean isComponentInContainer(HtmlComponent comp)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
boolean replaceComponent(HtmlComponent comp, Object compToReplace)(Code)(Java Doc)
public void setDoInit(boolean b)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from com.salmonllc.html.HtmlComponent
final public static int DISABLED_ATTRIBUTE_USE_NEVER(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_ON_SUPPORTED_BROWSERS(Code)(Java Doc)
final public static int DISABLED_ATTRIBUTE_USE_SYSTEM_DEFAULT(Code)(Java Doc)
final public static int EVENT_NONE(Code)(Java Doc)
final public static int EVENT_OTHER(Code)(Java Doc)
final public static int EVENT_SUBMIT(Code)(Java Doc)
protected String _class(Code)(Java Doc)
protected boolean _generateNewline(Code)(Java Doc)
protected HtmlComponent _parent(Code)(Java Doc)
protected boolean _visible(Code)(Java Doc)
final protected static boolean debug(Code)(Java Doc)

Methods inherited from com.salmonllc.html.HtmlComponent
public void doBinding() throws Exception(Code)(Java Doc)
public String encodeURL(String url)(Code)(Java Doc)
public StringBuffer encodeURL(StringBuffer url)(Code)(Java Doc)
public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc)
public static String fixSpecialHTMLCharacters(String input)(Code)(Java Doc)
abstract public void generateHTML(PrintWriter p, int rowNo) throws Exception(Code)(Java Doc)
public void generateHTML(PrintWriter p, int rowStart, int rowEnd) throws Exception(Code)(Java Doc)
protected String generateImageURL()(Code)(Java Doc)
public void generateInitialHTML(PrintWriter p) throws Exception(Code)(Java Doc)
public String getClassName()(Code)(Java Doc)
public String getDataSource()(Code)(Java Doc)
public int getFormIndex()(Code)(Java Doc)
public String getFormString()(Code)(Java Doc)
public String getFullName()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public HtmlPage getPage()(Code)(Java Doc)
public HtmlComponent getParent()(Code)(Java Doc)
protected String getPortletNameSpace()(Code)(Java Doc)
protected String getSiteMapEntryName(String url)(Code)(Java Doc)
public String getTheme()(Code)(Java Doc)
public int getUseDisabledAttribute()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public boolean getVisible(boolean checkParents)(Code)(Java Doc)
public boolean processParms(Hashtable parms, int rowNo) throws Exception(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setClassName(String sClass)(Code)(Java Doc)
public void setDataSource(String dataSource)(Code)(Java Doc)
public void setFormIndex(int formIndex)(Code)(Java Doc)
public void setGenerateNewline(boolean enable)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPage(HtmlPage p)(Code)(Java Doc)
public void setParent(HtmlComponent parent)(Code)(Java Doc)
public void setTheme(String theme)(Code)(Java Doc)
public void setUseDisabledAttribute(int i)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String translateSiteMapURL(String url)(Code)(Java Doc)
protected boolean useDisabledAttribute()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.