Enum MapLayerHierarchyEvent.Type

    • Enum Constant Detail

      • REMOVED_FROM_PARENT

        public static final MapLayerHierarchyEvent.Type REMOVED_FROM_PARENT
        The layer was removed from its container. This type of event is received by the removed layer.
      • ADDED_INTO_PARENT

        public static final MapLayerHierarchyEvent.Type ADDED_INTO_PARENT
        The layer was added into its container. This type of event is received by the removed layer.
      • ADD_CHILD

        public static final MapLayerHierarchyEvent.Type ADD_CHILD
        The layer was added into its container. This type of event is received by the parent of the new layer.
      • REMOVE_CHILD

        public static final MapLayerHierarchyEvent.Type REMOVE_CHILD
        The layer was removed from its container. This type of event is received by the parent of the removed layer.
      • REMOVE_ALL_CHILDREN

        public static final MapLayerHierarchyEvent.Type REMOVE_ALL_CHILDREN
        All the layers are removed from a container. This type of event is received by the parent of the removed layers.
      • MOVE_CHILD_UP

        public static final MapLayerHierarchyEvent.Type MOVE_CHILD_UP
        The order of the children has changed: a child layer has moving up. This type of event is received by the parent of the moveed layer.
      • MOVE_CHILD_DOWN

        public static final MapLayerHierarchyEvent.Type MOVE_CHILD_DOWN
        The order of the children has changed: a child layer has moving down. This type of event is received by the parent of the moveed layer.
      • MOVE_CHILDREN

        public static final MapLayerHierarchyEvent.Type MOVE_CHILDREN
        The order of the children has changed: child layers have moving. This type of event is received by the parent of the moved layer.
    • Method Detail

      • values

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

        public static MapLayerHierarchyEvent.Type valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null