de.mindcrimeilab.xsanalyzer.model
Class SimilarTypesListModelAdapter

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by de.mindcrimeilab.xsanalyzer.model.SimilarTypesListModelAdapter
All Implemented Interfaces:
Serializable, ListModel

public class SimilarTypesListModelAdapter
extends AbstractListModel
implements ListModel

Adapts the Map of similar types to a ListModel.

Version:
$Revision: 167 $
Author:
Michael Engelhardt, $Author: agony $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
SimilarTypesListModelAdapter(Map<String,? extends org.apache.xerces.xs.XSObjectList> similarTypes)
          ctor()
 
Method Summary
 Object getElementAt(int index)
           
 int getSize()
           
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Constructor Detail

SimilarTypesListModelAdapter

public SimilarTypesListModelAdapter(Map<String,? extends org.apache.xerces.xs.XSObjectList> similarTypes)
ctor()

Parameters:
similarTypes - Map of similar types.
Method Detail

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel

getSize

public int getSize()
Specified by:
getSize in interface ListModel


Copyright © 2010. All Rights Reserved.