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
-
DisplaySelection()
- Creates display objects for:
Attribute, Filters, Valids, Patterns, Query and MoreInfo
(Definition and Guide buttons).
-
applyFilters(String[])
- Sets the filters and then uses apply to update and redisplay
the valids.
-
applyPattern(String)
- Sets the pattern and then uses apply to update and redisplay
the valids.
-
changeCat(int, String[])
- Changes the category by using the following steps.
-
popupDef()
- Uses Modelet.loadMode to open a new browser window to display a list of
valids with buttons to display definitions.
-
popupGuide()
- Uses Modelet.loadMode to open a new browser window to display a list of
valids with buttons to display guide documents.
-
processResult(DialogFrame, boolean)
-
Call back method required by DialogFrame.
-
select(String[], boolean)
- Sets the list of selected valids and then updates the query
with the list of selected valids.
-
selectAll()
- Uses select to select all of the possible valids.
-
selectMoreInfo(String[])
- Sets the list of selected valids and then updates the query
with the list of selected valids.
-
selectNone()
- Clears the list of selected valids and clears the query
of the selected valids.
-
selectValids(String[])
- Sets the list of selected valids and then updates the query
with the list of selected valids and displays the query
-
showAll(DepValid)
- Uses fetchAll to get the filters, valids and query.
-
showHelp()
- Popups a help dialog when the Help Button is clicked.
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
changeCat
public void changeCat(int newAttributeNumber,
String selctdValids[])
- Changes the category by using the following steps.
- Sets the attribute type.
- Clears the filters, valids, and patterns.
- Uses fetchValidsFilters to get the filter and valids for
the new attribute.
- Gets the attribute type.
- Uses getVectorFromHash to get the current selections from
the query.
- Sets the selected valids.
- Redisplays filters, valids, patterns, and MoreInfo buttons.
- See Also:
- fetchValidsFilters
applyPattern
public void applyPattern(String pattern)
- Sets the pattern and then uses apply to update and redisplay
the valids.
- See Also:
- apply
applyFilters
public void applyFilters(String filterStrings[])
- Sets the filters and then uses apply to update and redisplay
the valids.
- See Also:
- apply
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
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
selectAll
public void selectAll()
- Uses select to select all of the possible valids.
- See Also:
- select, fetchValids
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
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
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
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
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
showHelp
public void showHelp()
- Popups a help dialog when the Help Button is clicked.
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