public class DefaultScreenDockWindowConfiguration extends Object implements ScreenDockWindowConfiguration
ScreenDockWindowConfiguration always returns null
from its getConfiguration(ScreenDockStation, Dockable) method, thus telling the ScreenDockStation
to use a default configuration.extension point, any configuration added through
that point will be asked first for a configuration before returning the default value.| Modifier and Type | Field and Description |
|---|---|
static Path |
CONFIGURATION_EXTENSION
name of an
ExtensionName for adding additional ScreenDockWindowConfigurations |
static String |
CONFIGURATION_EXTENSION_PARAM
a parameter pointing to
this. |
| Constructor and Description |
|---|
DefaultScreenDockWindowConfiguration(DockController controller)
Creates a new configuration.
|
| Modifier and Type | Method and Description |
|---|---|
WindowConfiguration |
getConfiguration(ScreenDockStation station,
Dockable dockable)
Creates a new configuration for a
ScreenDockWindow that is going to show
dockable. |
public static final Path CONFIGURATION_EXTENSION
ExtensionName for adding additional ScreenDockWindowConfigurationspublic static final String CONFIGURATION_EXTENSION_PARAM
this.public DefaultScreenDockWindowConfiguration(DockController controller)
controller - used to load extension, can be nullpublic WindowConfiguration getConfiguration(ScreenDockStation station, Dockable dockable)
ScreenDockWindowConfigurationScreenDockWindow that is going to show
dockable. This configuration is only used to set up the new ScreenDockWindow,
any further modifications will not affect the window. A ScreenDockWindowFactory or a
ScreenDockWindow might ignore some parts or the entire configuration, although the default
implementations all try to follow the configuration.getConfiguration in interface ScreenDockWindowConfigurationstation - the future or current parent of dockabledockable - the element which is going to be shownnull if a default configuration should be usedCopyright © 2017 Docking Frames. All rights reserved.