Module org.autogui

Class GuiSwingLogList.GuiSwingLogListModel

java.lang.Object
javax.swing.AbstractListModel<GuiLogEntry>
org.autogui.swing.log.GuiSwingLogList.GuiSwingLogListModel
All Implemented Interfaces:
Serializable, ListModel<GuiLogEntry>
Enclosing class:
GuiSwingLogList

public static class GuiSwingLogList.GuiSwingLogListModel extends AbstractListModel<GuiLogEntry>
the list model for the log-list component
See Also:
  • Field Details

    • entryLimit

      protected int entryLimit
    • entries

      protected List<GuiLogEntry> entries
    • highPriorityActives

      protected int highPriorityActives
  • Constructor Details

    • GuiSwingLogListModel

      public GuiSwingLogListModel()
  • Method Details

    • getEntryLimit

      public int getEntryLimit()
    • setEntryLimit

      public void setEntryLimit(int entryLimit)
    • getEntries

      public List<GuiLogEntry> getEntries()
    • indexOfElement

      public int indexOfElement(GuiLogEntry e)
    • getSize

      public int getSize()
    • getElementAt

      public GuiLogEntry getElementAt(int index)
    • getRowCount

      public int getRowCount()
    • getColumnCount

      public int getColumnCount()
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
    • hasActiveEntries

      public boolean hasActiveEntries()
    • fireTableDataChanged

      public void fireTableDataChanged()
    • fireRowChanged

      public void fireRowChanged(GuiLogEntry entry)
    • fireRowChangedAt

      public void fireRowChangedAt(int i)
    • contains

      public boolean contains(GuiLogEntry entry)
    • addLogEntry

      public GuiSwingLogList.LogListInsertResult addLogEntry(GuiLogEntry entry, boolean lowPriority)
    • fireTableRowsInserted

      public void fireTableRowsInserted(int from, int to)
    • removeInactiveEntries

      public void removeInactiveEntries()
    • clearEntries

      public void clearEntries()