| org.geotools.openoffice.Formulas org.geotools.openoffice.Nature
Nature | final public class Nature extends Formulas implements XNature(Code) | | Exports methods from the
org.geotools.nature package as
OpenOffice add-ins.
since: 2.2 version: $Id: Nature.java 20771 2006-07-31 12:52:44Z jgarnett $ author: Martin Desruisseaux |
Constructor Summary | |
public | Nature() Constructs a default implementation of
XNature interface. |
Method Summary | |
public static XSingleServiceFactory | __getServiceFactory(String implementation, XMultiServiceFactory factories, XRegistryKey registry) Returns a factory for creating the service. | public static boolean | __writeRegistryServiceInfo(XRegistryKey registry) Writes the service information into the given registry key.
This method is called by the
com.sun.star.comp.loader.JavaLoader ; do not rename!
Parameters: registry - The registry key. | public double | getAzimuth(XPropertySet xOptions, double latitude, double longitude, double time) | public double | getElevation(XPropertySet xOptions, double latitude, double longitude, double time) | public double | getNoonTime(XPropertySet xOptions, double latitude, double longitude, double time) | public double | getSeaWaterDensity(XPropertySet xOptions, double salinity, double temperature, double pressure) | public double | getSeaWaterMeltingPoint(XPropertySet xOptions, double salinity, double pressure) | public double | getSeaWaterSaturationO2(XPropertySet xOptions, double salinity, double temperature) | public double | getSeaWaterSoundVelocity(XPropertySet xOptions, double salinity, double temperature, double pressure) | public String | getServiceName() The service name that can be used to create such an object by a factory. | public String[] | getSupportedServiceNames() Provides the supported service names of the implementation, including also
indirect service names. | public double | getSynodicMonthLength(XPropertySet xOptions, double time) | public double | getTropicalYearLength(XPropertySet xOptions, double time) | public boolean | supportsService(String name) Tests whether the specified service is supported, i.e. |
Nature | public Nature()(Code) | | Constructs a default implementation of
XNature interface.
|
__getServiceFactory | public static XSingleServiceFactory __getServiceFactory(String implementation, XMultiServiceFactory factories, XRegistryKey registry)(Code) | | Returns a factory for creating the service.
This method is called by the
com.sun.star.comp.loader.JavaLoader ; do not rename!
Parameters: implementation - The name of the implementation for which a service is desired. Parameters: factories - The service manager to be used if needed. Parameters: registry - The registry key A factory for creating the component. |
__writeRegistryServiceInfo | public static boolean __writeRegistryServiceInfo(XRegistryKey registry)(Code) | | Writes the service information into the given registry key.
This method is called by the
com.sun.star.comp.loader.JavaLoader ; do not rename!
Parameters: registry - The registry key. true if the operation succeeded. |
getAzimuth | public double getAzimuth(XPropertySet xOptions, double latitude, double longitude, double time)(Code) | | |
getElevation | public double getElevation(XPropertySet xOptions, double latitude, double longitude, double time)(Code) | | |
getNoonTime | public double getNoonTime(XPropertySet xOptions, double latitude, double longitude, double time)(Code) | | |
getSeaWaterDensity | public double getSeaWaterDensity(XPropertySet xOptions, double salinity, double temperature, double pressure)(Code) | | |
getSeaWaterMeltingPoint | public double getSeaWaterMeltingPoint(XPropertySet xOptions, double salinity, double pressure)(Code) | | |
getSeaWaterSaturationO2 | public double getSeaWaterSaturationO2(XPropertySet xOptions, double salinity, double temperature)(Code) | | |
getSeaWaterSoundVelocity | public double getSeaWaterSoundVelocity(XPropertySet xOptions, double salinity, double temperature, double pressure)(Code) | | |
getServiceName | public String getServiceName()(Code) | | The service name that can be used to create such an object by a factory.
|
getSupportedServiceNames | public String[] getSupportedServiceNames()(Code) | | Provides the supported service names of the implementation, including also
indirect service names.
Sequence of service names that are supported. |
getSynodicMonthLength | public double getSynodicMonthLength(XPropertySet xOptions, double time)(Code) | | |
getTropicalYearLength | public double getTropicalYearLength(XPropertySet xOptions, double time)(Code) | | |
supportsService | public boolean supportsService(String name)(Code) | | Tests whether the specified service is supported, i.e. implemented by the implementation.
Parameters: name - Name of service to be tested. true if the service is supported, false otherwise. |
|
|