org.adempiere.webui.component
Class AbstractADTab
java.lang.Object
org.adempiere.webui.part.AbstractUIPart
org.adempiere.webui.component.AbstractADTab
- All Implemented Interfaces:
- IADTab, UIPart
- Direct Known Subclasses:
- CompositeADTab
public abstract class AbstractADTab
- extends AbstractUIPart
- implements IADTab
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass, Low Heng Sin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tabPanelList
protected List<IADTabpanel> tabPanelList
- Tabs associated to this tab box
AbstractADTab
public AbstractADTab()
addTab
public void addTab(GridTab gTab,
IADTabpanel tabPanel)
- Add Tab
- Specified by:
addTab in interface IADTab
- Parameters:
tabName - namegTab - grid tab modeltabElement - GridController or VSortTab
doAddTab
protected abstract void doAddTab(GridTab tab,
IADTabpanel tabPanel)
isEnabledAt
public boolean isEnabledAt(int index)
- Parameters:
index - of tab panel
- Returns:
updateSelectedIndex
public boolean updateSelectedIndex(int oldIndex,
int newIndex)
- Specified by:
updateSelectedIndex in interface IADTab
- Parameters:
oldIndex - newIndex -
- Returns:
doTabSelectionChanged
protected abstract void doTabSelectionChanged(int oldIndex,
int newIndex)
canNavigateTo
public boolean canNavigateTo(int fromIndex,
int toIndex)
- Specified by:
canNavigateTo in interface IADTab
getPath
public String getPath()
- Specified by:
getPath in interface IADTab
- Returns:
- full path
evaluate
public void evaluate(DataStatusEvent e)
- Evaluate Tab Logic
- Specified by:
evaluate in interface IADTab
- Parameters:
e - event
updateTabState
protected abstract void updateTabState()
getTabCount
public int getTabCount()
- Specified by:
getTabCount in interface IADTab
- Returns:
- the number of tab panels present
getADTabpanel
public IADTabpanel getADTabpanel(int index)
setSelectedIndex
public void setSelectedIndex(int newIndex)
- Specified by:
setSelectedIndex in interface IADTab
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.