com.im.df.query.ui
Class QueryFactories.WidgetFactory
java.lang.Object
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
|
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 |
QueryFactories.WidgetFactory
public QueryFactories.WidgetFactory()
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