Enum ComponentType

java.lang.Object
java.lang.Enum<ComponentType>
com.solibri.smc.api.model.ComponentType
All Implemented Interfaces:
Serializable, Comparable<ComponentType>, java.lang.constant.Constable

public enum ComponentType
extends Enum<ComponentType>
This enumeration contains the various entity types.
Since:
9.10.2
  • Enum Constant Details

  • Method Details

    • values

      public static ComponentType[] 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 ComponentType 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
    • getIcon

      public Icon getIcon()
      Returns the icon of this component type. The same icons are used in Solibri's UI.
      Returns:
      the icon
      Since:
      9.12.0