public class DockablePaneState extends Object implements Mergeable, Cloneable, Serializable
WebDockablePane
state holder.WebDockablePane
,
How to use SettingsManager,
DockablePaneSettingsProcessor
,
UISettingsManager
,
SettingsManager
,
SettingsProcessor
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected DockableContainer |
root
WebDockablePane root element. |
Constructor and Description |
---|
DockablePaneState()
Constructs default
DockablePaneState . |
DockablePaneState(DockableContainer root)
Constructs new
DockablePaneState with specified settings. |
DockablePaneState(WebDockablePane dockablePane)
Constructs new
DockablePaneState with settings from WebDockablePane . |
Modifier and Type | Method and Description |
---|---|
void |
apply(WebDockablePane dockablePane)
Applies this
DockablePaneState to the specified WebDockablePane . |
DockableContainer |
root()
Returns
WebDockablePane root element. |
@Nullable @XStreamAsAttribute protected final DockableContainer root
WebDockablePane
root element.public DockablePaneState()
DockablePaneState
.public DockablePaneState(@NotNull WebDockablePane dockablePane)
DockablePaneState
with settings from WebDockablePane
.dockablePane
- WebDockablePane
to retrieve settings frompublic DockablePaneState(@Nullable DockableContainer root)
DockablePaneState
with specified settings.root
- WebDockablePane
root element@Nullable public DockableContainer root()
WebDockablePane
root element.WebDockablePane
root elementpublic void apply(@NotNull WebDockablePane dockablePane)
DockablePaneState
to the specified WebDockablePane
.dockablePane
- WebDockablePane
to apply this DockablePaneState
toCopyright © 2020. All rights reserved.