Class InfoInvoicePanel

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, ValueChangeListener, 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>

@Deprecated public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener
Deprecated.
Search Invoice and return selection Based on InfoInvoice by Jorg Janke
Version:
InfoInvoice.java Adempiere Swing UI 3.4.1
Author:
Sendy Yagambrum, Elaine
See Also:
  • Constructor Details

    • InfoInvoicePanel

      public InfoInvoicePanel(int WindowNo, String value, boolean multiSelection, String whereClause)
      Deprecated.
      Detail protected constructor
      Parameters:
      WindowNo - window no
      value - query value
      multiSelection - multiple selection
      whereClause - where clause
    • InfoInvoicePanel

      public InfoInvoicePanel(int WindowNo, String value, boolean multiSelection, String whereClause, boolean lookup)
      Deprecated.
      Detail protected constructor
      Parameters:
      WindowNo - window no
      value - query value
      multiSelection - multiple selection
      whereClause - where clause
  • Method Details

    • getSQLWhere

      public String getSQLWhere()
      Deprecated.
      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
    • setParameters

      protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
      Deprecated.
      Description copied from class: InfoPanel
      Set Parameters for Query.
      When override this method, please take isQueryByUser and prevWhereClause into consideration.
      Specified by:
      setParameters in class InfoPanel
      Parameters:
      pstmt - statement
      forCount - for counting records
      Throws:
      SQLException
    • zoom

      public void zoom()
      Deprecated.
      Zoom
      Overrides:
      zoom in class InfoPanel
    • hasZoom

      protected boolean hasZoom()
      Deprecated.
      Has Zoom
      Overrides:
      hasZoom in class InfoPanel
      Returns:
      true
    • tableChanged

      public void tableChanged(WTableModelEvent event)
      Deprecated.
      Description copied from interface: WTableModelListener
      Notify listeners the exact range of cells, rows, or columns that have changed.
      Specified by:
      tableChanged in interface WTableModelListener
      Overrides:
      tableChanged in class InfoPanel
      Parameters:
      event - table model event
    • valueChange

      public void valueChange(ValueChangeEvent evt)
      Deprecated.
      Description copied from interface: ValueChangeListener
      On value change event
      Specified by:
      valueChange in interface ValueChangeListener
    • saveSelectionDetail

      protected void saveSelectionDetail()
      Deprecated.
      Description copied from class: InfoPanel
      Save Selection Details.
      This method is call when user close an info window.
      By default, infoWindow will set value of all column of current selected record to environment context with Env.TAB_INFO.
      Sub class can override this method to do more.
      Overrides:
      saveSelectionDetail in class InfoPanel
    • insertPagingComponent

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