edu.isi.powerloom.gui.components
Class PLListModel

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--edu.isi.powerloom.gui.components.PLListModel
All Implemented Interfaces:
javax.swing.ComboBoxModel, javax.swing.ListModel, java.io.Serializable

public class PLListModel
extends javax.swing.AbstractListModel
implements javax.swing.ComboBoxModel

List model for holding PLObjects.

Since:
Sun Mar 03 22:41:12 2002
Author:
Eric Melz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
PLListModel(PLList theObject)
           
PLListModel(PLModule module, PLList theObject)
           
 
Method Summary
 void addPLObject(PLObject object)
           
 java.lang.Object getElementAt(int i)
           
 PLModule getModule()
           
 PLList getPLList()
           
 java.lang.Object getSelectedItem()
          Insert the method's description here.
 int getSize()
           
 void refreshList()
           
 void removePLObject(PLObject object)
          Insert the method's description here.
 void setModule(PLModule module)
           
 void setSelectedItem(java.lang.Object object)
          Insert the method's description here.
 
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

PLListModel

public PLListModel(PLModule module,
                   PLList theObject)

PLListModel

public PLListModel(PLList theObject)
Method Detail

setModule

public void setModule(PLModule module)

getModule

public PLModule getModule()

addPLObject

public void addPLObject(PLObject object)

getElementAt

public java.lang.Object getElementAt(int i)
Specified by:
getElementAt in interface javax.swing.ListModel

getPLList

public PLList getPLList()

getSelectedItem

public java.lang.Object getSelectedItem()
Insert the method's description here. Creation date: (4/11/2002 6:06:23 PM)

Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
Returns:
java.lang.Object

getSize

public int getSize()
Specified by:
getSize in interface javax.swing.ListModel

removePLObject

public void removePLObject(PLObject object)
Insert the method's description here. Creation date: (4/12/2002 1:24:46 PM)

Parameters:
object - edu.isi.powerloom.gui.xmlobject.PLObject

setSelectedItem

public void setSelectedItem(java.lang.Object object)
Insert the method's description here. Creation date: (4/11/2002 6:04:41 PM)

Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel
Parameters:
object - java.lang.Object

refreshList

public void refreshList()


Copyright © 2002 University of Southern California Information Sciences Institute. All Rights Reserved.