|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.speech.SpeechItemList
public class SpeechItemList
| Constructor Summary | |
|---|---|
SpeechItemList()
|
|
| Method Summary | |
|---|---|
void |
addFullItem(SpeechItem item)
Adds an SpeechItem to the List. |
void |
addItem(String id)
Adds an empty Item to the List, to prepare all Items in the List with content use prepareItemList |
int |
getEye()
|
String |
getEyedItemContent()
|
SpeechItem |
getItem(int num)
|
String |
getItemTitle(int pos)
|
String[] |
getItemTitles()
|
LinkedList |
getList()
|
void |
nextItem()
Set the Eye to the next Item, if the actual eyed Item is not the last in List. |
void |
prepareList(PresentationTool presentTool)
when the list is complete, the prepareList function computes the titles, content and type of the items in the list. |
void |
prevItem()
Set the Eye to the previous Item, if the actual eyed Item is not the first in the List. |
void |
setEye(int pos)
Set the Eye-position to pos. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpeechItemList()
| Method Detail |
|---|
public void addItem(String id)
SpeechItemListInterface
addItem in interface SpeechItemListInterfaceid - -
The itemId of the itempublic void prepareList(PresentationTool presentTool)
prepareList in interface SpeechItemListInterfacepresentTool - -
the Presentationtool to get the transformerpublic String getItemTitle(int pos)
getItemTitle in interface SpeechItemListInterfacepos - -
Position of the Item in the List
public int size()
size in interface SpeechItemListInterfacepublic LinkedList getList()
getList in interface SpeechItemListInterfacepublic SpeechItem getItem(int num)
getItem in interface SpeechItemListInterfacenum - -
The position of the Item in the List
public void setEye(int pos)
SpeechItemListInterface
setEye in interface SpeechItemListInterfacepublic int getEye()
getEye in interface SpeechItemListInterfacepublic void prevItem()
SpeechItemListInterface
prevItem in interface SpeechItemListInterfacepublic void nextItem()
SpeechItemListInterface
nextItem in interface SpeechItemListInterfacepublic void addFullItem(SpeechItem item)
SpeechItemListInterface
addFullItem in interface SpeechItemListInterfaceitem - -
The SpeechItem which should be added.public String getEyedItemContent()
getEyedItemContent in interface SpeechItemListInterfacepublic String[] getItemTitles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||