Enum Class Network.Status

All Implemented Interfaces:
Serializable, Comparable<Network.Status>, Constable
Enclosing class:
Network

public static enum Network.Status extends Enum<Network.Status>
Status of the layout process of networks:
HAS_LAYOUT
network layout complete.
NEEDS_LAYOUT
network does not have a layout.
ADJUST_LAYOUT
network has layout but adjustments requested.
LAYOUT_IN_PROGRESS
layout of network in progress.
NO_LAYOUT
no layout needed (e.g. lattices have predetermined structure).
HAS_MESSAGE
no layout needed; instead of the network a message is displayed (e.g. if no layout available or too many links or nodes).
  • Enum Constant Details

    • HAS_LAYOUT

      public static final Network.Status HAS_LAYOUT
      layout completed
    • NEEDS_LAYOUT

      public static final Network.Status NEEDS_LAYOUT
      layout pending, process not started
    • ADJUST_LAYOUT

      public static final Network.Status ADJUST_LAYOUT
      layout adjustments/improvements requested
    • LAYOUT_IN_PROGRESS

      public static final Network.Status LAYOUT_IN_PROGRESS
      layout in progress
    • NO_LAYOUT

      public static final Network.Status NO_LAYOUT
      no layout needed (e.g. lattices)
    • HAS_MESSAGE

      public static final Network.Status HAS_MESSAGE
      message displayed instead of network
  • Constructor Details

    • Status

      private Status()
  • Method Details

    • values

      public static Network.Status[] 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 Network.Status 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
    • requiresLayout

      public boolean requiresLayout()
      Checks if network requires layout.
      Returns:
      true if layout is required