com.im.df.query.ui
Class AdvancedQueryUIBuilder
java.lang.Object
java.awt.event.ComponentAdapter
com.im.df.query.ui.AdvancedQueryUIBuilder
- All Implemented Interfaces:
- ComponentListener, EventListener
public class AdvancedQueryUIBuilder
- extends ComponentAdapter
TODO P2 - this class and whole search should be moved out of DIF module. It's just used
for building query and works on top of DFResultSet (both is in API). There is no reason
why this class should work directly with any DIF impl.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATION_MODE
public static final String CREATION_MODE
- See Also:
- Constant Field Values
AdvancedQueryUIBuilder
public AdvancedQueryUIBuilder(DFDataTree dataTree)
- Creates a new instance of AdvancedQueryUIBuilder for a DataTree.
- Parameters:
dataTree - To query
getErrors
public TermErrors getErrors()
getComponent
public JComponent getComponent()
clearReferences
public static void clearReferences()
clear
public void clear()
- Clear the query values
reloadQuery
public void reloadQuery()
fillQuery
public void fillQuery(DFTermExpression query)
- Defines any initial query whose terms should be displayed
- Parameters:
query - The query
will be used.
getQuery
public DFTermExpression getQuery()
buildQuery
protected DFTermExpression buildQuery()
addChangeListener
public void addChangeListener(ChangeListener l)
removeChangeListener
public void removeChangeListener(ChangeListener l)
componentResized
public void componentResized(ComponentEvent e)
- Specified by:
componentResized in interface ComponentListener- Overrides:
componentResized in class ComponentAdapter