|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.screen.window.DefaultScreenDockWindowConfiguration
public class DefaultScreenDockWindowConfiguration
The default implementation of ScreenDockWindowConfiguration always returns null
from its getConfiguration(ScreenDockStation, Dockable) method, thus telling the ScreenDockStation
to use a default configuration.
This configuration offers an extension point, any configuration added through
that point will be asked first for a configuration before returning the default value.
| Field Summary | |
|---|---|
static Path |
CONFIGURATION_EXTENSION
name of an ExtensionName for adding additional ScreenDockWindowConfigurations |
static String |
CONFIGURATION_EXTENSION_PARAM
a parameter pointing to this. |
| Constructor Summary | |
|---|---|
DefaultScreenDockWindowConfiguration(DockController controller)
Creates a new configuration. |
|
| Method Summary | |
|---|---|
WindowConfiguration |
getConfiguration(ScreenDockStation station,
Dockable dockable)
Creates a new configuration for a ScreenDockWindow that is going to show
dockable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Path CONFIGURATION_EXTENSION
ExtensionName for adding additional ScreenDockWindowConfigurations
public static final String CONFIGURATION_EXTENSION_PARAM
this.
| Constructor Detail |
|---|
public DefaultScreenDockWindowConfiguration(DockController controller)
controller - used to load extension, can be null| Method Detail |
|---|
public 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, altough 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 shown
null if a default configuration should be used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||