|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserTabSet
Method Summary | |
---|---|
boolean |
addTab(IUserTab userTab,
boolean setAsCurrent)
Adds a tab to the user's tab set. |
IUserTab |
addTab(String name,
String URL,
boolean setAsCurrent)
Adds a new tab to the tab set. |
void |
addTabAfter(IUserTab newTab,
IUserTab targetTab,
boolean setAsCurrent)
Adds the new tab after the selected existing tab in the displayed tab set. |
void |
addTabBefore(IUserTab newTab,
IUserTab targetTab,
boolean setAsCurrent)
Adds the new tab before the selected existing tab in the user's current tab set. |
IUserTab |
getCurrentTab()
Gets the tab the user is viewing from the tab set. |
IUserTab |
getTabByID(String tabID)
Gets the IUserTab object by ID from the tab set. |
IUserTab |
getTabByName(String tabName)
Get an IUserTab object by name from the tab set. |
IUserTab |
getTabByURI(String uri)
Gets a tab that is viewing the specified URI. |
List |
listTabs()
Lists all of the tabs in the tab set. |
void |
moveTabAfter(IUserTab moveTab,
IUserTab targetTab)
Moves a selected tab to new location before another tab selected by the user. |
void |
moveTabBefore(IUserTab moveTab,
IUserTab targetTab)
Move an existing tab prior to the specified existing tab in tab set order. |
boolean |
removeTab(IUserTab userTab)
Removes an existing tab from the tab set. |
void |
save()
Commits any unsaved changes in the tab. |
void |
setCurrentTab(IUserTab usertab)
Sets the specified IUserTab as the active tab. |
void |
setCurrentTab(String tabID)
Sets the tab specified by ID as the active tab. |
Method Detail |
---|
boolean addTab(IUserTab userTab, boolean setAsCurrent)
userTab
- The IUserTab instance to add to the user's tab set.setAsCurrent
- Specify true to make this tab the active tab.
IUserTab addTab(String name, String URL, boolean setAsCurrent)
name
- The name of the new tab.URL
- The navigation URL of the new tab.setAsCurrent
- Specify true to make this tab the active tab.
boolean removeTab(IUserTab userTab)
userTab
- the IUserTab object to remove.
void save()
List listTabs()
IUserTab getCurrentTab()
void setCurrentTab(IUserTab usertab)
usertab
- The IUserTab to set as active.void setCurrentTab(String tabID)
tabID
- The tabID of the tab to set as active.IUserTab getTabByID(String tabID)
tabID
- The tab ID to find.
IUserTab getTabByName(String tabName)
tabName
- The tabe name to find.
IUserTab getTabByURI(String uri)
uri
- The URI of the page the tab is viewing.
void addTabBefore(IUserTab newTab, IUserTab targetTab, boolean setAsCurrent)
newTab
- The new tab to add to the tab set.targetTab
- The existing tab that you would like to insert before in the tab set order.setAsCurrent
- Specify true to set the new tab as the active tabvoid addTabAfter(IUserTab newTab, IUserTab targetTab, boolean setAsCurrent)
newTab
- The new tab to add to the tab set.targetTab
- The existing tab that you would like to insert after in the tab set order.setAsCurrent
- Specify true to set the new tab as the active tab.void moveTabBefore(IUserTab moveTab, IUserTab targetTab)
moveTab
- The existing tab to move.targetTab
- The existing tab you would like to insert before in tab set order.void moveTabAfter(IUserTab moveTab, IUserTab targetTab)
moveTab
- The existing tab to move.targetTab
- The existing tab you would like to insert after in tab set order.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |