edu.nrao.sss.webapp
Class SelectItemCollectionFactory

java.lang.Object
  extended by edu.nrao.sss.webapp.SelectItemCollectionFactory

public class SelectItemCollectionFactory
extends Object


Constructor Summary
SelectItemCollectionFactory()
          Creates a new SelectItemCollectionFactory that uses the default shared instance of EnumerationUtility.
SelectItemCollectionFactory(EnumerationUtility eUtil)
          Creates a new SelectItemCollectionFactory that uses util as the EnumerationUtility (if it is non-null).
 
Method Summary
 Collection<SelectItem> createFrom(Iterable<? extends Enum> inputCol)
          The returned collection is NOT thread safe!
 Collection<SelectItem> getAngularVelocityUnits()
           
 Collection<SelectItem> getAntennaSpecifiers()
           
 Collection<SelectItem> getAntennaWraps()
           
 Collection<SelectItem> getBrightnessDistributions()
           
 Collection<SelectItem> getCelestialCoordinateSystems()
           
 Collection<SelectItem> getDistanceUnitSymbols()
           
 EnumerationUtility getEnumerationUtility()
           
 Collection<SelectItem> getEpochs()
           
 Collection<SelectItem> getFileCompressionFormats()
           
 Collection<SelectItem> getLinearVelocityUnits()
           
 Collection<SelectItem> getPositionTypes()
           
 Collection<SelectItem> getProcessingTypes()
           
 Collection<SelectItem> getScanModes()
           
 Collection<SelectItem> getScanTimeTypes()
           
 Collection<SelectItem> getSchedulingTypes()
           
 Collection<SelectItem> getStokesParameters()
           
 Collection<SelectItem> getTelescopeConfigurations()
           
 Collection<SelectItem> getTelescopeTypes()
           
 Collection<SelectItem> getTimeUnits()
           
 Collection<SelectItem> getTippingOrders()
           
 Collection<SelectItem> getVelocityConventions()
           
 Collection<SelectItem> getVelocityFrames()
          TODO: This is currently limiting the selection of VelocityFrame to topocentric geocentric barycentric and LSR-Kinematic.
 Collection<SelectItem> getVlaCorrelatorModes()
           
 void setEnumerationUtility(EnumerationUtility eUtil)
          sets the EnumerationUtility that will be used from now on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectItemCollectionFactory

public SelectItemCollectionFactory()
Creates a new SelectItemCollectionFactory that uses the default shared instance of EnumerationUtility.


SelectItemCollectionFactory

public SelectItemCollectionFactory(EnumerationUtility eUtil)
Creates a new SelectItemCollectionFactory that uses util as the EnumerationUtility (if it is non-null).

Method Detail

setEnumerationUtility

public void setEnumerationUtility(EnumerationUtility eUtil)
sets the EnumerationUtility that will be used from now on.


getEnumerationUtility

public EnumerationUtility getEnumerationUtility()
Returns:
the EnumerationUtility used by this SelectItemCollectionFactory. Garunteed to be non-null.

createFrom

public Collection<SelectItem> createFrom(Iterable<? extends Enum> inputCol)
The returned collection is NOT thread safe!


getDistanceUnitSymbols

public Collection<SelectItem> getDistanceUnitSymbols()

getBrightnessDistributions

public Collection<SelectItem> getBrightnessDistributions()

getFileCompressionFormats

public Collection<SelectItem> getFileCompressionFormats()

getCelestialCoordinateSystems

public Collection<SelectItem> getCelestialCoordinateSystems()

getEpochs

public Collection<SelectItem> getEpochs()

getAngularVelocityUnits

public Collection<SelectItem> getAngularVelocityUnits()

getLinearVelocityUnits

public Collection<SelectItem> getLinearVelocityUnits()

getVelocityFrames

public Collection<SelectItem> getVelocityFrames()
TODO: This is currently limiting the selection of VelocityFrame to topocentric geocentric barycentric and LSR-Kinematic.


getVelocityConventions

public Collection<SelectItem> getVelocityConventions()

getStokesParameters

public Collection<SelectItem> getStokesParameters()

getTelescopeTypes

public Collection<SelectItem> getTelescopeTypes()

getTelescopeConfigurations

public Collection<SelectItem> getTelescopeConfigurations()

getAntennaWraps

public Collection<SelectItem> getAntennaWraps()

getScanTimeTypes

public Collection<SelectItem> getScanTimeTypes()

getScanModes

public Collection<SelectItem> getScanModes()

getTimeUnits

public Collection<SelectItem> getTimeUnits()

getTippingOrders

public Collection<SelectItem> getTippingOrders()

getPositionTypes

public Collection<SelectItem> getPositionTypes()

getAntennaSpecifiers

public Collection<SelectItem> getAntennaSpecifiers()

getVlaCorrelatorModes

public Collection<SelectItem> getVlaCorrelatorModes()

getProcessingTypes

public Collection<SelectItem> getProcessingTypes()

getSchedulingTypes

public Collection<SelectItem> getSchedulingTypes()


Copyright © 2009. All Rights Reserved.