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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDateFormatColumn
(String baseColumn) static String
getFormatBaseColumn
(@NotNull String columnName) Returns the base column name from a formatting column name.static String
getNumberFormatColumn
(String baseColumn) static String
static String
getStyleFormatColumn
(String baseColumn) static boolean
isDateFormatColumn
(@NotNull String columnName) Returns true if this column name is a hidden date formatting column.static boolean
isFormattingColumn
(String columnName) Returns true if this column name is a hidden formatting column.static boolean
isNumberFormatColumn
(@NotNull String columnName) Returns true if this column name is a hidden number formatting column.static boolean
isRowStyleFormatColumn
(@NotNull String columnName) Returns true if this column name is a hidden row style formatting column.static boolean
isStyleFormatColumn
(@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
-