Enum Class ActivityStreamType

java.lang.Object
java.lang.Enum<ActivityStreamType>
com.jbstrap.ui.components.activitystream.ActivityStreamType
All Implemented Interfaces:
Serializable, Comparable<ActivityStreamType>, Constable

public enum ActivityStreamType extends Enum<ActivityStreamType>
Activity Stream component display types
Since:
4.0
Author:
JBStrap
  • Enum Constant Details

    • DEFAULT

      public static final ActivityStreamType DEFAULT
      Default display type. In this type, the individual stream items are under each other, sorted by chronological order. The items won't be grouped in any way.
    • TOPIC_VIEW

      public static final ActivityStreamType TOPIC_VIEW
      The individual stream items are under each other, but the items that are connected, will be grouped under a root item.
  • Method Details

    • values

      public static ActivityStreamType[] 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 ActivityStreamType 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
    • apply

      protected void apply(Component<?> component)
    • remove

      protected void remove(Component<?> component)
    • getStyleClassName

      protected String getStyleClassName()
      Returns:
      The name of the CSS class, that is connected to the display style type