| com.salmonllc.gui.NavigationGroupInterface
NavigationGroupInterface | public interface NavigationGroupInterface (Code) | | An interface of methods used to communicate to a group of items in a NavigationMenu
Creation date: (8/23/01 10:03:52 AM)
author: : Fred Cahill |
Method Summary | |
public NavigationItemInterface | addItem(String submenu, String title, String href, String target, int horizPadding) Adds an item to a group in a navigation menu
Parameters: submenu - String The name of a submenu if item is a submenu otherwise pass null Parameters: title - String The text to appear for the item. Parameters: href - String The href link of an item. Parameters: target - String The target window for the href link of an item. Parameters: horizPadding - int The number of pixels to pad the item by in the menu. | public void | collapse() Collapses an expanded group. | public void | contract() Contracts an expanded group. | public void | expand() Expands a collapsed group. | public String | getHRef() Returns the HRef Link Associated with this Group. | public String | getImage() Returns the Image Associated with this Group. | public NavigationItemInterface[] | getItems() Returns the items within this Group. | public int | getVertPadding() Returns the number of pixels of vertical padding for this Group in the menu. | public boolean | getVisible() Returns whether this Group is visible or not. | public NavigationItemInterface | insertItemAt(String submenu, String title, String href, String target, int horizPadding, int iLocation) Inserts an item to a group in a navigation menu at specified location
Parameters: submenu - String The name of a submenu if item is a submenu otherwise pass null Parameters: title - String The text to appear for the item. Parameters: href - String The href link of an item. Parameters: target - String The target window for the href link of an item. Parameters: horizPadding - int The number of pixels to pad the item by in the menu. Parameters: iLocation - int The index of the Item to insert before. | public NavigationItemInterface | insertItemAt(String submenu, String title, String href, String target, int horizPadding, NavigationItemInterface niiInsertBefore) Inserts an item to a group in a navigation menu at specified location
Parameters: submenu - String The name of a submenu if item is a submenu otherwise pass null Parameters: title - String The text to appear for the item. Parameters: href - String The href link of an item. Parameters: target - String The target window for the href link of an item. Parameters: horizPadding - int The number of pixels to pad the item by in the menu. Parameters: niiInsertBefore - com.salmonllc.gui.NavigationItemInterface The Item to insert before. | public void | setHRef(String sHRef) | public void | setImage(String sImage) | public void | setVertPadding(int iVertPadding) | public void | setVisible(boolean bVisible) |
addItem | public NavigationItemInterface addItem(String submenu, String title, String href, String target, int horizPadding)(Code) | | Adds an item to a group in a navigation menu
Parameters: submenu - String The name of a submenu if item is a submenu otherwise pass null Parameters: title - String The text to appear for the item. Parameters: href - String The href link of an item. Parameters: target - String The target window for the href link of an item. Parameters: horizPadding - int The number of pixels to pad the item by in the menu. NavigationItemInterface The item which was added. |
collapse | public void collapse()(Code) | | Collapses an expanded group.
|
contract | public void contract()(Code) | | Contracts an expanded group.
|
expand | public void expand()(Code) | | Expands a collapsed group.
|
getHRef | public String getHRef()(Code) | | Returns the HRef Link Associated with this Group.
String The Href of this group. |
getImage | public String getImage()(Code) | | Returns the Image Associated with this Group.
String The Image of this group. |
getItems | public NavigationItemInterface[] getItems()(Code) | | Returns the items within this Group.
NavigationItemInterface[] Array of items within this group. |
getVertPadding | public int getVertPadding()(Code) | | Returns the number of pixels of vertical padding for this Group in the menu.
int The number of pixels of vertical padding. |
getVisible | public boolean getVisible()(Code) | | Returns whether this Group is visible or not.
boolean Indicates if group is visible or not. |
insertItemAt | public NavigationItemInterface insertItemAt(String submenu, String title, String href, String target, int horizPadding, int iLocation)(Code) | | Inserts an item to a group in a navigation menu at specified location
Parameters: submenu - String The name of a submenu if item is a submenu otherwise pass null Parameters: title - String The text to appear for the item. Parameters: href - String The href link of an item. Parameters: target - String The target window for the href link of an item. Parameters: horizPadding - int The number of pixels to pad the item by in the menu. Parameters: iLocation - int The index of the Item to insert before. NavigationItemInterface The item which was inserted. |
insertItemAt | public NavigationItemInterface insertItemAt(String submenu, String title, String href, String target, int horizPadding, NavigationItemInterface niiInsertBefore)(Code) | | Inserts an item to a group in a navigation menu at specified location
Parameters: submenu - String The name of a submenu if item is a submenu otherwise pass null Parameters: title - String The text to appear for the item. Parameters: href - String The href link of an item. Parameters: target - String The target window for the href link of an item. Parameters: horizPadding - int The number of pixels to pad the item by in the menu. Parameters: niiInsertBefore - com.salmonllc.gui.NavigationItemInterface The Item to insert before. NavigationItemInterface The item which was inserted. |
setHRef | public void setHRef(String sHRef)(Code) | | Sets the href link for this group
Parameters: href - String The href link of the group. |
setImage | public void setImage(String sImage)(Code) | | Sets the image for this group
Parameters: sImage - String The Image of the group. |
setVertPadding | public void setVertPadding(int iVertPadding)(Code) | | Sets the number of pixels of vertical padding for this group
Parameters: iVertPadding - int The number of pixels of vertical padding. |
setVisible | public void setVisible(boolean bVisible)(Code) | | Sets whether this group is visible or not
Parameters: bVisible - boolean Indicates if group is visible or not. |
|
|