All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class openstar.generic.ModelSelection

java.lang.Object
   |
   +----openstar.generic.ModelSelection

public class ModelSelection
extends Object
implements EventDelivery
Generic model selection class.

A model selection is the description of an arbitrary subset of a specific model instance. Because nothing is known about the internal structure of models at this generic level, all details of a model selection must be represented through classes that are derived from this class.

As with models, interested parties may register with a selection to get notified of any changes in the selection.

Version:
16 Jun 1997
Author:
Nils Schwabe

Variable Index

 o model
The model of this model selection.
 o support

Constructor Index

 o ModelSelection(Model)

Method Index

 o addModelSelectionListener(ModelSelectionListener)
 o deliverEvent(EventListener, Event)
 o fireModelSelection()
Fires a ModelSelectionEvent to all registered listeners.
 o fireModelSelection(Object)
Fires a ModelSelectionEvent to all registered listeners.
 o getModel()
 o removeModelSelectionListener(ModelSelectionListener)

Variables

 o model
  protected Model model
The model of this model selection.

 o support
  protected EventSupport support

Constructors

 o ModelSelection
  public ModelSelection(Model model)

Methods

 o getModel
  public Model getModel()
 o addModelSelectionListener
  public void addModelSelectionListener(ModelSelectionListener listener)
 o removeModelSelectionListener
  public void removeModelSelectionListener(ModelSelectionListener listener)
 o fireModelSelection
  public void fireModelSelection(Object source)
Fires a ModelSelectionEvent to all registered listeners.

 o fireModelSelection
  protected void fireModelSelection()
Fires a ModelSelectionEvent to all registered listeners.

 o deliverEvent
  public void deliverEvent(EventListener target,
                           Event event)

All Packages  Class Hierarchy  This Package  Previous  Next  Index