Class RoleAnalysisTableTools
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.role.mining.utils.table.RoleAnalysisTableTools
Utility class for role analysis table tools and operations.
This class provides various utility methods for working with role analysis tables and related operations.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
applySquareTableCell
(@NotNull org.apache.wicket.markup.repeater.Item<?> cellItem) static void
applySquareTableCell
(@NotNull org.apache.wicket.markup.repeater.Item<?> cellItem, RoleAnalysisTableTools.StyleResolution headerWidth, RoleAnalysisTableTools.StyleResolution headerHeight) Apply square table cell styles to ensure a consistent appearance.static String
Generate a script for applying table scale adjustments.static @NotNull String
confidenceBasedTwoColor
(double density) static <T extends MiningBaseTypeChunk>
CompositedIconcreateCompositedObjectIcon
(T rowModel, @NotNull org.apache.wicket.model.IModel<RoleAnalysisObjectDto> modelDto) static @NotNull String
densityBasedColor
(double density) static @NotNull String
densityBasedColorClass
(double density) Determine the background color class based on the density value.static @NotNull String
densityBasedColorOposite
(double density) static @NotNull String
reductionBasedColor
(double density)
-
Constructor Details
-
RoleAnalysisTableTools
public RoleAnalysisTableTools()
-
-
Method Details
-
densityBasedColorClass
Determine the background color class based on the density value.- Parameters:
density
- The density value to determine the color for.- Returns:
- The CSS class representing the background color.
-
densityBasedColor
-
reductionBasedColor
-
confidenceBasedTwoColor
-
densityBasedColorOposite
-
applyTableScaleScript
Generate a script for applying table scale adjustments.- Returns:
- The JavaScript script for applying table scale adjustments.
-
applySquareTableCell
public static void applySquareTableCell(@NotNull @NotNull org.apache.wicket.markup.repeater.Item<?> cellItem, RoleAnalysisTableTools.StyleResolution headerWidth, RoleAnalysisTableTools.StyleResolution headerHeight) Apply square table cell styles to ensure a consistent appearance.- Parameters:
cellItem
- The table cell item to which the styles should be applied.
-
applySquareTableCell
public static void applySquareTableCell(@NotNull @NotNull org.apache.wicket.markup.repeater.Item<?> cellItem) -
createCompositedObjectIcon
public static <T extends MiningBaseTypeChunk> CompositedIcon createCompositedObjectIcon(@NotNull T rowModel, @NotNull @NotNull org.apache.wicket.model.IModel<RoleAnalysisObjectDto> modelDto)
-