gov.virginia.dcjs.standards.gui
Class AgencyLayout

java.lang.Object
  extended bygov.virginia.dcjs.gui.ApplicationLayoutAdapter
      extended bygov.virginia.dcjs.standards.gui.AgencyLayout
All Implemented Interfaces:
ApplicationLayout

public class AgencyLayout
extends ApplicationLayoutAdapter


Field Summary
 
Fields inherited from interface gov.virginia.dcjs.gui.ApplicationLayout
DATAENTRY, GRID, READONLY, RESIZABLE, ROW
 
Constructor Summary
AgencyLayout(TRexClient trc)
           
 
Method Summary
 java.lang.String[] getButtonCaptions()
          Obtain the button captions for the main button panel.
 java.lang.String[] getButtonCaptions(int dialog)
          Obtain the button captions for the specified dialog button panel.
 int getButtonsTall()
          Obtain the quantity of buttons to appear in a single column of * the main button panel.
 int getButtonsTall(int dialog)
          Obtain the quantity of buttons to appear in a single column of * the specified dialog button panel.
 java.lang.String getButtonTitle()
          Obtain the title for the main button panel.
 java.lang.String getButtonTitle(int dialog)
          Obtain the title for the specified dialog button panel.
 java.lang.String[] getGridCaptions()
          Obtain the captions to display for each column * @return Field captions, in column order, 1:1 with fields
 java.lang.String[] getGridColumns()
          Obtain fields to display by Relation field * names within the main grid.
 int[] getGridColumnWidths()
          Obtain column widths for each column within the main grid.
 GridRowMetaData getGridRowMetaData(int dialog)
          Obtain the meta data for each field of a data entry row to be * displayed in the specified dialog box.
 java.lang.String getGridTitle()
          Obtain the title for the main grid panel.
 java.lang.String getRowTitle(int dialog)
          Obtain the title for the specified dialog's grid row.
 int getSortIndex()
          Obtain the column to initially sort on within this listing * @return Column to initially sort list on
 java.lang.String getTitle()
          Obtain the title for this listing * @return Listing title
 java.lang.String getTitle(int dialog)
          Obtain the title for the specified dialog panel.
 
Methods inherited from class gov.virginia.dcjs.gui.ApplicationLayoutAdapter
getGridCaptions, getGridColumns, getGridColumnWidths, getGridRowMetaData, getGridTitle, getKeyIndex, getKeyIndex, getRowTitle, getSortIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgencyLayout

public AgencyLayout(TRexClient trc)
Method Detail

getTitle

public java.lang.String getTitle()
Obtain the title for this listing * @return Listing title

Specified by:
getTitle in interface ApplicationLayout
Overrides:
getTitle in class ApplicationLayoutAdapter

getTitle

public java.lang.String getTitle(int dialog)
Description copied from class: ApplicationLayoutAdapter
Obtain the title for the specified dialog panel. * @param dialog Dialog specific identifier. One of this class' constants. * @return Title for the specified dialog panel.

Specified by:
getTitle in interface ApplicationLayout
Overrides:
getTitle in class ApplicationLayoutAdapter

getGridTitle

public java.lang.String getGridTitle()
Description copied from class: ApplicationLayoutAdapter
Obtain the title for the main grid panel. * @return Title for the main grid panel.

Specified by:
getGridTitle in interface ApplicationLayout
Overrides:
getGridTitle in class ApplicationLayoutAdapter

getRowTitle

public java.lang.String getRowTitle(int dialog)
Description copied from class: ApplicationLayoutAdapter
Obtain the title for the specified dialog's grid row. * @param dialog Dialog specific identifier. One of this class' constants. * @return Title for the dialog grid row panel.

Specified by:
getRowTitle in interface ApplicationLayout
Overrides:
getRowTitle in class ApplicationLayoutAdapter

getButtonTitle

public java.lang.String getButtonTitle()
Description copied from class: ApplicationLayoutAdapter
Obtain the title for the main button panel. * @return Title for the main button panel.

Specified by:
getButtonTitle in interface ApplicationLayout
Overrides:
getButtonTitle in class ApplicationLayoutAdapter

getButtonTitle

public java.lang.String getButtonTitle(int dialog)
Description copied from class: ApplicationLayoutAdapter
Obtain the title for the specified dialog button panel. * @param dialog Dialog specific identifier. One of this class' constants. * @return Title for the dialog button panel.

Specified by:
getButtonTitle in interface ApplicationLayout
Overrides:
getButtonTitle in class ApplicationLayoutAdapter

getButtonCaptions

public java.lang.String[] getButtonCaptions()
Obtain the button captions for the main button panel. * @return Button captions for the main button panel.

Specified by:
getButtonCaptions in interface ApplicationLayout
Overrides:
getButtonCaptions in class ApplicationLayoutAdapter

getButtonCaptions

public java.lang.String[] getButtonCaptions(int dialog)
Obtain the button captions for the specified dialog button panel. * @param dialog Dialog specific identifier. One of this class' constants. * @return Button captions for the dialog button panel.

Specified by:
getButtonCaptions in interface ApplicationLayout
Overrides:
getButtonCaptions in class ApplicationLayoutAdapter

getButtonsTall

public int getButtonsTall()
Obtain the quantity of buttons to appear in a single column of * the main button panel. * @return Quantity of buttons to appear in a single column of * buttons on the main button panel.

Specified by:
getButtonsTall in interface ApplicationLayout
Overrides:
getButtonsTall in class ApplicationLayoutAdapter

getButtonsTall

public int getButtonsTall(int dialog)
Obtain the quantity of buttons to appear in a single column of * the specified dialog button panel. * @param dialog Dialog specific identifier. One of this class' constants. * @return Quantity of buttons to appear in a single column of * buttons on the dialog button panel.

Specified by:
getButtonsTall in interface ApplicationLayout
Overrides:
getButtonsTall in class ApplicationLayoutAdapter

getGridCaptions

public java.lang.String[] getGridCaptions()
Obtain the captions to display for each column * @return Field captions, in column order, 1:1 with fields

Specified by:
getGridCaptions in interface ApplicationLayout
Overrides:
getGridCaptions in class ApplicationLayoutAdapter

getGridColumns

public java.lang.String[] getGridColumns()
Description copied from class: ApplicationLayoutAdapter
Obtain fields to display by Relation field * names within the main grid. * @return Field names to be displayed in main grid.

Specified by:
getGridColumns in interface ApplicationLayout
Overrides:
getGridColumns in class ApplicationLayoutAdapter

getGridColumnWidths

public int[] getGridColumnWidths()
Obtain column widths for each column within the main grid. * @return Column widths for each column in the main grid.

Specified by:
getGridColumnWidths in interface ApplicationLayout
Overrides:
getGridColumnWidths in class ApplicationLayoutAdapter

getGridRowMetaData

public GridRowMetaData getGridRowMetaData(int dialog)
Description copied from class: ApplicationLayoutAdapter
Obtain the meta data for each field of a data entry row to be * displayed in the specified dialog box. * @param dialog Dialog specific identifier. One of this class' constants. * @return Meta data object controlling record fields display within * a dialog box.

Specified by:
getGridRowMetaData in interface ApplicationLayout
Overrides:
getGridRowMetaData in class ApplicationLayoutAdapter

getSortIndex

public int getSortIndex()
Obtain the column to initially sort on within this listing * @return Column to initially sort list on

Specified by:
getSortIndex in interface ApplicationLayout
Overrides:
getSortIndex in class ApplicationLayoutAdapter