[ 1753072 ] Report window doesn't have the focus when launch from window

This commit is contained in:
Heng Sin Low 2007-07-13 00:35:12 +00:00
parent 60e152fb02
commit 8d851c582f
1 changed files with 27 additions and 0 deletions

View File

@ -112,6 +112,7 @@ public class ProcessInfo implements Serializable
private boolean m_printPreview = false; private boolean m_printPreview = false;
private boolean m_reportingProcess = false;
/** /**
* String representation * String representation
@ -609,13 +610,39 @@ public class ProcessInfo implements Serializable
m_transactionName = trxName; m_transactionName = trxName;
} }
/**
* Set print preview flag, only relevant if this is a reporting process
* @param b
*/
public void setPrintPreview(boolean b) public void setPrintPreview(boolean b)
{ {
m_printPreview = b; m_printPreview = b;
} }
/**
* Is print preview instead of direct print ? Only relevant if this is a reporting process
* @return boolean
*/
public boolean isPrintPreview() public boolean isPrintPreview()
{ {
return m_printPreview; return m_printPreview;
} }
/**
* Is this a reporting process ?
* @return boolean
*/
public boolean isReportingProcess()
{
return m_reportingProcess;
}
/**
* Set is this a reporting process
* @param f
*/
public void setReportingProcess(boolean f)
{
m_reportingProcess = f;
}
} // ProcessInfo } // ProcessInfo