org.graffiti.plugin.view.interactive
Class SlotEditorComponentBuilder<T>

java.lang.Object
  extended by org.graffiti.plugin.view.interactive.SlotEditorComponentBuilder<T>
Type Parameters:
T - the type of the observed values for which the components are to be created.

public abstract class SlotEditorComponentBuilder<T>
extends Object

Common base class of objects that create components for Observables in order to graphically edit the value of a parameter slot.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
Slot.getBuilder()

Constructor Summary
SlotEditorComponentBuilder()
           
 
Method Summary
abstract  JComponent createComponent(Observable<T> binding)
          Creates a new component that automatically displays and modifies the specified observed value in order to allow for the graphical editing of the value of a parameter slot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotEditorComponentBuilder

public SlotEditorComponentBuilder()
Method Detail

createComponent

public abstract JComponent createComponent(Observable<T> binding)
Creates a new component that automatically displays and modifies the specified observed value in order to allow for the graphical editing of the value of a parameter slot. In terms of MVC, the returned component acts as the view and controller, while the model is represented by the parameter slot.

Parameters:
binding - an observed value that reflects the value that is assigned to a parameter slot.
Returns:
a new component that automatically displays and modifies the specified observed value.
See Also:
Slot.getBuilder()


Generated at 2012-05-30 11:00:36 PM CEST