Class InfoGeneralPanel

java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Window
All Implemented Interfaces:
Serializable, Cloneable, WTableModelListener, ISupportMask, IHelpContext, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.IdSpace, org.zkoss.zk.ui.sys.ComponentCtrl, org.zkoss.zul.ext.Framable, org.zkoss.zul.ext.Sortable<Object>

public class InfoGeneralPanel extends InfoPanel implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Zk Port
Version:
InfoGeneral.java Adempiere Swing UI 3.4.1
Author:
Elaine
See Also:
  • Constructor Details

    • InfoGeneralPanel

      public InfoGeneralPanel(String queryValue, int windowNo, String tableName, String keyColumn, boolean multipleSelection, String whereClause)
    • InfoGeneralPanel

      public InfoGeneralPanel(String queryValue, int windowNo, String tableName, String keyColumn, boolean multipleSelection, String whereClause, boolean lookup, GridField field)
  • Method Details

    • layoutParameterGrid

      protected void layoutParameterGrid(Grid grid)
    • getSQLWhere

      public String getSQLWhere()
      Description copied from class: InfoPanel
      Get dynamic WHERE part of SQL.
      When override this method, please take isQueryByUser and prevWhereClause into consideration.
      Specified by:
      getSQLWhere in class InfoPanel
      Returns:
      WHERE clause
    • resetParameters

      protected void resetParameters()
      Description copied from class: InfoPanel
      Reset parameter to default value or to empty value.
      Overrides:
      resetParameters in class InfoPanel
    • setParameters

      protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
      Set Parameters for Query. (as defined in getSQLWhere)
      Specified by:
      setParameters in class InfoPanel
      Parameters:
      pstmt - statement
      forCount - for counting records
      Throws:
      SQLException
    • insertPagingComponent

      protected void insertPagingComponent()
      Description copied from class: InfoPanel
      add paging component for list box
      Overrides:
      insertPagingComponent in class InfoPanel
    • onClientInfo

      protected void onClientInfo()
    • createLookupColumnInfo

      protected ColumnInfo createLookupColumnInfo(String name, String columnName, int AD_Reference_ID, int AD_Reference_Value_ID, int AD_Column_ID, String columnSql)