|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
uk.org.ury.common.show.ShowChannel
public class ShowChannel
A channel of ShowItems in a show.
Constructor Summary | |
---|---|
ShowChannel()
Constructs a new, empty channel. |
Method Summary | |
---|---|
void |
add(int index,
ShowItem item)
Adds a new item to the channel. |
void |
add(ShowItem item)
Adds a new item to the end of the channel. |
ShowItem |
get(int index)
Retrieves an item from the channel. |
java.lang.Object |
getElementAt(int index)
List model retrieval wrapper for get. |
int |
getSize()
|
Methods inherited from class javax.swing.AbstractListModel |
---|
addListDataListener, getListDataListeners, getListeners, removeListDataListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShowChannel()
Method Detail |
---|
public void add(int index, ShowItem item)
index
- The position at which to add the item.item
- The new item to add.
java.lang.IllegalArgumentException
- if the item is null, the index is negative or the index is
out of bounds.public void add(ShowItem item)
item
- The new item to add.public ShowItem get(int index)
index
- The index of the item to retrieve from the channel.
java.lang.IllegalArgumentException
- if the index is negative or overflowing.public java.lang.Object getElementAt(int index)
index
- The index of the item to retrieve from the channel.
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |