Package icsbep.affichage.composants
contains classes representing graphical components in the user interface. Many of the fields entered in the tabs of
the Search page use these classes. Some
of these classes have several fields in common. These fields are used to build the search criteria displayed in
the Selection Viewer at the bottom of the Search page. The common fields in classes InputBooleanApp,
InputNumApp,
IntegerRangeApp,
JComboApp,
JListApp,
and JTextFieldApp,
are:
- title contains either a constant from class AppConstants
in package icsbep.utils or a hard coded String. For example, a field entered on the
"Evaluator" tab in the Search page, assigns the String "Evaluator"
to the field title.
- registerNumber stores the number of the
search criterion in the list appearing in the Selection Viewer. For example, the first search criterion [Evaluator]
[Williamson...] [Foster..] has a register number of 1.
- collecteur contains the actual values of the
search criterion for the object entered in a tab from the Search page.
Their common methods are:
- isRegistered returns true if the field collecteur
is non-NULL.
- register assigns the given CollecteurCriteres
object to field collecteur. The method also assigns the register number from this given CollecteurCriteres
object to field registerNumber.
- updateSelection verifies that the search
criterion has been assigned a register number. The vector of associated values returned from method toVector
is added to field collecteur, a CollecteurCriteres
object.