|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
threeD.ui.panels.LightListModel
The LightListModel class extends AbstractListModel and provides a list model that dynamically displays the Light objects of a Scene object.
| Field Summary |
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| Constructor Summary | |
LightListModel(Scene scene)
Constructs a new LightListModel object using the specified Scene object. |
|
| Method Summary | |
void |
eventFired(Event event)
Method called when an event has been fired. |
java.lang.Object |
getElementAt(int index)
Returns the Light object at the specified index. |
Scene |
getScene()
Returns the Scene object used by this LightListModel object. |
int |
getSize()
Returns the number of Light objects that are contained in the Scene object used by this LightListModel object. |
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LightListModel(Scene scene)
| Method Detail |
public Scene getScene()
public int getSize()
getSize in interface javax.swing.ListModelpublic java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelpublic void eventFired(Event event)
eventFired in interface EventListener
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||