@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public class CriterionPanel
extends java.lang.Object
CriterionInformation
object.Constructor and Description |
---|
CriterionPanel(java.awt.Container parent,
java.awt.GridBagConstraints constr,
java.util.List<CriterionInformation> criterionInformation,
CriterionInformation selectedItem,
AuthorResourceBundle authorResourceBundle,
KeysController keysController,
java.util.List<CriterionInformation> allCriteria)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
enableSortcriterion()
Selects the checbox associated with the criterion panel, which means that the criterion information from it will be taken
into account when sorting.
|
CriterionInformation |
getInformation()
Returns the user input as a
CriterionInformation object. |
javax.swing.JComboBox |
getKeyCombo()
Obtain the combo for the criterion key.
|
public CriterionPanel(java.awt.Container parent, java.awt.GridBagConstraints constr, java.util.List<CriterionInformation> criterionInformation, CriterionInformation selectedItem, AuthorResourceBundle authorResourceBundle, KeysController keysController, java.util.List<CriterionInformation> allCriteria)
parent
- The parent Container
.constr
- The GridBagConstraints
object.criterionInformation
- The list of available criterion which will be added to the keys combobox.selectedItem
- The item which will be selected in the keys combobox.authorResourceBundle
- The reosurce bundle for i18n.keysController
- The keys controller.allCriteria
- All criteria information, not only the
criteria information shown by the current criterion composite.public CriterionInformation getInformation()
CriterionInformation
object.public void enableSortcriterion()
public javax.swing.JComboBox getKeyCombo()
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.