com.im.df/1 5.9.1

com.im.df.query.ui
Class QueryFactories.WidgetFactory

java.lang.Object
  extended by com.im.df.query.ui.QueryFactories.WidgetFactory
Direct Known Subclasses:
QueryFactories.StructureQueryWidgetFactory
Enclosing class:
QueryFactories

public abstract static class QueryFactories.WidgetFactory
extends Object

Factory for query widgets


Constructor Summary
QueryFactories.WidgetFactory()
           
 
Method Summary
abstract  String getShortDescription(DFTermExpression query)
          Get a description of this query term that should be displayed whilst the widget is dispalyed.
abstract  String getType()
          The type is used as a hint so that the correct widget can be selected for a query term that requests this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFactories.WidgetFactory

public QueryFactories.WidgetFactory()
Method Detail

getType

public abstract String getType()
The type is used as a hint so that the correct widget can be selected for a query term that requests this type. The type should be specified in the DFTermExpression's options using the QUERY_TERM_CREATOR constant as the key.

Returns:
A string that describes the type of this widget.

getShortDescription

public abstract String getShortDescription(DFTermExpression query)
Get a description of this query term that should be displayed whilst the widget is dispalyed. e.g a title that describes anythign that is not obvious from the widget itself


com.im.df/1 5.9.1