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
-
ModelSelection()
- Default constructor
-
ModelSelection(Selection)
- Copy constructor.
-
ModelSelection(Serializable, String)
- Construct a selection.
-
clone()
- Clone the selection.
-
getData()
- Returns the piece of data that represents selection in the model
-
getModel()
- Return the model.
-
setData(Object)
- Set an arbitrary piece of data that represents the selection in the model
-
setModel(Serializable)
- Set the selection's data model.
ModelSelection
public ModelSelection()
- Default constructor
ModelSelection
public ModelSelection(Serializable model,
String presentationName)
- Construct a selection.
- Parameters:
- model - - data model
ModelSelection
public ModelSelection(Selection selection)
- Copy constructor.
clone
public Object clone()
- Clone the selection.
- Overrides:
- clone in class AbstractSelection
getModel
public Serializable getModel()
- Return the model.
setModel
public void setModel(Serializable model)
- Set the selection's data model. This fires a selection change event
setData
public void setData(Object newData)
- Set an arbitrary piece of data that represents the selection in the model
- Overrides:
- setData in class AbstractSelection
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