|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vinculumtech.carrierwave.image.ImageGraphHelper
The ImageGraphHelper class provides a set of utilities to manipulate instances of the ImageGraph
instances.
Method Summary | |
static void |
addOriginImageOn(ImageGraph imageGraph,
Image originImage)
A convenience accessor for the ImageGraph.addOriginImage() method. |
static Icon |
findIconByObjectId(ImageGraph imageGraph,
java.lang.Object objectId)
Searches the given ImageGraph instance for an Icon instance with the given objectId. |
static Icon |
findIconByReferenceableName(ImageGraph imageGraph,
java.lang.String referenceableName)
Searches the given ImageGraph instance for an Icon instance with the given referenceableName. |
static Image |
findImageByObjectId(ImageGraph imageGraph,
java.lang.Object objectId)
Searches the given ImageGraph instance for an Image instance with the given objectId. |
static Image |
findImageByReferenceableName(ImageGraph imageGraph,
java.lang.String referenceableName)
Searches the given ImageGraph instance for an Image instance with the given referenceableName. |
static void |
forceAllImagesOrigin(ImageGraph imageGraph)
Force all images to be origin images. |
static void |
forceAllIndependentImagesOrigin(ImageGraph imageGraph)
Force all independant images to be origin images. |
static ImageGraph |
merge(Image[] originImages)
Forces the given set of distinct graphs, identified by the array of originImages, into a single ImageGraph instance. |
static ImageGraph |
merge(ImageGraph lhs,
ImageGraph rhs)
Moves all images from both the given ImageGraph instances to the same ImageGraph instance. Either value may be null. |
static ImageGraph |
merge(ImageGraph imageGraph,
java.util.List originImages)
Forces the given set of distinct graphs, identified by the List of originImages, into the given ImageGraph instance. |
static ImageGraph |
merge(java.util.List originImages)
Forces the given set of distinct graphs, identified by the List of originImages, into a single ImageGraph instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final ImageGraph merge(java.util.List originImages)
originImages
-
public static final ImageGraph merge(Image[] originImages)
originImages
-
public static final ImageGraph merge(ImageGraph imageGraph, java.util.List originImages)
imageGraph
- originImages
-
public static final ImageGraph merge(ImageGraph lhs, ImageGraph rhs)
lhs
- rhs
-
public static final void forceAllImagesOrigin(ImageGraph imageGraph)
imageGraph
- public static final void addOriginImageOn(ImageGraph imageGraph, Image originImage)
ImageGraph.addOriginImage()
method.
imageGraph
- originImage
- public static void forceAllIndependentImagesOrigin(ImageGraph imageGraph)
imageGraph
- public static final Icon findIconByReferenceableName(ImageGraph imageGraph, java.lang.String referenceableName)
imageGraph
- referenceableName
-
public static final Image findImageByReferenceableName(ImageGraph imageGraph, java.lang.String referenceableName)
imageGraph
- referenceableName
-
public static final Icon findIconByObjectId(ImageGraph imageGraph, java.lang.Object objectId)
imageGraph
- objectId
-
public static final Image findImageByObjectId(ImageGraph imageGraph, java.lang.Object objectId)
imageGraph
- objectId
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |