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 voidapplySquareTableCell(@NotNull org.apache.wicket.markup.repeater.Item<?> cellItem) static voidapplySquareTableCell(@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 StringGenerate a script for applying table scale adjustments.static @NotNull StringconfidenceBasedTwoColor(double density) static <T extends MiningBaseTypeChunk>
CompositedIconcreateCompositedObjectIcon(T rowModel, @NotNull org.apache.wicket.model.IModel<RoleAnalysisObjectDto> modelDto) static @NotNull StringdensityBasedColor(double density) static @NotNull StringdensityBasedColorClass(double density) Determine the background color class based on the density value.static @NotNull StringdensityBasedColorOposite(double density) static @NotNull StringreductionBasedColor(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)
-