Adempiere 3.5.2a

org.adempiere.webui.panel
Class ADSortTab

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.Div
                  extended by org.adempiere.webui.component.Panel
                      extended by org.adempiere.webui.panel.ADSortTab
All Implemented Interfaces:
Serializable, Cloneable, IADTabpanel, Evaluatee, Component, ComponentCtrl

public class ADSortTab
extends Panel
implements IADTabpanel

Tab to maintain Order/Sequence

Version:
$Id: VSortTab.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
Author:
Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL FR [ 1779410 ] VSortTab: display ID for not visible columns Zk Port, Low Heng Sin
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent
HtmlBasedComponent.ExtraCtrl
 
Field Summary
 
Fields inherited from class org.adempiere.webui.component.Panel
HORIZONTAL, VERTICAL
 
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
ADSortTab(int WindowNo, GridTab gridTab)
          Sort Tab Constructor
 
Method Summary
 void activate(boolean b)
           
 void createUI()
           
 void dynamicDisplay(int i)
           
 void editRecord(boolean b)
           
 String get_ValueAsString(String variableName)
          Get Variable Value
 String getDisplayLogic()
           
 GridTab getGridTab()
           
 int getTabLevel()
           
 String getTitle()
           
 boolean isCurrent()
           
 boolean isEditing()
           
 void loadData()
           
 void query()
           
 void query(boolean currentRows, int currentDays, int i)
           
 void refresh()
           
 void registerAPanel(AbstractADWindowPanel panel)
           
 void saveData()
          (non-Javadoc)
 void switchRowPresentation()
           
 void unregisterPanel()
           
 
Methods inherited from class org.zkoss.zul.Div
getAlign, getOuterAttrs, setAlign
 
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 class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

ADSortTab

public ADSortTab(int WindowNo,
                 GridTab gridTab)
Sort Tab Constructor

Parameters:
WindowNo - Window No
GridTab -
Method Detail

loadData

public void loadData()

registerAPanel

public void registerAPanel(AbstractADWindowPanel panel)

saveData

public void saveData()
(non-Javadoc)

See Also:
APanelTab.saveData()

unregisterPanel

public void unregisterPanel()

activate

public void activate(boolean b)
Specified by:
activate in interface IADTabpanel

createUI

public void createUI()
Specified by:
createUI in interface IADTabpanel

dynamicDisplay

public void dynamicDisplay(int i)
Specified by:
dynamicDisplay in interface IADTabpanel

editRecord

public void editRecord(boolean b)
Specified by:
editRecord in interface IADTabpanel

getDisplayLogic

public String getDisplayLogic()
Specified by:
getDisplayLogic in interface IADTabpanel

getGridTab

public GridTab getGridTab()
Specified by:
getGridTab in interface IADTabpanel

getTabLevel

public int getTabLevel()
Specified by:
getTabLevel in interface IADTabpanel

getTitle

public String getTitle()
Specified by:
getTitle in interface IADTabpanel

isCurrent

public boolean isCurrent()
Specified by:
isCurrent in interface IADTabpanel

isEditing

public boolean isEditing()
Specified by:
isEditing in interface IADTabpanel

query

public void query()
Specified by:
query in interface IADTabpanel

query

public void query(boolean currentRows,
                  int currentDays,
                  int i)
Specified by:
query in interface IADTabpanel

refresh

public void refresh()
Specified by:
refresh in interface IADTabpanel

switchRowPresentation

public void switchRowPresentation()
Specified by:
switchRowPresentation 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 - name
Returns:
value

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.