bibliothek.gui.dock.common.intern
Enum DefaultCDockable.Permissions

java.lang.Object
  extended by java.lang.Enum<DefaultCDockable.Permissions>
      extended by bibliothek.gui.dock.common.intern.DefaultCDockable.Permissions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DefaultCDockable.Permissions>
Enclosing class:
DefaultCDockable

public static enum DefaultCDockable.Permissions
extends java.lang.Enum<DefaultCDockable.Permissions>

Describes what the user can do with the enclosing DefaultCDockable.
A name like X_Y tells, that feature X and feature Y are available. The features are:

Author:
Benjamin Sigg

Enum Constant Summary
ALL
          all permissions
CLOSE
           
DEFAULT
          all permissions except close
EXT
           
EXT_CLOSE
           
EXT_STACK
           
MAX
           
MAX_CLOSE
           
MAX_EXT
           
MAX_EXT_CLOSE
           
MAX_EXT_STACK
           
MAX_EXT_STACK_CLOSE
           
MAX_STACK
           
MAX_STACK_CLOSE
           
MIN
           
MIN_CLOSE
           
MIN_EXT
           
MIN_EXT_CLOSE
           
MIN_EXT_STACK
           
MIN_EXT_STACK_CLOSE
           
MIN_MAX
           
MIN_MAX_CLOSE
           
MIN_MAX_EXT
           
MIN_MAX_EXT_CLOSE
           
MIN_MAX_EXT_STACK
           
MIN_MAX_EXT_STACK_CLOSE
           
MIN_MAX_STACK
           
MIN_MAX_STACK_CLOSE
           
MIN_STACK
           
MIN_STACK_CLOSE
           
NONE
          no permissions at all
STACK
           
STACK_CLOSE
           
 
Method Summary
 boolean isCloseable()
          Represents the property DefaultCDockable.isCloseable().
 boolean isExternalizable()
          Represents the property DefaultCDockable.isExternalizable().
 boolean isMaximizable()
          Represents the property DefaultCDockable.isMaximizable().
 boolean isMinimizable()
          Represents the property DefaultCDockable.isMinimizable().
 boolean isStackable()
          Represents the property DefaultCDockable.isStackable().
static DefaultCDockable.Permissions valueOf(java.lang.String name)
          Returns 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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final DefaultCDockable.Permissions NONE
no permissions at all


ALL

public static final DefaultCDockable.Permissions ALL
all permissions


DEFAULT

public static final DefaultCDockable.Permissions DEFAULT
all permissions except close


MIN

public static final DefaultCDockable.Permissions MIN

MAX

public static final DefaultCDockable.Permissions MAX

EXT

public static final DefaultCDockable.Permissions EXT

STACK

public static final DefaultCDockable.Permissions STACK

CLOSE

public static final DefaultCDockable.Permissions CLOSE

MIN_MAX

public static final DefaultCDockable.Permissions MIN_MAX

MIN_EXT

public static final DefaultCDockable.Permissions MIN_EXT

MIN_STACK

public static final DefaultCDockable.Permissions MIN_STACK

MIN_CLOSE

public static final DefaultCDockable.Permissions MIN_CLOSE

MAX_EXT

public static final DefaultCDockable.Permissions MAX_EXT

MAX_STACK

public static final DefaultCDockable.Permissions MAX_STACK

MAX_CLOSE

public static final DefaultCDockable.Permissions MAX_CLOSE

EXT_STACK

public static final DefaultCDockable.Permissions EXT_STACK

EXT_CLOSE

public static final DefaultCDockable.Permissions EXT_CLOSE

STACK_CLOSE

public static final DefaultCDockable.Permissions STACK_CLOSE

MIN_MAX_EXT

public static final DefaultCDockable.Permissions MIN_MAX_EXT

MIN_MAX_STACK

public static final DefaultCDockable.Permissions MIN_MAX_STACK

MIN_MAX_CLOSE

public static final DefaultCDockable.Permissions MIN_MAX_CLOSE

MIN_EXT_STACK

public static final DefaultCDockable.Permissions MIN_EXT_STACK

MIN_EXT_CLOSE

public static final DefaultCDockable.Permissions MIN_EXT_CLOSE

MIN_STACK_CLOSE

public static final DefaultCDockable.Permissions MIN_STACK_CLOSE

MAX_EXT_STACK

public static final DefaultCDockable.Permissions MAX_EXT_STACK

MAX_EXT_CLOSE

public static final DefaultCDockable.Permissions MAX_EXT_CLOSE

MAX_STACK_CLOSE

public static final DefaultCDockable.Permissions MAX_STACK_CLOSE

MIN_MAX_EXT_STACK

public static final DefaultCDockable.Permissions MIN_MAX_EXT_STACK

MIN_MAX_EXT_CLOSE

public static final DefaultCDockable.Permissions MIN_MAX_EXT_CLOSE

MIN_MAX_STACK_CLOSE

public static final DefaultCDockable.Permissions MIN_MAX_STACK_CLOSE

MIN_EXT_STACK_CLOSE

public static final DefaultCDockable.Permissions MIN_EXT_STACK_CLOSE

MAX_EXT_STACK_CLOSE

public static final DefaultCDockable.Permissions MAX_EXT_STACK_CLOSE

MIN_MAX_EXT_STACK_CLOSE

public static final DefaultCDockable.Permissions MIN_MAX_EXT_STACK_CLOSE
Method Detail

values

public static final DefaultCDockable.Permissions[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DefaultCDockable.Permissions c : DefaultCDockable.Permissions.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DefaultCDockable.Permissions valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

isCloseable

public boolean isCloseable()
Represents the property DefaultCDockable.isCloseable().

Returns:
true if the user can close the dockable

isExternalizable

public boolean isExternalizable()
Represents the property DefaultCDockable.isExternalizable().

Returns:
true if the user can externalize the dockable

isMaximizable

public boolean isMaximizable()
Represents the property DefaultCDockable.isMaximizable().

Returns:
true if the user can maximize the dockable

isMinimizable

public boolean isMinimizable()
Represents the property DefaultCDockable.isMinimizable().

Returns:
true if the user can minimize the dockable

isStackable

public boolean isStackable()
Represents the property DefaultCDockable.isStackable().

Returns:
true if the user can combine the dockable with other dockables