edu.kzoo.grid.display
Class DefaultDisplayFactory

java.lang.Object
  |
  +--edu.kzoo.grid.display.DefaultDisplayFactory

public class DefaultDisplayFactory
extends java.lang.Object

Grid Display Package:
The DefaultDisplayFactory class contains methods that provide a suitable default display for a given class.

Version:
Mar 1, 2005
Author:
Alyce Brady

Constructor Summary
DefaultDisplayFactory()
           
 
Method Summary
static void addSuffix(java.lang.String suffix)
          Adds the specified suffix to the list of image suffixes to look for.
static GridObjectDisplay getDefaultDisplay()
          Returns a DefaultDisplay object.
static GridObjectDisplay getDefaultDisplay(java.lang.Class cls)
          Returns a default display specific to the given class if there is one.
static GridObjectDisplay getDefaultDisplay(java.lang.String className)
          Returns a default display specific to the given class if there is one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDisplayFactory

public DefaultDisplayFactory()
Method Detail

addSuffix

public static void addSuffix(java.lang.String suffix)
Adds the specified suffix to the list of image suffixes to look for.

Parameters:
suffix - image suffix (e.g., "tiff")

getDefaultDisplay

public static GridObjectDisplay getDefaultDisplay()
Returns a DefaultDisplay object.


getDefaultDisplay

public static GridObjectDisplay getDefaultDisplay(java.lang.Class cls)
Returns a default display specific to the given class if there is one. In the following detailed description of which display object is returned, assume that ClassName is the base class name passed in as a parameter and package is the name of the package in which that class resides. The returned display is:

getDefaultDisplay

public static GridObjectDisplay getDefaultDisplay(java.lang.String className)
Returns a default display specific to the given class if there is one. In the following detailed description of which display object is returned, assume that ClassName is the base class name passed in as a parameter and package is the name of the package in which that class resides. The returned display is: