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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Generate a script for applying image scale adjustments.static void
applySquareTableCell
(@NotNull org.apache.wicket.markup.repeater.Item<?> cellItem) Apply square table cell styles to ensure a consistent appearance.static String
Generate a script for applying table scale adjustments.static String
densityBasedColor
(double density) Determine the background color class based on the density value.
-
Constructor Details
-
RoleAnalysisTableTools
public RoleAnalysisTableTools()
-
-
Method Details
-
densityBasedColor
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.
-
applyTableScaleScript
Generate a script for applying table scale adjustments.- Returns:
- The JavaScript script for applying table scale adjustments.
-
applyImageScaleScript
Generate a script for applying image scale adjustments.- Returns:
- The JavaScript script for applying image scale adjustments.
-
applySquareTableCell
public static void applySquareTableCell(@NotNull @NotNull org.apache.wicket.markup.repeater.Item<?> cellItem) Apply square table cell styles to ensure a consistent appearance.- Parameters:
cellItem
- The table cell item to which the styles should be applied.
-