com.im.df.query.ui
Class QueryFactories.StructureQueryWidgetFactory
java.lang.Object
com.im.df.query.ui.QueryFactories.WidgetFactory
com.im.df.query.ui.QueryFactories.StructureQueryWidgetFactory
- Enclosing class:
- QueryFactories
public static class QueryFactories.StructureQueryWidgetFactory
- extends QueryFactories.WidgetFactory
|
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 |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
QueryFactories.StructureQueryWidgetFactory
public QueryFactories.StructureQueryWidgetFactory()
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