com.vinculumtech.carrierwave
Class ImageableIconHelper

java.lang.Object
  extended bycom.vinculumtech.carrierwave.ImageableIconHelper

public class ImageableIconHelper
extends java.lang.Object

The IconHelper class is a factory for instantiating Icon instances.
This class is intended to be used only server side.

Version:
$Id: //depot/carrierwave/src/server/com/vinculumtech/carrierwave/ImageableIconHelper.java#8 $

Field Summary
static java.lang.String HOST
           
static java.lang.String HOST_DEFAULT
           
 
Method Summary
static Icon makeIconFor(Imageable imageable)
          Helper method for creating an Icon from a Imageable reference.If the Imageable is not ImageableIdentifiable, a PlatformException is thrown.
static Icon makeIconFor(Imageable childImageable, Icon parentIcon, GraphNode graphNode)
           
static Icon makeIconFor(ImageableIdentifiable imageable)
          Helper method for creating an Icon from a ImageableIdentifiable reference
static Icon makeIconFor(Imageable childImageable, Image parentImage, GraphNode graphNode)
           
static Icon makeIconFor(java.lang.String imageType, ImageableIdentifiable imageable)
           
static Icon makeIconForSafe(Imageable imageable)
          Helper method for creating an Icon from a Imageable reference.
static Icon[] makeIconsFor(Imageable[] imageables)
          Helper method for creating arrays of Icons.
static Icon[] makeIconsFor(java.util.List imageables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST

public static final java.lang.String HOST
See Also:
Constant Field Values

HOST_DEFAULT

public static final java.lang.String HOST_DEFAULT
See Also:
Constant Field Values
Method Detail

makeIconsFor

public static final Icon[] makeIconsFor(Imageable[] imageables)
Helper method for creating arrays of Icons.

Parameters:
imageables -
Returns:

makeIconFor

public static final Icon makeIconFor(Imageable imageable)
Helper method for creating an Icon from a Imageable reference.If the Imageable is not ImageableIdentifiable, a PlatformException is thrown.

Parameters:
imageable -
Returns:

makeIconForSafe

public static final Icon makeIconForSafe(Imageable imageable)
Helper method for creating an Icon from a Imageable reference. If the Imageable is not ImageableIdentifiable, a null is returned.

Parameters:
imageable -
Returns:

makeIconFor

public static final Icon makeIconFor(ImageableIdentifiable imageable)
Helper method for creating an Icon from a ImageableIdentifiable reference

Parameters:
imageable -
Returns:

makeIconFor

public static final Icon makeIconFor(java.lang.String imageType,
                                     ImageableIdentifiable imageable)
Parameters:
imageType -
imageable -
Returns:

makeIconFor

public static final Icon makeIconFor(Imageable childImageable,
                                     Image parentImage,
                                     GraphNode graphNode)
Parameters:
childImageable -
parentImage -
graphNode -
Returns:

makeIconFor

public static final Icon makeIconFor(Imageable childImageable,
                                     Icon parentIcon,
                                     GraphNode graphNode)
Parameters:
childImageable -
parentIcon -
graphNode -
Returns:

makeIconsFor

public static Icon[] makeIconsFor(java.util.List imageables)


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.