org.adempiere.webui.panel
Class ADTabpanel
java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Div
org.adempiere.webui.panel.ADTabpanel
- All Implemented Interfaces:
- Serializable, Cloneable, EventListener, ValueChangeListener, IADTabpanel, DataStatusListener, Evaluatee, Component, ComponentCtrl
public class ADTabpanel
- extends Div
- implements Evaluatee, EventListener, DataStatusListener, ValueChangeListener, IADTabpanel
This class is based on org.compiere.grid.GridController written by Jorg Janke.
Changes have been brought for UI compatibility.
- Version:
- $Revision: 0.10 $
- Author:
- Jorg Janke, Ashley G Ramdass, Low Heng Sin
- See Also:
- Serialized Form
| Methods inherited from class org.zkoss.zul.impl.XulElement |
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getCtrlKeys, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
focus, getAllOnClickAttrs, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, newExtraCtrl, setClass, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isAsapRequired, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, 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, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable |
| Methods inherited from interface org.zkoss.zk.ui.Component |
addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, setAttribute, setAttribute, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdateDeferred, smartUpdateValues, unsetVariable |
ADTabpanel
public ADTabpanel()
init
public void init(AbstractADWindowPanel winPanel,
int windowNo,
GridTab gridTab,
GridWindow gridWindow)
createUI
public void createUI()
- Specified by:
createUI in interface IADTabpanel
dynamicDisplay
public void dynamicDisplay(int col)
- Specified by:
dynamicDisplay in interface IADTabpanel
getDisplayLogic
public String getDisplayLogic()
- Specified by:
getDisplayLogic in interface IADTabpanel
getTitle
public String getTitle()
- Specified by:
getTitle in interface IADTabpanel
get_ValueAsString
public String get_ValueAsString(String variableName)
- Description copied from interface:
Evaluatee
- Get Variable Value
- Specified by:
get_ValueAsString in interface Evaluatee
- Parameters:
variableName -
- Returns:
- value
getTabLevel
public int getTabLevel()
- Specified by:
getTabLevel in interface IADTabpanel
- Returns:
- The tab level of this Tabpanel
isCurrent
public boolean isCurrent()
- Specified by:
isCurrent in interface IADTabpanel
getWindowNo
public int getWindowNo()
query
public void query()
- Specified by:
query in interface IADTabpanel
query
public void query(boolean onlyCurrentRows,
int onlyCurrentDays,
int maxRows)
- Specified by:
query in interface IADTabpanel
getGridTab
public GridTab getGridTab()
- Specified by:
getGridTab in interface IADTabpanel
refresh
public void refresh()
- Specified by:
refresh in interface IADTabpanel
activate
public void activate(boolean activate)
- Specified by:
activate in interface IADTabpanel
isEditing
public boolean isEditing()
- Specified by:
isEditing in interface IADTabpanel
editRecord
public void editRecord(boolean edit)
- Specified by:
editRecord in interface IADTabpanel
isAsap
public boolean isAsap()
onEvent
public void onEvent(Event event)
dataStatusChanged
public void dataStatusChanged(DataStatusEvent e)
- Description copied from interface:
DataStatusListener
- Data Changed
- Specified by:
dataStatusChanged in interface DataStatusListener
- Parameters:
e - event
valueChange
public void valueChange(ValueChangeEvent e)
- Specified by:
valueChange in interface ValueChangeListener
switchRowPresentation
public void switchRowPresentation()
- Specified by:
switchRowPresentation in interface IADTabpanel
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.