EVolve.visualization
Class ReferenceDimension
java.lang.Object
|
+--EVolve.visualization.Dimension
|
+--EVolve.visualization.ReferenceDimension
- public class ReferenceDimension
- extends Dimension
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceDimension
public ReferenceDimension()
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)