jcolibri.method.gui.formFilling
Class ObtainQueryWithFormMethod
java.lang.Object
jcolibri.method.gui.formFilling.ObtainQueryWithFormMethod
public class ObtainQueryWithFormMethod
- extends java.lang.Object
Shows a from to obtain the query.
The methods of this class allow to use default values (read from the query),
hide some attributes and specify the label shown with each attribute.
- Version:
- 1.0
- Author:
- Juan A. Recio-Garcia
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObtainQueryWithFormMethod
public ObtainQueryWithFormMethod()
obtainQueryWithoutInitialValues
public static void obtainQueryWithoutInitialValues(CBRQuery query,
java.util.Collection<Attribute> hiddenAttributes,
java.util.Map<Attribute,java.lang.String> labels)
- Obtains a query without showing initila values.
It shows every attribute and uses the attribute name as the label.
- Parameters:
query
- to obtain.
obtainQueryWithInitialValues
public static void obtainQueryWithInitialValues(CBRQuery query,
java.util.Collection<Attribute> hiddenAttributes,
java.util.Map<Attribute,java.lang.String> labels)
- Obtains a query showing the initial values of the received query object.
It shows every attribute and uses the attribute name as the label.
- Parameters:
query
- with the initial values and where the user new values are stored