public class StackDockComponentRepresentative
extends java.lang.Object
DockElementRepresentative
that is created by a StackDockComponent
. It also registers the representative
at a DockController
.Constructor and Description |
---|
StackDockComponentRepresentative() |
Modifier and Type | Method and Description |
---|---|
void |
setComponent(StackDockComponent component)
Sets the factory that creates new
DockElementRepresentative s. |
void |
setController(DockController controller)
Sets the controller to which new
DockElementRepresentative s should
be added. |
void |
setTarget(DockElement target)
Sets the target to which new
DockElementRepresentative s point. |
public void setComponent(StackDockComponent component)
DockElementRepresentative
s.component
- the new factory, can be null
public void setController(DockController controller)
DockElementRepresentative
s should
be added.controller
- the new controller, can be null
public void setTarget(DockElement target)
DockElementRepresentative
s point.target
- the new target, can be null