|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
net.sf.j3d.threeD.ui.panels.LightListModel
public class LightListModel
The LightListModel class extends AbstractListModel and provides a list model that dynamically displays the Light objects of a Scene object.
| 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. |
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, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 ListModelpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic void eventFired(Event event)
eventFired in interface EventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||