Package io.deephaven.engine.util
Interface ColumnFormatting
public interface ColumnFormatting
Container for utilities to work with magic String values used to indicate formatted rows and columns.
-
Nested Class Summary
Nested Classes -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic StringgetDateFormatColumn(String baseColumn) static StringgetFormatBaseColumn(@NotNull String columnName) Returns the base column name from a formatting column name.static StringgetNumberFormatColumn(String baseColumn) static Stringstatic StringgetStyleFormatColumn(String baseColumn) static booleanisDateFormatColumn(@NotNull String columnName) Returns true if this column name is a hidden date formatting column.static booleanisFormattingColumn(String columnName) Returns true if this column name is a hidden formatting column.static booleanisNumberFormatColumn(@NotNull String columnName) Returns true if this column name is a hidden number formatting column.static booleanisRowStyleFormatColumn(@NotNull String columnName) Returns true if this column name is a hidden row style formatting column.static booleanisStyleFormatColumn(@NotNull String columnName) Returns true if this column name is a hidden style formatting column.
-
Method Details
-
isFormattingColumn
Returns true if this column name is a hidden formatting column.- Parameters:
columnName- the column name to check- Returns:
- true if the columnName is a formatting column; false otherwise
-
getRowStyleFormatColumn
- Returns:
- The name of the row style formatting column
-
isRowStyleFormatColumn
Returns true if this column name is a hidden row style formatting column.- Parameters:
columnName- the column name to check- Returns:
- true if the columnName is a row style formatting column; false otherwise
-
getStyleFormatColumn
- Parameters:
baseColumn- the column name, or the wildcard name for row formats- Returns:
- The name of the style formatting column for the specified base column.
-
isStyleFormatColumn
Returns true if this column name is a hidden style formatting column.- Parameters:
columnName- the column name to check- Returns:
- true if the columnName is a style formatting column; false otherwise
-
getNumberFormatColumn
- Parameters:
baseColumn- the column name- Returns:
- The name of the number formatting column for the specified base column.
-
isNumberFormatColumn
Returns true if this column name is a hidden number formatting column.- Parameters:
columnName- the column name to check- Returns:
- true if the columnName is a number formatting column; false otherwise
-
getDateFormatColumn
- Parameters:
baseColumn- the column name- Returns:
- The name of the date formatting column for the specified base column.
-
isDateFormatColumn
Returns true if this column name is a hidden date formatting column.- Parameters:
columnName- the column name to check- Returns:
- true if the columnName is a date formatting column; false otherwise
-
getFormatBaseColumn
Returns the base column name from a formatting column name.- Parameters:
columnName- the column name- Returns:
- the base column name formatted by
columnName
-