public interface DockComponentManager
DockComponentRoots of one DockController.| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(Filter<DockComponentRoot> filter,
DockComponentConfiguration configuration)
Adds a new configuration, the configuration is only applied if
filter includes a DockComponentRoot, and
if no other configuration was applied |
void |
register(DockComponentRoot root)
Adds
root to the list of known DockComponentRoots, informs all listeners and applies a configuration
to root. |
void |
removeConfiguration(DockComponentConfiguration configuration)
Removes
configuration from the list of configurations. |
void |
setDefaultConfiguration(DockComponentConfiguration configuration)
Sets the default configuration which is to be used if no other configuration is found.
|
void |
unregister(DockComponentRoot root)
Removes
root from the list of known DockComponentRoots. |
void setDefaultConfiguration(DockComponentConfiguration configuration)
configuration - the default configuration, may be nullvoid addConfiguration(Filter<DockComponentRoot> filter, DockComponentConfiguration configuration)
filter includes a DockComponentRoot, and
if no other configuration was appliedfilter - the condition telling where to apply the configuration, not nullconfiguration - the new configuration, not nullvoid removeConfiguration(DockComponentConfiguration configuration)
configuration from the list of configurations. If configuration was added more than once,
then only the first occurrence will be removed.configuration - the configuration that should no longer be appliedvoid register(DockComponentRoot root)
root to the list of known DockComponentRoots, informs all listeners and applies a configuration
to root.root - the new root, not nullvoid unregister(DockComponentRoot root)
root from the list of known DockComponentRoots.root - the root to removeCopyright © 2017 Docking Frames. All rights reserved.