de.cau.cs.kieler.klots.views
Class SJInstructionsDataList

java.lang.Object
  extended by de.cau.cs.kieler.klots.views.SJInstructionsDataList

public class SJInstructionsDataList
extends Object

Rating red

Constructor Summary
SJInstructionsDataList(SJInstructionsViewer viewerParam)
          Instantiates a new TableDataList.
 
Method Summary
 void add(SJInstructionsData sjInstructionsData)
          Adds a SJInstructionsData entry to the list.
 void clear()
           
 SJInstructionsData get(int index)
          Gets a SJInstructionsData entry with a specific index as an identifier.
 SJInstructionsData[] getArray()
          Gets the list of SJInstructionsData entries as an array of SJInstructionsData entries.
static SJInstructionsDataList getInstance()
          Gets the single instance of this TableDataList class.
 int indexOf(SJInstructionsData sjInstructionsData)
          Returns the index of an SJInstructionsData entry.
 int size()
          Gets the size of this list.
 void updateViewAsync()
          Updates the view of the parent tree table viewer asynchronously.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SJInstructionsDataList

public SJInstructionsDataList(SJInstructionsViewer viewerParam)
Instantiates a new TableDataList.

Parameters:
viewerParam - the parent tree table viewer for refreshes
Method Detail

indexOf

public int indexOf(SJInstructionsData sjInstructionsData)
Returns the index of an SJInstructionsData entry.

Parameters:
sjInstructionsData - the SJInstructionsData entry
Returns:
the index

updateViewAsync

public void updateViewAsync()
Updates the view of the parent tree table viewer asynchronously.


add

public void add(SJInstructionsData sjInstructionsData)
Adds a SJInstructionsData entry to the list.

Parameters:
sjInstructionsData - the SJInstructionsData entry

get

public SJInstructionsData get(int index)
Gets a SJInstructionsData entry with a specific index as an identifier.

Parameters:
index - the identifier index
Returns:
the SJInstructionsData entry

clear

public void clear()

getInstance

public static SJInstructionsDataList getInstance()
Gets the single instance of this TableDataList class.

Returns:
single instance of TableDataList

size

public int size()
Gets the size of this list.

Returns:
the size

getArray

public SJInstructionsData[] getArray()
Gets the list of SJInstructionsData entries as an array of SJInstructionsData entries.

Returns:
the SJInstructionsData[] array