Enum Class Operator.IconKind

java.lang.Object
java.lang.Enum<Operator.IconKind>
com.streambase.sb.operator.Operator.IconKind
All Implemented Interfaces:
Serializable, Comparable<Operator.IconKind>, Constable
Enclosing class:
Operator

public static enum Operator.IconKind extends Enum<Operator.IconKind>
An enumeration for the different kinds of icons that StreamBase Studio may request when displaying Operators and Adapters.
See Also:
  • Enum Constant Details

    • CANVAS_OVERLAY_ICON

      public static final Operator.IconKind CANVAS_OVERLAY_ICON
      A maximum 24x24 overlay image to be displayed on the bottom-right quadrant of the default StreamBase icon, otherwise an expected 48x48 image is used as the sole icon when displayed on an EventFlow Canvas in Studio.

      The image should be a PNG, GIF, BMP or JPEG, in that order of preference, within the size restrictions described.

      A transparency channel should be used when possible.

      Since:
      6.0 initial release, 6.1 added support for larger than 24x24 images
    • PALETTE_ICON_LARGE

      public static final Operator.IconKind PALETTE_ICON_LARGE
      A maximum 32x32 image that is used to display this Operator or Adapter in a Studio chooser. An input or output adapter overlay icon, if applicable, will be overlayed in the bottom-right quadrant, as a 16x16 image.

      The image should be a 32x32 PNG, GIF, BMP or JPEG, in that order of preference.

      A transparency channel should be used when possible.

      Since:
      6.6 : this icon does not appear directly in the Palette view, but appears in a chooser tree resulting from a Palette drag-and-drop or an Insert menu option
    • PALETTE_ICON_SMALL

      public static final Operator.IconKind PALETTE_ICON_SMALL
      A maximum 16x16 image that is used to display this Operator or Adapter in a Studio chooser. An input or output adapter overlay icon, if applicable, will be overlayed in the bottom-right quadrant, as an 8x8 image.

      The image should be a 16x16 PNG, GIF, BMP or JPEG, in that order of preference.

      A transparency channel should be used when possible.

      Since:
      6.6 : this icon does not appear directly in the Palette view, but appears in a chooser tree resulting from a Palette drag-and-drop or an Insert menu option
  • Method Details

    • values

      public static Operator.IconKind[] 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 Operator.IconKind 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