@Singleton public class DeviceList extends AbstractTableModel implements List<Device>
Modifier and Type | Class and Description |
---|---|
static class |
DeviceList.Columns |
listenerList
Constructor and Description |
---|
DeviceList(MidiSettings midiSettings) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Device e) |
void |
add(int index,
Device element) |
boolean |
addAll(Collection<? extends Device> c) |
boolean |
addAll(int index,
Collection<? extends Device> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
Device |
get(int index) |
Class<?> |
getColumnClass(int c) |
int |
getColumnCount() |
String |
getColumnName(int col) |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isCellEditable(int row,
int col) |
boolean |
isEmpty() |
Iterator<Device> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Device> |
listIterator() |
ListIterator<Device> |
listIterator(int index) |
Device |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
Device |
set(int index,
Device element) |
void |
setValueAt(Object value,
int row,
int col) |
int |
size() |
List<Device> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
@Inject public DeviceList(MidiSettings midiSettings)
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public int getRowCount()
getRowCount
in interface TableModel
public Class<?> getColumnClass(int c)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public Object getValueAt(int row, int col)
getValueAt
in interface TableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object value, int row, int col)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<Device>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Device>
containsAll
in interface List<Device>
public ListIterator<Device> listIterator()
listIterator
in interface List<Device>
public Object[] toArray()
public ListIterator<Device> listIterator(int index)
listIterator
in interface List<Device>
public <T> T[] toArray(T[] a)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public boolean add(Device e)
public boolean remove(Object o)
public boolean equals(Object o)
public void clear()
public boolean addAll(Collection<? extends Device> c)
public boolean addAll(int index, Collection<? extends Device> c)
Copyright © 2014. All Rights Reserved.