Package org.apache.bcel.verifier
Class VerifierFactoryListModel
- java.lang.Object
-
- org.apache.bcel.verifier.VerifierFactoryListModel
-
- All Implemented Interfaces:
javax.swing.ListModel<java.lang.String>
,VerifierFactoryObserver
public class VerifierFactoryListModel extends java.lang.Object implements VerifierFactoryObserver, javax.swing.ListModel<java.lang.String>
This class implements an adapter; it implements both a Swing ListModel and a VerifierFactoryObserver.
-
-
Constructor Summary
Constructors Constructor Description VerifierFactoryListModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListDataListener(javax.swing.event.ListDataListener l)
java.lang.String
getElementAt(int index)
int
getSize()
void
removeListDataListener(javax.swing.event.ListDataListener l)
void
update(java.lang.String s)
VerifierFactoryObserver instances are notified invoking this method.
-
-
-
Method Detail
-
update
public void update(java.lang.String s)
Description copied from interface:VerifierFactoryObserver
VerifierFactoryObserver instances are notified invoking this method. The String argument is the fully qualified class name of a class a new Verifier instance created by the VerifierFactory operates on.- Specified by:
update
in interfaceVerifierFactoryObserver
-
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interfacejavax.swing.ListModel<java.lang.String>
-
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interfacejavax.swing.ListModel<java.lang.String>
-
getSize
public int getSize()
- Specified by:
getSize
in interfacejavax.swing.ListModel<java.lang.String>
-
getElementAt
public java.lang.String getElementAt(int index)
- Specified by:
getElementAt
in interfacejavax.swing.ListModel<java.lang.String>
-
-