public static final class CommanderPanel.MyModel extends javax.swing.AbstractListModel implements AbstractListBuilder.Model
Constructor and Description |
---|
MyModel() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(java.lang.Object obj) |
java.lang.Object |
getElementAt(int index) |
int |
getSize() |
int |
indexOf(java.lang.Object o) |
void |
removeAllElements() |
void |
replaceElements(java.util.List newElements) |
java.lang.Object[] |
toArray() |
public void removeAllElements()
removeAllElements
in interface AbstractListBuilder.Model
public void addElement(java.lang.Object obj)
addElement
in interface AbstractListBuilder.Model
public void replaceElements(java.util.List newElements)
replaceElements
in interface AbstractListBuilder.Model
public java.lang.Object[] toArray()
toArray
in interface AbstractListBuilder.Model
public int indexOf(java.lang.Object o)
indexOf
in interface AbstractListBuilder.Model
public int getSize()
getSize
in interface AbstractListBuilder.Model
getSize
in interface javax.swing.ListModel
public java.lang.Object getElementAt(int index)
getElementAt
in interface AbstractListBuilder.Model
getElementAt
in interface javax.swing.ListModel