Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.swing
Class LogList.CustomListModel  view LogList.CustomListModel download LogList.CustomListModel.java

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended bycom.eireneh.swing.LogList.CustomListModel
All Implemented Interfaces:
javax.swing.ListModel, java.io.Serializable
Enclosing class:
LogList

static class LogList.CustomListModel
extends javax.swing.AbstractListModel

Where we store the messages


Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
(package private) LogList.CustomListModel()
           
 
Method Summary
 java.lang.Object getElementAt(int index)
          Returns the value at the specified index.
 int getSize()
          Returns the length of the list.
 void register(LogList.LogLine line)
          Register a new LogLine
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogList.CustomListModel

LogList.CustomListModel()
Method Detail

getSize

public int getSize()
Returns the length of the list.


getElementAt

public java.lang.Object getElementAt(int index)
Returns the value at the specified index.


register

public void register(LogList.LogLine line)
Register a new LogLine