Package microsim.gui.probe
Class MethodsDataModel
- java.lang.Object
-
- microsim.gui.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
-
-
Constructor Summary
Constructors Constructor Description MethodsDataModel(java.lang.Object o)
MethodsDataModel(java.lang.Object o, boolean privateVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListDataListener(javax.swing.event.ListDataListener l)
java.lang.Object
getElementAt(int index)
int
getSize()
void
invokeMethodAt(int index)
void
invokeMethodAt(int index, java.lang.Object[] params)
void
removeListDataListener(javax.swing.event.ListDataListener l)
void
setDeepLevel(int level)
void
setViewPrivate(boolean privateVariables)
void
update()
-
-
-
Method Detail
-
update
public void update()
-
setViewPrivate
public void setViewPrivate(boolean privateVariables)
-
setDeepLevel
public void setDeepLevel(int level)
-
getSize
public int getSize()
- Specified by:
getSize
in interfacejavax.swing.ListModel
-
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interfacejavax.swing.ListModel
-
invokeMethodAt
public void invokeMethodAt(int index)
-
invokeMethodAt
public void invokeMethodAt(int index, java.lang.Object[] params)
-
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interfacejavax.swing.ListModel
-
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interfacejavax.swing.ListModel
-
-