java.lang.Object
javax.swing.AbstractListModel<GuiLogEntry>
org.autogui.swing.log.GuiSwingLogList.GuiSwingLogListModel
- All Implemented Interfaces:
Serializable,ListModel<GuiLogEntry>
- Enclosing class:
GuiSwingLogList
the list model for the log-list component
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLogEntry(GuiLogEntry entry, boolean lowPriority) voidbooleancontains(GuiLogEntry entry) voidfireRowChanged(GuiLogEntry entry) voidfireRowChangedAt(int i) voidvoidfireTableRowsInserted(int from, int to) intgetElementAt(int index) intintintgetSize()getValueAt(int rowIndex, int columnIndex) booleanintvoidvoidsetEntryLimit(int entryLimit) Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Field Details
-
entryLimit
protected int entryLimit -
entries
-
highPriorityActives
protected int highPriorityActives
-
-
Constructor Details
-
GuiSwingLogListModel
public GuiSwingLogListModel()
-
-
Method Details
-
getEntryLimit
public int getEntryLimit() -
setEntryLimit
public void setEntryLimit(int entryLimit) -
getEntries
-
indexOfElement
-
getSize
public int getSize() -
getElementAt
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getValueAt
-
hasActiveEntries
public boolean hasActiveEntries() -
fireTableDataChanged
public void fireTableDataChanged() -
fireRowChanged
-
fireRowChangedAt
public void fireRowChangedAt(int i) -
contains
-
addLogEntry
-
fireTableRowsInserted
public void fireTableRowsInserted(int from, int to) -
removeInactiveEntries
public void removeInactiveEntries() -
clearEntries
public void clearEntries()
-