at.tuwien.ifs.somtoolbox.structures
Class ElementWithIndex

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.structures.ElementWithIndex
Direct Known Subclasses:
ComponentLine2D, ComponentLine3D, DoubleVector2D

public abstract class ElementWithIndex
extends Object


Field Summary
protected  int index
           
protected  String label
           
 
Constructor Summary
protected ElementWithIndex(int index)
           
 
Method Summary
 int getIndex()
           
 String getLabel()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected int index

label

protected String label
Constructor Detail

ElementWithIndex

protected ElementWithIndex(int index)
Method Detail

getIndex

public int getIndex()

toString

public String toString()
Overrides:
toString in class Object

getLabel

public String getLabel()