org.crosswire.common.swing
Class StackTraceListModel

java.lang.Object
  extended by org.crosswire.common.swing.StackTraceListModel
All Implemented Interfaces:
ListModel

public class StackTraceListModel
extends Object
implements ListModel

To itterate over the full function names.

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: StackTraceListModel.java,v 1.1 2004/04/20 21:16:06 joe Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence, ListModel, JList

Field Summary
private  StackTrace st
           
 
Constructor Summary
StackTraceListModel(StackTrace st)
           
 
Method Summary
 void addListDataListener(ListDataListener li)
          Ignore this because the trace will not change
 Object getElementAt(int index)
          Returns the value at the specified index
 int getSize()
          Returns the length of the list
 void removeListDataListener(ListDataListener li)
          Ignore this because the trace will not change
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

st

private final StackTrace st
Constructor Detail

StackTraceListModel

public StackTraceListModel(StackTrace st)
Parameters:
st -
Method Detail

getSize

public int getSize()
Returns the length of the list

Specified by:
getSize in interface ListModel

getElementAt

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

Specified by:
getElementAt in interface ListModel

addListDataListener

public void addListDataListener(ListDataListener li)
Ignore this because the trace will not change

Specified by:
addListDataListener in interface ListModel

removeListDataListener

public void removeListDataListener(ListDataListener li)
Ignore this because the trace will not change

Specified by:
removeListDataListener in interface ListModel

Copyright ? 2003-2004