@Deprecated public enum WindowParams extends java.lang.Enum<WindowParams>
WindowManager.
Some of the parameters are intended for use by application code, others affect low-level window opening behaviour.| Enum Constant and Description |
|---|
CAPTION
Deprecated.
Window caption that can be set by controller in its
init method. |
DESCRIPTION
Deprecated.
Window description that can be set by controller in its
init method. |
DISABLE_APPLY_SETTINGS
Deprecated.
Disables window settings applying after showing a window.
|
DISABLE_AUTO_REFRESH
Deprecated.
Prevents datasources from automatic refresh caused by visual components.
|
DISABLE_RESUME_SUSPENDED
Deprecated.
Disables suspendable datasources resuming after showing a window.
|
FOLDER_ID
Deprecated.
Folder's UUID if the screen is opening from
FoldersPane. |
ITEM
Deprecated.
Entity instance which is passed to an editor's controller
init method from WindowManager. |
MULTI_SELECT
Deprecated.
If this parameter is set, a lookup screen can set up its lookup component (usually Table) for multi-selection.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(FrameContext context)
Deprecated.
Get value from the WindowContext.
|
<T> T |
get(java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Get value from the parameters map.
|
boolean |
getBool(FrameContext context)
Deprecated.
Get boolean value from the WindowContext.
|
Entity |
getEntity(java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Get Entity value from the parameters map.
|
java.lang.String |
getString(FrameContext context)
Deprecated.
Get string value from the WindowContext.
|
java.lang.String |
getString(java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Get string value from the parameters map.
|
java.util.UUID |
getUuid(java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Get UUID value from the parameters map.
|
void |
set(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Object value)
Deprecated.
Set value in the parameters map.
|
static WindowParams |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static WindowParams[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowParams ITEM
init method from WindowManager.public static final WindowParams FOLDER_ID
FoldersPane.public static final WindowParams CAPTION
init method.public static final WindowParams DESCRIPTION
init method.
Description is shown as window tab tooltip.public static final WindowParams MULTI_SELECT
public static final WindowParams DISABLE_AUTO_REFRESH
public static final WindowParams DISABLE_APPLY_SETTINGS
public static final WindowParams DISABLE_RESUME_SUSPENDED
public static WindowParams[] values()
for (WindowParams c : WindowParams.values()) System.out.println(c);
public static WindowParams valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean getBool(@Nullable
FrameContext context)
context - window context@Nullable
public java.lang.String getString(@Nullable
FrameContext context)
context - window contextpublic java.lang.String getString(java.util.Map<java.lang.String,java.lang.Object> params)
params - parameters mappublic Entity getEntity(java.util.Map<java.lang.String,java.lang.Object> params)
params - parameters mappublic java.util.UUID getUuid(java.util.Map<java.lang.String,java.lang.Object> params)
params - parameters map@Nullable
public <T> T get(@Nullable
FrameContext context)
context - window contextpublic <T> T get(java.util.Map<java.lang.String,java.lang.Object> params)
params - parameters mappublic void set(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Object value)
params - window parameters mapvalue - parameter value