|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.vo.KeywordServiceQueryFactory
public class KeywordServiceQueryFactory
RegistryQueryFactory implementation which combines a fixed base query for a particular service type with a freeform keyword search.
Constructor Summary | |
---|---|
KeywordServiceQueryFactory(Capability capability)
Constructs a query factory which looks for services with a particular standard ID. |
Method Summary | |
---|---|
void |
addEntryListener(ActionListener listener)
Adds a listener which will be notified when the user has entered a query. |
JComponent |
getComponent()
May return a component which the user can interact with to select a query. |
RegistryQuery |
getIdListQuery(String[] ivoids)
Returns a registry query suitable for this query factory which queries a given list of IVO identifiers. |
RegistryQuery |
getQuery()
Returns the currently selected query. |
RegistrySelector |
getRegistrySelector()
Returns the registry component object associated with this object. |
void |
removeEntryListener(ActionListener listener)
Removes a listener previously added by RegistryQueryFactory.addEntryListener(java.awt.event.ActionListener) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeywordServiceQueryFactory(Capability capability)
capability
- description of capability which all results must haveMethod Detail |
---|
public RegistryQuery getQuery() throws MalformedURLException
RegistryQueryFactory
getQuery
in interface RegistryQueryFactory
MalformedURLException
public RegistryQuery getIdListQuery(String[] ivoids) throws MalformedURLException
RegistryQueryFactory
getIdListQuery
in interface RegistryQueryFactory
ivoids
- ivo:-type resource identifiers
MalformedURLException
public JComponent getComponent()
RegistryQueryFactory
getComponent
in interface RegistryQueryFactory
public void addEntryListener(ActionListener listener)
RegistryQueryFactory
addEntryListener
in interface RegistryQueryFactory
listener
- listenerpublic void removeEntryListener(ActionListener listener)
RegistryQueryFactory
RegistryQueryFactory.addEntryListener(java.awt.event.ActionListener)
.
removeEntryListener
in interface RegistryQueryFactory
listener
- listenerpublic RegistrySelector getRegistrySelector()
RegistryQueryFactory
getRegistrySelector
in interface RegistryQueryFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |