Enum Class TocModelChangedNotification.Type

java.lang.Object
java.lang.Enum<TocModelChangedNotification.Type>
org.gvsig.app.project.documents.layout.TocModelChangedNotification.Type
All Implemented Interfaces:
Serializable, Comparable<TocModelChangedNotification.Type>, Constable
Enclosing interface:
TocModelChangedNotification

public static enum TocModelChangedNotification.Type extends Enum<TocModelChangedNotification.Type>
  • Enum Constant Details

    • MODEL_SET

      public static final TocModelChangedNotification.Type MODEL_SET
      The model (MapContext object) has been set (understood as added, removed or replaced) by a new one, including a null one.
    • MODEL_CHANGED

      public static final TocModelChangedNotification.Type MODEL_CHANGED
      An item has been added or removed to the model (layer added, removed, reordered, etc)
    • ITEM_UPDATED

      public static final TocModelChangedNotification.Type ITEM_UPDATED
      There has been some update on an existing item of the model collection (visibility changed, item selected, etc)
  • Method Details

    • values

      public static TocModelChangedNotification.Type[] 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 TocModelChangedNotification.Type 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