|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.recommendation.casesDisplay.DisplayCasesMethod
public class DisplayCasesMethod
Displays the cases in a panel with a "previous" and "next" buttons to
move through the cases.
This method is useful when showing composed cases.
It allways shows an "Add to Basket" and a "Quit" buttons. Optionally it
shows an "Edit Query" button for conversational recommenders (not useful
in one-shot recommenders).
The methods of this class return an UserChoice object.
UserChoice
Constructor Summary | |
---|---|
DisplayCasesMethod()
|
Method Summary | |
---|---|
static UserChoice |
displayCases(java.util.Collection<CBRCase> cases)
Shows the dialog without the "Edit Query" option |
static UserChoice |
displayCases(java.util.Collection<CBRCase> cases,
boolean editQueryEnabled)
Shows the dialog and allows to choose if show the "Edit Query" option. |
static UserChoice |
displayCasesWithEditOption(java.util.Collection<CBRCase> cases)
Shows the dialog without the "Edit Query" option |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayCasesMethod()
Method Detail |
---|
public static UserChoice displayCases(java.util.Collection<CBRCase> cases)
cases
- to display
public static UserChoice displayCasesWithEditOption(java.util.Collection<CBRCase> cases)
cases
- to display
public static UserChoice displayCases(java.util.Collection<CBRCase> cases, boolean editQueryEnabled)
cases
- to display.editQueryEnabled
- decides if show the "Edit Query" option.
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |