All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.webrunner.bab.ModelSelection

java.lang.Object
   |
   +----com.ibm.webrunner.bab.AbstractSelection
           |
           +----com.ibm.webrunner.bab.ModelSelection

public class ModelSelection
extends AbstractSelection
implements Serializable
A Model aware selection bean.

Modification(s) History :
07/31/98 - created

Version:
0.1
See Also:
AbstractSelection

Constructor Index

 o ModelSelection()
Default constructor
 o ModelSelection(Selection)
Copy constructor.
 o ModelSelection(Serializable, String)
Construct a selection.

Method Index

 o clone()
Clone the selection.
 o getData()
Returns the piece of data that represents selection in the model
 o getModel()
Return the model.
 o setData(Object)
Set an arbitrary piece of data that represents the selection in the model
 o setModel(Serializable)
Set the selection's data model.

Constructors

 o ModelSelection
 public ModelSelection()
Default constructor

 o ModelSelection
 public ModelSelection(Serializable model,
                       String presentationName)
Construct a selection.

Parameters:
model - - data model
 o ModelSelection
 public ModelSelection(Selection selection)
Copy constructor.

Methods

 o clone
 public Object clone()
Clone the selection.

Overrides:
clone in class AbstractSelection
 o getModel
 public Serializable getModel()
Return the model.

 o setModel
 public void setModel(Serializable model)
Set the selection's data model. This fires a selection change event

 o setData
 public void setData(Object newData)
Set an arbitrary piece of data that represents the selection in the model

Overrides:
setData in class AbstractSelection
 o getData
 public Object getData()
Returns the piece of data that represents selection in the model

Overrides:
getData in class AbstractSelection

All Packages  Class Hierarchy  This Package  Previous  Next  Index