java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.role.mining.utils.table.RoleAnalysisTableTools

public class RoleAnalysisTableTools extends Object
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 Details

    • RoleAnalysisTableTools

      public RoleAnalysisTableTools()
  • Method Details

    • densityBasedColor

      public static String densityBasedColor(double density)
      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

      public static String applyTableScaleScript()
      Generate a script for applying table scale adjustments.
      Returns:
      The JavaScript script for applying table scale adjustments.
    • applyImageScaleScript

      public static String 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, 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)