All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.DepValid.DisplaySelection

java.lang.Object
   |
   +----IMSWG.IW.DepValid.Selection
           |
           +----IMSWG.IW.DepValid.DisplaySelection

public class DisplaySelection
extends Selection
This class provides the display classes for the DepValids applet. The method showAll uses a combination of BorderLayout, FlowLayout and GridLayout to display the objects on the DepValid frame.

See Also:
DepValid

Constructor Index

 o DisplaySelection()
Creates display objects for: Attribute, Filters, Valids, Patterns, Query and MoreInfo (Definition and Guide buttons).

Method Index

 o applyFilters(String[])
Sets the filters and then uses apply to update and redisplay the valids.
 o applyPattern(String)
Sets the pattern and then uses apply to update and redisplay the valids.
 o changeCat(int, String[])
Changes the category by using the following steps.
 o popupDef()
Uses Modelet.loadMode to open a new browser window to display a list of valids with buttons to display definitions.
 o popupGuide()
Uses Modelet.loadMode to open a new browser window to display a list of valids with buttons to display guide documents.
 o processResult(DialogFrame, boolean)
Call back method required by DialogFrame.
 o select(String[], boolean)
Sets the list of selected valids and then updates the query with the list of selected valids.
 o selectAll()
Uses select to select all of the possible valids.
 o selectMoreInfo(String[])
Sets the list of selected valids and then updates the query with the list of selected valids.
 o selectNone()
Clears the list of selected valids and clears the query of the selected valids.
 o selectValids(String[])
Sets the list of selected valids and then updates the query with the list of selected valids and displays the query
 o showAll(DepValid)
Uses fetchAll to get the filters, valids and query.
 o showHelp()
Popups a help dialog when the Help Button is clicked.

Constructors

 o DisplaySelection
 public DisplaySelection()
Creates display objects for: Attribute, Filters, Valids, Patterns, Query and MoreInfo (Definition and Guide buttons).

See Also:
DisplayAttribute, DisplayFilters, DisplayValids, DisplayPatterns, DisplayQuery, DisplayMoreInfo

Methods

 o changeCat
 public void changeCat(int newAttributeNumber,
                       String selctdValids[])
Changes the category by using the following steps.

See Also:
fetchValidsFilters
 o applyPattern
 public void applyPattern(String pattern)
Sets the pattern and then uses apply to update and redisplay the valids.

See Also:
apply
 o applyFilters
 public void applyFilters(String filterStrings[])
Sets the filters and then uses apply to update and redisplay the valids.

See Also:
apply
 o showAll
 public void showAll(DepValid depValid)
Uses fetchAll to get the filters, valids and query. It then constructs and displays the user interface for everything. Each part of the frame is placed in a Panel using BorderLayout. The top part of the frame uses GridLayout to put the attribute and patterns on the left and filters on the right. Each display object is then added to the appropriate Panel.

See Also:
fetchAll
 o select
 public void select(String selectedValids[],
                    boolean doWeLockIt)
Sets the list of selected valids and then updates the query with the list of selected valids. It also updates the valids list by putting the selections at the top of the list.

See Also:
fetchValidatedQuery
 o selectAll
 public void selectAll()
Uses select to select all of the possible valids.

See Also:
select, fetchValids
 o selectNone
 public void selectNone()
Clears the list of selected valids and clears the query of the selected valids. Then it updates the display of the valids and the query.

See Also:
fetchValidatedQuery
 o selectMoreInfo
 public void selectMoreInfo(String selectedValids[])
Sets the list of selected valids and then updates the query with the list of selected valids. Calls fetchMoreInfo to POST the query to imsDepVal.cgi.

See Also:
fetchMoreInfo
 o selectValids
 public void selectValids(String selectedValids[])
Sets the list of selected valids and then updates the query with the list of selected valids and displays the query

See Also:
fetchMoreInfo
 o popupDef
 public void popupDef()
Uses Modelet.loadMode to open a new browser window to display a list of valids with buttons to display definitions. If only one valid is selected, the definition for that valid will be immediately displayed. The new browser window has the target name "info1".

See Also:
loadMode
 o popupGuide
 public void popupGuide()
Uses Modelet.loadMode to open a new browser window to display a list of valids with buttons to display guide documents. If only one valid is selected, the guide links for that valid will be immediately displayed. If there is only one guide link, the guide document will be immediately displayed. The new browser window has the target name "info1".

See Also:
loadMode
 o showHelp
 public void showHelp()
Popups a help dialog when the Help Button is clicked.

 o processResult
 public void processResult(DialogFrame source,
                           boolean which)
Call back method required by DialogFrame. Null, because we don't want to do anything on a dismiss of the help.

See Also:
DialogFrame

All Packages  Class Hierarchy  This Package  Previous  Next  Index