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) void
boolean
contains
(GuiLogEntry entry) void
fireRowChanged
(GuiLogEntry entry) void
fireRowChangedAt
(int i) void
void
fireTableRowsInserted
(int from, int to) int
getElementAt
(int index) int
int
int
getSize()
getValueAt
(int rowIndex, int columnIndex) boolean
int
void
void
setEntryLimit
(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()
-