infovis.visualization.color
Class ColorVisualizationFactory

java.lang.Object
  extended by infovis.metadata.ValueCategory
      extended by infovis.visualization.color.ColorVisualizationFactory
All Implemented Interfaces:
Constants

public abstract class ColorVisualizationFactory
extends ValueCategory

Factory for Color Visualizations.

Version:
$Revision: 1.13 $
Author:
Jean-Daniel Fekete

Nested Class Summary
static interface ColorVisualizationFactory.Creator
          Interface for creator of ColorVisualization.
static class ColorVisualizationFactory.DefaultCreator
          Default creator class.
 
Field Summary
 
Fields inherited from class infovis.metadata.ValueCategory
CATEGORY_NAME, TYPE_CATEGORIAL, TYPE_DIFFERENTIAL, TYPE_EXPLICIT, TYPE_NOMINAL, TYPE_ORDERED, TYPE_UNKOWN, VALUE_CATEGORY_TYPE, VALUE_CATEGORY_TYPE_CATEGORICAL, VALUE_CATEGORY_TYPE_DIFFERENTIAL, VALUE_CATEGORY_TYPE_DIFFERENTIAL_REFERENCE, VALUE_CATEGORY_TYPE_EXPLICIT, VALUE_CATEGORY_TYPE_NOMINAL, VALUE_CATEGORY_TYPE_ORDERED
 
Fields inherited from interface infovis.metadata.Constants
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE
 
Constructor Summary
ColorVisualizationFactory()
          Constructor for ColorVisualizationFactory.
 
Method Summary
static void add(ColorVisualizationFactory.Creator c)
          Adds a default creator for a specific kind of column.
static ColorVisualization create(Column c, String type)
          Creates a dynamic query from a column.
static ColorVisualization createColorVisualization(Column c)
          Creates a dynamic query of default type from a column.
static Class createdClass(Column c, String type)
          Returns the class created for a column and a type.
static Class createdColorVisualization(Column c)
          Returns the created class given a column.
 
Methods inherited from class infovis.metadata.ValueCategory
categoryName, categoryValue, findValueCategory, getValueCategory, getValueCategoryString, setValueCategory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorVisualizationFactory

public ColorVisualizationFactory()
Constructor for ColorVisualizationFactory.

Method Detail

create

public static ColorVisualization create(Column c,
                                        String type)
Creates a dynamic query from a column.

Parameters:
c - The column
type - the default type of ColorVisualization.
Returns:
A Dynamic query or null.

createdClass

public static Class createdClass(Column c,
                                 String type)
Returns the class created for a column and a type.

Parameters:
c - the column
type - the type
Returns:
the class created for a column and a type.

createColorVisualization

public static ColorVisualization createColorVisualization(Column c)
Creates a dynamic query of default type from a column.

Parameters:
c - The column
Returns:
A Dynamic query or null.

createdColorVisualization

public static Class createdColorVisualization(Column c)
Returns the created class given a column.

Parameters:
c - the column
Returns:
the created class given a column.

add

public static void add(ColorVisualizationFactory.Creator c)
Adds a default creator for a specific kind of column.

Parameters:
c - The creator


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.