| Modifier and Type | Method and Description |
|---|---|
static Axes |
getAxes(IServiceProvider provider)
Gets the
Axes from the IOrientationAxesService provided by an object. |
static Axes |
getAxes(IServiceProvider provider,
String exceptionMessage)
Gets the
Axes from the IOrientationAxesService provided by an object. |
static IOrientationAxesService |
getOptionalOrientationAxesService(IServiceProvider provider)
Gets the
IOrientationAxesService provided by an object, or null if the service does not exist. |
static IOrientationAxesService |
getOrientationAxesService(IServiceProvider provider)
Gets the
IOrientationAxesService provided by an object. |
static IOrientationAxesService |
getOrientationAxesService(IServiceProvider provider,
String exceptionMessage)
Gets the
IOrientationAxesService provided by an object. |
@Nonnull public static IOrientationAxesService getOrientationAxesService(@Nonnull IServiceProvider provider)
IOrientationAxesService provided by an object.provider - The object from which to obtain the service.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide IOrientationAxesService.@Nonnull public static IOrientationAxesService getOrientationAxesService(@Nonnull IServiceProvider provider, String exceptionMessage)
IOrientationAxesService provided by an object.provider - The object from which to obtain the service.exceptionMessage - An error message to include in the exception if the service is unavailable.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide IOrientationAxesService.@Nullable public static IOrientationAxesService getOptionalOrientationAxesService(@Nonnull IServiceProvider provider)
IOrientationAxesService provided by an object, or null if the service does not exist.provider - The object from which to obtain the service.null if the service does not exist.ArgumentNullException - Thrown when provider is null.public static Axes getAxes(@Nonnull IServiceProvider provider)
Axes from the IOrientationAxesService provided by an object.provider - The object from which to obtain the IOrientationAxesService service.Axes from the IOrientationAxesService.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide IOrientationAxesService.public static Axes getAxes(@Nonnull IServiceProvider provider, String exceptionMessage)
Axes from the IOrientationAxesService provided by an object.provider - The object from which to obtain the IOrientationAxesService service.exceptionMessage - An error message to include in the exception if the IOrientationAxesService service is unavailable.Axes from the IOrientationAxesService.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide IOrientationAxesService.