Adempiere 3.4.0s

org.adempiere.webui.component
Class FTabbox

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zk.ui.HtmlBasedComponent
          extended by org.zkoss.zul.impl.XulElement
              extended by org.zkoss.zul.Tabbox
                  extended by org.adempiere.webui.component.Tabbox
                      extended by org.adempiere.webui.component.FTabbox
All Implemented Interfaces:
Serializable, Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.sys.ComponentCtrl

public class FTabbox
extends Tabbox

Version:
$Revision: 0.10 $
Author:
Ashley G Ramdass
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zul.Tabbox
org.zkoss.zul.Tabbox.ExtraCtrl
 
Field Summary
 
Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Constructor Summary
FTabbox()
           
 
Method Summary
 void addTab(GridTab gTab, Tabpanel tabPanel)
          Add Tab
 boolean containsTab(org.zkoss.zul.Tab tab)
           
 void evaluate(DataStatusEvent e)
          Evaluate Tab Logic
 ADTabpanel getSelectedTabpanel()
          Return the selected Tab Panel
 int getTabCount()
           
 ADTabpanel getTabpanel(int index)
           
 boolean isAsap()
           
 boolean isEnabledAt(int index)
           
 boolean updateSelectedIndex(int oldIndex, int newIndex)
           
 
Methods inherited from class org.zkoss.zul.Tabbox
clone, getOrient, getOuterAttrs, getPanelSpacing, getSelectedIndex, getSelectedPanel, getSelectedTab, getTabLook, getTabpanels, getTabs, insertBefore, newExtraCtrl, onChildRemoved, onCreate, setOrient, setPanelSpacing, setSelectedIndex, setSelectedPanel, setSelectedTab
 
Methods inherited from class org.zkoss.zul.impl.XulElement
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setPopup, setTooltip
 
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
focus, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, setClass, setDraggable, setDroppable, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex
 
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendChild, applyProperties, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isAsapRequired, isChildable, isListenerAvailable, isVisible, onChildAdded, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FTabbox

public FTabbox()
Method Detail

addTab

public void addTab(GridTab gTab,
                   Tabpanel tabPanel)
Add Tab

Parameters:
tabName - name
gTab - grid tab model
tabElement - GridController or VSortTab

isEnabledAt

public boolean isEnabledAt(int index)
Parameters:
index - of tab panel
Returns:

updateSelectedIndex

public boolean updateSelectedIndex(int oldIndex,
                                   int newIndex)
Parameters:
oldIndex -
newIndex -
Returns:

evaluate

public void evaluate(DataStatusEvent e)
Evaluate Tab Logic

Parameters:
e - event

getTabCount

public int getTabCount()
Returns:
the number of tab panels present

getTabpanel

public ADTabpanel getTabpanel(int index)
Overrides:
getTabpanel in class Tabbox

getSelectedTabpanel

public ADTabpanel getSelectedTabpanel()
Return the selected Tab Panel

Overrides:
getSelectedTabpanel in class Tabbox

isAsap

public boolean isAsap()
Returns:
whether all events should be reported as they occur.

containsTab

public boolean containsTab(org.zkoss.zul.Tab tab)

Adempiere 3.4.0s

AdemPiere