Adempiere 3.5.2a

org.compiere.print
Class AReport

java.lang.Object
  extended by org.compiere.print.AReport
All Implemented Interfaces:
ActionListener, EventListener

public class AReport
extends Object
implements ActionListener

Application Report Launcher. Called from APanel; Queries available Reports for Table. If no report available, a new one is created and launched. If there is one report, it is launched. If there are more, the available reports are displayed and the selected is launched.

Version:
$Id: AReport.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
Author:
Jorg Janke

Constructor Summary
AReport(int AD_Table_ID, JComponent invoker, MQuery query)
          Constructor
AReport(int AD_Table_ID, JComponent invoker, MQuery query, ASyncProcess parent, int WindowNo)
          Constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
          Action Listener
static int getAD_Table_ID(String tableName)
          Get AD_Table_ID for Table Name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AReport

public AReport(int AD_Table_ID,
               JComponent invoker,
               MQuery query)
Constructor

Parameters:
AD_Table_ID - table
invoker - component to display popup (optional)
query - query

AReport

public AReport(int AD_Table_ID,
               JComponent invoker,
               MQuery query,
               ASyncProcess parent,
               int WindowNo)
Constructor

Parameters:
AD_Table_ID - table
invoker - component to display popup (optional)
query - query
parent - The invoking parent window
WindowNo - The invoking parent window number
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Action Listener

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - event

getAD_Table_ID

public static int getAD_Table_ID(String tableName)
Get AD_Table_ID for Table Name

Parameters:
tableName - table name
Returns:
AD_Table_ID or 0

Adempiere 3.5.2a

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