Package com.independentsoft.office.odf.styles

# Enum Class ProtectType

java.lang.Object
java.lang.Enum<ProtectType>
com.independentsoft.office.odf.styles.ProtectType

All Implemented Interfaces:
  `Serializable`, `Comparable<ProtectType>`, `Constable`

public enum ProtectType extends Enum<ProtectType>
Represents whether the content, size, or position of a frame is protected.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `CONTENT`
  Content of a frame should be protected from editing.
  `CONTENT_POSITION`
  Content and the position of a frame should be protected from editing.
  `CONTENT_POSITION_SIZE`
  The content, size and position of a frame should be subject to editing.
  `CONTENT_SIZE`
  Content and the size of a frame should be protected from editing.
  `NONE`
  None.
  `POSITION`
  The position of a frame should be protected from editing.
  `POSITION_SIZE`
  Position and the size of a frame should be protected from editing.
  `SIZE`
  The size of a frame should be protected from editing.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ProtectType`
  `valueOf​(String name)`
  Returns the enum constant of this class with the specified name.
  `static ProtectType[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### CONTENT

    public static final ProtectType CONTENT
    Content of a frame should be protected from editing.

  - ### POSITION

    public static final ProtectType POSITION
    The position of a frame should be protected from editing.

  - ### SIZE

    public static final ProtectType SIZE
    The size of a frame should be protected from editing.

  - ### CONTENT_POSITION

    public static final ProtectType CONTENT_POSITION
    Content and the position of a frame should be protected from editing.

  - ### CONTENT_SIZE

    public static final ProtectType CONTENT_SIZE
    Content and the size of a frame should be protected from editing.

  - ### POSITION_SIZE

    public static final ProtectType POSITION_SIZE
    Position and the size of a frame should be protected from editing.

  - ### CONTENT_POSITION_SIZE

    public static final ProtectType CONTENT_POSITION_SIZE
    The content, size and position of a frame should be subject to editing.

  - ### NONE

    public static final ProtectType NONE
    None.

- ## Method Details

  - ### values

    public static ProtectType[] values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static ProtectType valueOf​(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      `NullPointerException` - if the argument is null