Enum TieMode

java.lang.Object
java.lang.Enum<TieMode>
com.smartgwt.client.types.TieMode
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<TieMode>, Constable

public enum TieMode extends Enum<TieMode> implements ValueEnum
what to do if there is more than one possible childrenProperty when using scanMode "branch" or "level" "node": continue, but pick childrenProperty on a per-node basis (will detect mixed) "highest": continue, picking the childrenProperty that occurred most as the single choice "stop": if there's a tie, stop at this level (assume no further children)
  • Enum Constant Details

    • NODE

      public static final TieMode NODE
      continue, but pick childrenProperty on a per-node basis (will detect mixed)

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "node".

    • HIGHEST

      public static final TieMode HIGHEST
      continue, picking the childrenProperty that occurred most as the single choice

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "highest".

    • STOP

      public static final TieMode STOP
      if there's a tie, stop at this level (assume no further children)

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "stop".

  • Method Details

    • values

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

      public static TieMode 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
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValueEnum