bibliothek.gui.dock.station.stack
Class StackDockComponentRepresentative

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.StackDockComponentRepresentative

public class StackDockComponentRepresentative
extends java.lang.Object

This utility class keeps track of the current DockElementRepresentative that is created by a StackDockComponent. It also registers the representative at a DockController.

Author:
Benjamin Sigg

Constructor Summary
StackDockComponentRepresentative()
           
 
Method Summary
 void setComponent(StackDockComponent component)
          Sets the factory that creates new DockElementRepresentatives.
 void setController(DockController controller)
          Sets the controller to which new DockElementRepresentatives should be added.
 void setTarget(DockElement target)
          Sets the target to which new DockElementRepresentatives point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackDockComponentRepresentative

public StackDockComponentRepresentative()
Method Detail

setComponent

public void setComponent(StackDockComponent component)
Sets the factory that creates new DockElementRepresentatives.

Parameters:
component - the new factory, can be null

setController

public void setController(DockController controller)
Sets the controller to which new DockElementRepresentatives should be added.

Parameters:
controller - the new controller, can be null

setTarget

public void setTarget(DockElement target)
Sets the target to which new DockElementRepresentatives point.

Parameters:
target - the new target, can be null