com.im.df/1 5.9.1

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

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

public static class QueryFactories.StructureQueryWidgetFactory
extends QueryFactories.WidgetFactory


Field Summary
static String TYPE
           
 
Constructor Summary
QueryFactories.StructureQueryWidgetFactory()
           
 
Method Summary
 String getShortDescription(DFTermExpression query)
          Get a description of this query term that should be displayed whilst the widget is dispalyed.
 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
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

QueryFactories.StructureQueryWidgetFactory

public QueryFactories.StructureQueryWidgetFactory()
Method Detail

getType

public String getType()
Description copied from class: QueryFactories.WidgetFactory
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.

Specified by:
getType in class QueryFactories.WidgetFactory
Returns:
A string that describes the type of this widget.

getShortDescription

public String getShortDescription(DFTermExpression query)
Description copied from class: QueryFactories.WidgetFactory
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

Specified by:
getShortDescription in class QueryFactories.WidgetFactory

com.im.df/1 5.9.1