jas.probe
Class MethodsDataModel
java.lang.Object
jas.probe.MethodsDataModel
- All Implemented Interfaces:
- javax.swing.ListModel
public class MethodsDataModel
- extends java.lang.Object
- implements javax.swing.ListModel
Not of interest for users.
A data model used to show the list of methods into the probe.
Title: JAS
Description: Java Agent-based Simulation library
Copyright (C) 2002 Michele Sonnessa
This library is free software; you can redistribute it and/or modify it under the terms
of the GNU Lesser General Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any later version.
This library 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this
library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307, USA.
- Author:
- Michele Sonnessa
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodsDataModel
public MethodsDataModel(java.lang.Object o)
MethodsDataModel
public MethodsDataModel(java.lang.Object o,
boolean privateVariables)
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interface javax.swing.ListModel
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interface javax.swing.ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
invokeMethodAt
public void invokeMethodAt(int index)
invokeMethodAt
public void invokeMethodAt(int index,
java.lang.Object[] params)
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interface javax.swing.ListModel
setDeepLevel
public void setDeepLevel(int level)
setViewPrivate
public void setViewPrivate(boolean privateVariables)
update
public void update()