com.vinculumtech.carrierwave
Class IconHelper

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

public final class IconHelper
extends java.lang.Object

The IconHelper class is a factory for instantiating Icon instances. It should also be used to access protected members of the Icon class for testing.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/IconHelper.java#8 $

Method Summary
static java.util.Comparator getIconComparator()
           
static Icon makeIcon(Icon parent, java.lang.String imageType, java.lang.String edge)
           
static Icon makeIcon(Icon parent, java.lang.String imageType, java.lang.String edge, int index)
           
static Icon makeIcon(Icon parent, java.lang.String imageType, java.lang.String edge, java.lang.Object key)
           
static Icon makeIcon(java.lang.String imageType, java.lang.Object objectId)
          This method should only be used for testing purposes
static Icon makeIcon(java.lang.String imageType, java.lang.Object objectId, java.lang.String referenceableName)
          This method should only be used for testing purposes
static Icon makeIcon(java.lang.String imageType, java.lang.String referenceableName)
           
static Icon makeIcon(java.lang.String host, java.lang.String imageType, java.lang.Object objectId)
          This method should only be used for testing purposes
static Icon makeIcon(java.lang.String host, java.lang.String imageType, java.lang.Object objectId, java.lang.String referenceableName)
          This method should only be used for testing purposes
static Icon makeIcon(java.lang.String host, java.lang.String imageType, java.lang.String referenceableName)
           
static Icon setIndexOn(Icon icon, int index)
           
static Icon setKeyOn(Icon icon, java.lang.Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeIcon

public static final Icon makeIcon(java.lang.String imageType,
                                  java.lang.String referenceableName)

makeIcon

public static final Icon makeIcon(java.lang.String host,
                                  java.lang.String imageType,
                                  java.lang.String referenceableName)

makeIcon

public static final Icon makeIcon(java.lang.String imageType,
                                  java.lang.Object objectId,
                                  java.lang.String referenceableName)
This method should only be used for testing purposes


makeIcon

public static final Icon makeIcon(java.lang.String host,
                                  java.lang.String imageType,
                                  java.lang.Object objectId,
                                  java.lang.String referenceableName)
This method should only be used for testing purposes


makeIcon

public static final Icon makeIcon(java.lang.String imageType,
                                  java.lang.Object objectId)
This method should only be used for testing purposes


makeIcon

public static final Icon makeIcon(java.lang.String host,
                                  java.lang.String imageType,
                                  java.lang.Object objectId)
This method should only be used for testing purposes


makeIcon

public static final Icon makeIcon(Icon parent,
                                  java.lang.String imageType,
                                  java.lang.String edge)

makeIcon

public static final Icon makeIcon(Icon parent,
                                  java.lang.String imageType,
                                  java.lang.String edge,
                                  int index)

makeIcon

public static final Icon makeIcon(Icon parent,
                                  java.lang.String imageType,
                                  java.lang.String edge,
                                  java.lang.Object key)

setIndexOn

public static final Icon setIndexOn(Icon icon,
                                    int index)

setKeyOn

public static final Icon setKeyOn(Icon icon,
                                  java.lang.Object key)

getIconComparator

public static final java.util.Comparator getIconComparator()


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