Class InfoGeneralPanel

  • 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:
    Serialized Form
    • Constructor Detail

      • InfoGeneralPanel

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

        public InfoGeneralPanel​(String queryValue,
                                int windowNo,
                                String tableName,
                                String keyColumn,
                                boolean isSOTrx,
                                String whereClause,
                                boolean lookup)
    • Method Detail

      • layoutParameterGrid

        protected void layoutParameterGrid​(Grid grid)
      • getSQLWhere

        public String getSQLWhere()
        Description copied from class: InfoPanel
        Get dynamic WHERE part of SQL To be overwritten by concrete classes When override this method, please consider isQueryByUser and prevWhereClause
        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? implement at inheritance class when reset parameter maybe need init again parameter, reset again default value
        Overrides:
        resetParameters 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)