org.emboss.jemboss.gui.form
Class ReportFormat

java.lang.Object
  extended byorg.emboss.jemboss.gui.form.ReportFormat

public class ReportFormat
extends java.lang.Object

EMBOSS Report formats http://www.hgmp.mrc.ac.uk/Software/EMBOSS/Themes/ReportFormats.html


Field Summary
private  JembossComboPopup cp
          container for report formats
private  java.lang.String def
          default report format
private  javax.swing.JCheckBox raccshow
          select to show the accession number
private  javax.swing.JCheckBox rdesshow
          select to show the description
private static java.lang.String[] rpt
          EMBOSS Report formats
private  javax.swing.JCheckBox rusashow
          select to show the USA
 
Constructor Summary
ReportFormat(ParseAcd parseAcd, int nf)
           
 
Method Summary
 javax.swing.JCheckBox getAccCheckBox()
          Get the check box for accession number display
 JembossComboPopup getComboPopup()
          Get the combo popup box containing the report formats
 java.lang.String getDefaultFormat()
          Get the default report format
 javax.swing.JCheckBox getDesCheckBox()
          Get the check box for description display
protected  javax.swing.Box getReportCheckBox()
          Get the container box for the report format display on the Jemboss application form
 java.lang.String getReportFormat()
          Return the EMBOSS command line string depending on what has been selected
private static java.lang.String[] getReportFormats()
          Get the available report formats
static java.lang.String getToolTip()
           
 javax.swing.JCheckBox getUsaDesCheckBox()
          Get the check box for USA display
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rpt

private static java.lang.String[] rpt
EMBOSS Report formats


cp

private JembossComboPopup cp
container for report formats


raccshow

private javax.swing.JCheckBox raccshow
select to show the accession number


rdesshow

private javax.swing.JCheckBox rdesshow
select to show the description


rusashow

private javax.swing.JCheckBox rusashow
select to show the USA


def

private java.lang.String def
default report format

Constructor Detail

ReportFormat

public ReportFormat(ParseAcd parseAcd,
                    int nf)
Parameters:
parseAcd - ACD parser for an emboss application
nf - report format field number in the ACD
Method Detail

getComboPopup

public JembossComboPopup getComboPopup()
Get the combo popup box containing the report formats

Returns:
combo popup box

getDefaultFormat

public java.lang.String getDefaultFormat()
Get the default report format

Returns:
default report format

getAccCheckBox

public javax.swing.JCheckBox getAccCheckBox()
Get the check box for accession number display

Returns:
check box

getDesCheckBox

public javax.swing.JCheckBox getDesCheckBox()
Get the check box for description display

Returns:
check box

getUsaDesCheckBox

public javax.swing.JCheckBox getUsaDesCheckBox()
Get the check box for USA display

Returns:
check box

getReportFormats

private static java.lang.String[] getReportFormats()
Get the available report formats

Returns:
string array of report formats

getReportFormat

public java.lang.String getReportFormat()
Return the EMBOSS command line string depending on what has been selected

Returns:
EMBOSS command line string

getReportCheckBox

protected javax.swing.Box getReportCheckBox()
Get the container box for the report format display on the Jemboss application form

Returns:
container box for the report format

getToolTip

public static java.lang.String getToolTip()
Returns:
String report of the available report formats