All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.ide.BuildEventListModel

java.lang.Object
   |
   +----com.sun.java.swing.AbstractListModel
           |
           +----vnr.ide.BuildEventListModel

public class BuildEventListModel
extends AbstractListModel
BuildEvent list model is a list model for a vector of BuildEvents

It's job is to turn the server's (or any other) vector of BuildEvents into something reasonably displayable for a JList

Author:
dIon
See Also:
AbstractListModel

Constructor Index

 o BuildEventListModel()
Create a BuildEventListModel with a null vector
 o BuildEventListModel(Vector)
Create a BuildEventListModel with a vector of BuildEvents as given

Method Index

 o getElementAt(int)
elementAt - abstract method from super class
 o getSize()
getSize - abstract method from super class
 o getTheVector()
 o setTheVector(Vector)

Constructors

 o BuildEventListModel
 public BuildEventListModel()
Create a BuildEventListModel with a null vector

 o BuildEventListModel
 public BuildEventListModel(Vector bel)
Create a BuildEventListModel with a vector of BuildEvents as given

Methods

 o getTheVector
 public Vector getTheVector()
Returns:
the vector - if null set it to a new vector
See Also:
Vector
 o getSize
 public int getSize()
getSize - abstract method from super class

Returns:
the size of the list as an int
Overrides:
getSize in class AbstractListModel
See Also:
getSize
 o getElementAt
 public Object getElementAt(int index)
elementAt - abstract method from super class

Returns:
the element at a given index, a String representing the BuildEvent
Overrides:
getElementAt in class AbstractListModel
See Also:
getElementAt
 o setTheVector
 public void setTheVector(Vector $1)

All Packages  Class Hierarchy  This Package  Previous  Next  Index