Package uk.ac.starlink.vo
Class RegistrySelectorModel
- java.lang.Object
-
- uk.ac.starlink.vo.RegistrySelectorModel
-
public class RegistrySelectorModel extends java.lang.Object
Model for RegistrySelector.- Since:
- 9 Apr 2014
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description RegistrySelectorModel(RegistryProtocol proto)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistryProtocol
getProtocol()
Returns the registry access protocol.javax.swing.ComboBoxModel
getUrlSelectionModel()
Returns the model used for selection of the registry endpoint URL.
-
-
-
Constructor Detail
-
RegistrySelectorModel
public RegistrySelectorModel(RegistryProtocol proto)
Constructor.- Parameters:
proto
- registry access protocol
-
-
Method Detail
-
getProtocol
public RegistryProtocol getProtocol()
Returns the registry access protocol.- Returns:
- protocol
-
getUrlSelectionModel
public javax.swing.ComboBoxModel getUrlSelectionModel()
Returns the model used for selection of the registry endpoint URL.- Returns:
- selection model; elements will be strings
-
-