userInterface.interfaceUtility
Class Navigation
java.lang.Object
userInterface.interfaceUtility.Format
userInterface.interfaceUtility.Navigation
public class Navigation
- extends Format
Generate the nagivation menu depending on the tab info given.
The tab info must be in a 2D array with the first column being
the name of the tab and second column being the link.
- Author:
- 03chowch
Method Summary |
static java.lang.StringBuffer |
genNav(java.lang.String[][] tabInfo,
int navType)
Generate the navigation menu depending on type indicator
and location indicator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOPNAV
public static final int TOPNAV
- See Also:
- Constant Field Values
BOTTOMNAV
public static final int BOTTOMNAV
- See Also:
- Constant Field Values
LEFTNAV
public static final int LEFTNAV
- See Also:
- Constant Field Values
RIGHTNAV
public static final int RIGHTNAV
- See Also:
- Constant Field Values
Navigation
public Navigation()
genNav
public static java.lang.StringBuffer genNav(java.lang.String[][] tabInfo,
int navType)
- Generate the navigation menu depending on type indicator
and location indicator.
Note: Null tab name would act as the menu separator.
If menu is of the form: Nav1 Nav3 Empty Nav3
The navigation menu would have two tab (Nav1 and Nav2)
on the left and one tab (Nav3) on the right.
- Parameters:
tabInfo
- - the menu info with first column being the
name of the tab while second being the linknavType
- - the navigational menu type either horizontal or
vertical
- Returns: