EVolve.visualization
Class ReferenceDimension

java.lang.Object
  |
  +--EVolve.visualization.Dimension
        |
        +--EVolve.visualization.ReferenceDimension

public class ReferenceDimension
extends Dimension


Field Summary
 
Fields inherited from class EVolve.visualization.Dimension
dataFilter
 
Constructor Summary
ReferenceDimension()
           
 
Method Summary
 void addComparator(EntityComparator comparator)
           
 void clearEntityMap()
           
 java.util.ArrayList getComparator()
           
 Entity[] getEntity()
           
 Entity getEntity(int index)
           
 int getEntityNumber()
           
 int getField(Element element)
          Gets the data from the element.
 int getMaxEntityNumber()
           
 int[] getOrdering()
           
 int getSelectedComparatorIndex()
           
 java.lang.String getSelectedComparatorName()
           
 int getSortedIndex(int entityIndex)
           
 int getSourceIndex(int index)
           
 int getTargetIndex(int index)
           
 void linkEntities(Entity[] linkedEntity)
           
 void makeSelection(int[] selection)
           
 void makeSelection(int[] selection, int start, int end)
           
 void preVisualize()
           
 void selectComparator(int selectedIndex)
           
 void setOrdering(int[] newOrder)
           
 void visualize()
           
 
Methods inherited from class EVolve.visualization.Dimension
getDataFilter, getName, setDataFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceDimension

public ReferenceDimension()
Method Detail

getMaxEntityNumber

public int getMaxEntityNumber()

getEntityNumber

public int getEntityNumber()
Overrides:
getEntityNumber in class Dimension

getField

public int getField(Element element)
Description copied from class: Dimension
Gets the data from the element.

Specified by:
getField in class Dimension
Returns:
id of the entity if the field is a reference, or the value if the field is a value

preVisualize

public void preVisualize()
Specified by:
preVisualize in class Dimension

visualize

public void visualize()

getEntity

public Entity getEntity(int index)

getComparator

public java.util.ArrayList getComparator()

selectComparator

public void selectComparator(int selectedIndex)

addComparator

public void addComparator(EntityComparator comparator)

getSortedIndex

public int getSortedIndex(int entityIndex)

makeSelection

public void makeSelection(int[] selection)

makeSelection

public void makeSelection(int[] selection,
                          int start,
                          int end)

getEntity

public Entity[] getEntity()

getSourceIndex

public int getSourceIndex(int index)

getTargetIndex

public int getTargetIndex(int index)

linkEntities

public void linkEntities(Entity[] linkedEntity)

clearEntityMap

public void clearEntityMap()

getSelectedComparatorIndex

public int getSelectedComparatorIndex()

getSelectedComparatorName

public java.lang.String getSelectedComparatorName()

getOrdering

public int[] getOrdering()

setOrdering

public void setOrdering(int[] newOrder)