Package org.apache.bcel.verifier
Class VerifierFactoryListModel
- java.lang.Object
-
- org.apache.bcel.verifier.VerifierFactoryListModel
-
- All Implemented Interfaces:
ListModel<String>,VerifierFactoryObserver
public class VerifierFactoryListModel extends Object implements VerifierFactoryObserver, ListModel<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 voidaddListDataListener(ListDataListener l)StringgetElementAt(int index)intgetSize()voidremoveListDataListener(ListDataListener l)voidupdate(String s)VerifierFactoryObserver instances are notified invoking this method.
-
-
-
Method Detail
-
update
public void update(String s)
Description copied from interface:VerifierFactoryObserverVerifierFactoryObserver 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:
updatein interfaceVerifierFactoryObserver
-
addListDataListener
public void addListDataListener(ListDataListener l)
- Specified by:
addListDataListenerin interfaceListModel<String>
-
removeListDataListener
public void removeListDataListener(ListDataListener l)
- Specified by:
removeListDataListenerin interfaceListModel<String>
-
getElementAt
public String getElementAt(int index)
- Specified by:
getElementAtin interfaceListModel<String>
-
-