|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
leon.view.win.swing.component.LyJListComponent._LyJListModel
public class LyJListComponent._LyJListModel
This class implements the access to the data to display in the list.
Constructor Summary | |
---|---|
LyJListComponent._LyJListModel()
Sole constructor. |
Method Summary | |
---|---|
java.lang.Object |
getElementAt(int index)
|
int |
getSize()
|
void |
itemAdded(int index)
Notifies the LyListComponent that a row has been added. |
void |
itemRemoved(int index)
Notifies the LyListComponent that a row has been removed. |
void |
listUpdated(int oldSize,
int newSize)
Notifies the LyListComponent that the data has totally changed. |
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 LyJListComponent._LyJListModel()
Method Detail |
---|
public java.lang.Object getElementAt(int index)
public int getSize()
public void itemAdded(int index)
index
- the index of the new rowpublic void itemRemoved(int index)
index
- the index of the new rowpublic void listUpdated(int oldSize, int newSize)
oldSize
- the old size of the listnewSize
- the new size of the list
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |