Package it.tidalwave.image.java2d
Class ImplementationFactoryJ2D
- java.lang.Object
-
- it.tidalwave.image.op.ImplementationFactory
-
- it.tidalwave.image.java2d.ImplementationFactoryJ2D
-
public class ImplementationFactoryJ2D extends ImplementationFactory
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description ImplementationFactoryJ2D()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvertFrom(java.lang.Class imageClass)Return true if we can convert the given imageClass into our specific image class.booleancanConvertTo(java.lang.Class imageClass)ImageModelconvertFrom(java.lang.Object image)Converts the given image into our specific image representation.java.lang.ObjectconvertTo(java.lang.Object image)ImageModelcreateImageModel(java.awt.image.BufferedImage bufferedImage)static ImplementationFactorygetDefault()-
Methods inherited from class it.tidalwave.image.op.ImplementationFactory
findImplementation, registerImplementation, unregisterImplementation
-
-
-
-
Method Detail
-
getDefault
@Nonnull public static ImplementationFactory getDefault()
-
createImageModel
@Nonnull public ImageModel createImageModel(@Nonnull java.awt.image.BufferedImage bufferedImage)
- Overrides:
createImageModelin classImplementationFactory
-
canConvertFrom
public boolean canConvertFrom(@Nonnull java.lang.Class imageClass)Return true if we can convert the given imageClass into our specific image class.- Specified by:
canConvertFromin classImplementationFactory
-
convertFrom
@Nonnull public ImageModel convertFrom(@Nonnull java.lang.Object image)
Converts the given image into our specific image representation.- Specified by:
convertFromin classImplementationFactory
-
canConvertTo
public boolean canConvertTo(@Nonnull java.lang.Class imageClass)- Specified by:
canConvertToin classImplementationFactory
-
convertTo
@Nonnull public java.lang.Object convertTo(@Nonnull java.lang.Object image)- Specified by:
convertToin classImplementationFactory
-
-