Enum DesktopPanelTag.DragMode

    • Enum Constant Detail

      • LIVE

        public static final DesktopPanelTag.DragMode LIVE
        Constant for the drag mode live. This means that windows are fully painted while they are dragged on the desktop pane.
      • OUTLINE

        public static final DesktopPanelTag.DragMode OUTLINE
        Constant for the drag mode outline. In this mode only a frame is drawn representing the window dragged on the desktop pane.
    • Method Detail

      • values

        public static DesktopPanelTag.DragMode[] 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 (DesktopPanelTag.DragMode c : DesktopPanelTag.DragMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DesktopPanelTag.DragMode 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
      • fromString

        public static DesktopPanelTag.DragMode fromString​(String name)
        Returns the enumeration literal whose name matches the given string. The case does not matter. If no matching literal can be found, null is returned.
        Parameters:
        name - the name of the literal
        Returns:
        the instance representing this value or null if it cannot be found