public class KeywordServiceQueryFactory extends Object implements RegistryQueryFactory
Constructor and Description |
---|
KeywordServiceQueryFactory(Capability capability)
Constructs a query factory which looks for services with a particular
standard ID.
|
Modifier and Type | Method and Description |
---|---|
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) . |
public KeywordServiceQueryFactory(Capability capability)
capability
- description of capability which all results must havepublic 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 identifiersMalformedURLException
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
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.