Enum DefaultCDockable.Permissions
java.lang.Object
java.lang.Enum<DefaultCDockable.Permissions>
bibliothek.gui.dock.common.intern.DefaultCDockable.Permissions
- All Implemented Interfaces:
Serializable,Comparable<DefaultCDockable.Permissions>,java.lang.constant.Constable
- Enclosing class:
DefaultCDockable
Describes what the user can do with the enclosing
A name like
DefaultCDockable.A name like
X_Y tells, that feature X and
feature Y are available. The features are:
- MIN: whether the dockable can be minimized
- MAX: whether the dockable can be maximized
- EXT: whether the dockable can be externalized
- STACK: whether the dockable can be combined with other dockables, this feature normally should be allowed.
- CLOSE: whether the dockable can be closed by the user through an action (normally a "x" in the right corner of the title)
- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionall permissionsall permissions except closeno permissions at all -
Method Summary
Modifier and TypeMethodDescriptionbooleanRepresents the propertyDefaultCDockable.isCloseable().booleanRepresents the propertyDefaultCDockable.isExternalizable().booleanRepresents the propertyDefaultCDockable.isMaximizable().booleanRepresents the propertyDefaultCDockable.isMinimizable().booleanRepresents the propertyDefaultCDockable.isStackable().static DefaultCDockable.PermissionsReturns the enum constant of this type with the specified name.static DefaultCDockable.Permissions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
no permissions at all -
ALL
all permissions -
DEFAULT
all permissions except close -
MIN
-
MAX
-
EXT
-
STACK
-
CLOSE
-
MIN_MAX
-
MIN_EXT
-
MIN_STACK
-
MIN_CLOSE
-
MAX_EXT
-
MAX_STACK
-
MAX_CLOSE
-
EXT_STACK
-
EXT_CLOSE
-
STACK_CLOSE
-
MIN_MAX_EXT
-
MIN_MAX_STACK
-
MIN_MAX_CLOSE
-
MIN_EXT_STACK
-
MIN_EXT_CLOSE
-
MIN_STACK_CLOSE
-
MAX_EXT_STACK
-
MAX_EXT_CLOSE
-
MAX_STACK_CLOSE
-
MIN_MAX_EXT_STACK
-
MIN_MAX_EXT_CLOSE
-
MIN_MAX_STACK_CLOSE
-
MIN_EXT_STACK_CLOSE
-
MAX_EXT_STACK_CLOSE
-
MIN_MAX_EXT_STACK_CLOSE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isCloseable
public boolean isCloseable()Represents the propertyDefaultCDockable.isCloseable().- Returns:
trueif the user can close the dockable
-
isExternalizable
public boolean isExternalizable()Represents the propertyDefaultCDockable.isExternalizable().- Returns:
trueif the user can externalize the dockable
-
isMaximizable
public boolean isMaximizable()Represents the propertyDefaultCDockable.isMaximizable().- Returns:
trueif the user can maximize the dockable
-
isMinimizable
public boolean isMinimizable()Represents the propertyDefaultCDockable.isMinimizable().- Returns:
trueif the user can minimize the dockable
-
isStackable
public boolean isStackable()Represents the propertyDefaultCDockable.isStackable().- Returns:
trueif the user can combine the dockable with other dockables
-