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(since="13", forRemoval=true) public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener
Deprecated, for removal: This API element is subject to removal in a future version.
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, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      Detail protected constructor
      Parameters:
      WindowNo - window no
      value - query value
      multiSelection - multiple selection
      whereClause - where clause
      lookup - true if lookup
    • InfoInvoicePanel

      public InfoInvoicePanel(int WindowNo, String value, boolean multiSelection, boolean lookup, SQLFragment sqlFilter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Detail protected constructor
      Parameters:
      WindowNo - window no
      value - query value
      multiSelection - multiple selection
      lookup - true if lookup
      sqlFilter - SQL filter
  • Method Details

    • getSQLWhere

      public String getSQLWhere()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      Zoom
      Overrides:
      zoom in class InfoPanel
    • hasZoom

      protected boolean hasZoom()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Has Zoom
      Overrides:
      hasZoom in class InfoPanel
      Returns:
      true
    • tableChanged

      public void tableChanged(WTableModelEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ValueChangeListener
      On value change event
      Specified by:
      valueChange in interface ValueChangeListener
    • saveSelectionDetail

      protected void saveSelectionDetail()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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, for removal: This API element is subject to removal in a future version.
      Description copied from class: InfoPanel
      add paging component for list box
      Overrides:
      insertPagingComponent in class InfoPanel