Class ColumnOrder

java.lang.Object
com.jbstrap.ui.bootstrap.ColumnOrder

public final class ColumnOrder extends Object
Supported column order settings.
Since:
4.0
Author:
JBStrap
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(Column component)
     
    The column is displayed as the eighth item for all screen sizes.
    EIGHT(ScreenSize screenSize)
    The column appears as the eighth column for the specified or bigger screen sizes.
    The column is displayed as the eleventh item for all screen sizes.
    ELEVEN(ScreenSize screenSize)
    The column appears as the eleventh column for the specified or bigger screen sizes.
    The column is displayed as the first item for all screen sizes.
    FIRST(ScreenSize screenSize)
    The column appears as the first column for the specified or bigger screen sizes.
    The column is displayed as the fifth item for all screen sizes.
    FIVE(ScreenSize screenSize)
    The column appears as the fifth column for the specified or bigger screen sizes.
    The column is displayed as the fourth item for all screen sizes.
    FOUR(ScreenSize screenSize)
    The column appears as the fourth column for the specified or bigger screen sizes.
    The column is displayed as the last item for all screen sizes.
    LAST(ScreenSize screenSize)
    The column appears as the last column for the specified or bigger screen sizes.
    The column is displayed as the ninth item for all screen sizes.
    NINE(ScreenSize screenSize)
    The column appears as the ninth column for the specified or bigger screen sizes.
    ONE()
    The column is displayed as the first item for all screen sizes.
    ONE(ScreenSize screenSize)
    The column appears as the first column for the specified or bigger screen sizes.
    void
    Remove(Column component)
     
    static void
    Removes all column order settings from the specified column.
    The column is displayed as the seventh item for all screen sizes.
    SEVEN(ScreenSize screenSize)
    The column appears as the seventh column for the specified or bigger screen sizes.
    SIX()
    The column is displayed as the sixth item for all screen sizes.
    SIX(ScreenSize screenSize)
    The column appears as the sixth column for the specified or bigger screen sizes.
    TEN()
    The column is displayed as the tenth item for all screen sizes.
    TEN(ScreenSize screenSize)
    The column appears as the tenth column for the specified or bigger screen sizes.
    The column is displayed as the third item for all screen sizes.
    THREE(ScreenSize screenSize)
    The column appears as the third column for the specified or bigger screen sizes.
    The column is displayed as the twelfth item for all screen sizes.
    TWELVE(ScreenSize screenSize)
    The column appears as the twelfth column for the specified or bigger screen sizes.
    TWO()
    The column is displayed as the second item for all screen sizes.
    TWO(ScreenSize screenSize)
    The column appears as the second column for the specified or bigger screen sizes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • FIRST

      public static ColumnOrder FIRST()
      The column is displayed as the first item for all screen sizes.
      Returns:
      Column order
    • FIRST

      public static ColumnOrder FIRST(ScreenSize screenSize)
      The column appears as the first column for the specified or bigger screen sizes.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • ONE

      public static ColumnOrder ONE()
      The column is displayed as the first item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • ONE

      public static ColumnOrder ONE(ScreenSize screenSize)
      The column appears as the first column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • TWO

      public static ColumnOrder TWO()
      The column is displayed as the second item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • TWO

      public static ColumnOrder TWO(ScreenSize screenSize)
      The column appears as the second column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • THREE

      public static ColumnOrder THREE()
      The column is displayed as the third item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • THREE

      public static ColumnOrder THREE(ScreenSize screenSize)
      The column appears as the third column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • FOUR

      public static ColumnOrder FOUR()
      The column is displayed as the fourth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • FOUR

      public static ColumnOrder FOUR(ScreenSize screenSize)
      The column appears as the fourth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • FIVE

      public static ColumnOrder FIVE()
      The column is displayed as the fifth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • FIVE

      public static ColumnOrder FIVE(ScreenSize screenSize)
      The column appears as the fifth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • SIX

      public static ColumnOrder SIX()
      The column is displayed as the sixth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • SIX

      public static ColumnOrder SIX(ScreenSize screenSize)
      The column appears as the sixth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • SEVEN

      public static ColumnOrder SEVEN()
      The column is displayed as the seventh item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • SEVEN

      public static ColumnOrder SEVEN(ScreenSize screenSize)
      The column appears as the seventh column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • EIGHT

      public static ColumnOrder EIGHT()
      The column is displayed as the eighth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • EIGHT

      public static ColumnOrder EIGHT(ScreenSize screenSize)
      The column appears as the eighth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • NINE

      public static ColumnOrder NINE()
      The column is displayed as the ninth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • NINE

      public static ColumnOrder NINE(ScreenSize screenSize)
      The column appears as the ninth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • TEN

      public static ColumnOrder TEN()
      The column is displayed as the tenth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • TEN

      public static ColumnOrder TEN(ScreenSize screenSize)
      The column appears as the tenth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • ELEVEN

      public static ColumnOrder ELEVEN()
      The column is displayed as the eleventh item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • ELEVEN

      public static ColumnOrder ELEVEN(ScreenSize screenSize)
      The column appears as the eleventh column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • TWELVE

      public static ColumnOrder TWELVE()
      The column is displayed as the twelfth item for all screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Returns:
      Column order
    • TWELVE

      public static ColumnOrder TWELVE(ScreenSize screenSize)
      The column appears as the twelfth column for the specified or bigger screen sizes. If more than one column has the same column order, all column set as first are displayed in the order they were added to the parent component.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • LAST

      public static ColumnOrder LAST()
      The column is displayed as the last item for all screen sizes.
      Returns:
      Column order
    • LAST

      public static ColumnOrder LAST(ScreenSize screenSize)
      The column appears as the last column for the specified or bigger screen sizes.
      Parameters:
      screenSize - Screen size Available screen sizes are listed in the ScreenSize enum.
      Returns:
      Column order
    • apply

      public void apply(Column component)
      Parameters:
      component - The component
    • Remove

      public void Remove(Column component)
      Parameters:
      component - The component
    • removeAllColumnOrderSettings

      public static void removeAllColumnOrderSettings(Component<?> component)
      Removes all column order settings from the specified column.
      Parameters:
      component - Column instance