infovis.column
Class ColumnFactory.DefaultCreator

java.lang.Object
  extended by infovis.column.ColumnFactory.DefaultCreator
All Implemented Interfaces:
ColumnFactory.Creator
Enclosing class:
ColumnFactory

public static class ColumnFactory.DefaultCreator
extends Object
implements ColumnFactory.Creator

Default implementation of Creator.

Author:
Jean-Daniel Fekete

Constructor Summary
ColumnFactory.DefaultCreator(String typeName, int type, String className)
          Constructor.
ColumnFactory.DefaultCreator(String typeName, String type, String className)
          Constructor.
 
Method Summary
 Column create(String name)
          Create a column with a specified name.
 String getClassName()
          
 int getColumnType()
          
 String getTypeName()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnFactory.DefaultCreator

public ColumnFactory.DefaultCreator(String typeName,
                                    int type,
                                    String className)
Constructor.

Parameters:
typeName - the type name
type - the density type
className - the column class name

ColumnFactory.DefaultCreator

public ColumnFactory.DefaultCreator(String typeName,
                                    String type,
                                    String className)
Constructor.

Parameters:
typeName - the type name
type - the density type as a string
className - the column class name
Method Detail

getTypeName

public String getTypeName()

Specified by:
getTypeName in interface ColumnFactory.Creator
Returns:
the type name

getColumnType

public int getColumnType()

Specified by:
getColumnType in interface ColumnFactory.Creator
Returns:
the density type

getClassName

public String getClassName()

Specified by:
getClassName in interface ColumnFactory.Creator
Returns:
the class name of the column

create

public Column create(String name)
Create a column with a specified name.

Specified by:
create in interface ColumnFactory.Creator
Parameters:
name - the column name.
Returns:
a column with a specified name.


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