Interface MatrixDimensionAction

  • All Known Implementing Classes:
    SumAllAction

    public interface MatrixDimensionAction
    Action de regroupement des valeurs d'une dimension, pour faire des sommes...
    Version:
    $Revision$ Last update : $Date$ By : $Author$
    Author:
    chatellier
    • Method Detail

      • getIcon

        Icon getIcon()
        Action icon.
        Returns:
        action icon
      • getSelectedIcon

        Icon getSelectedIcon()
        Action selected icon.
        Returns:
        action selected icon
      • getDescription

        String getDescription()
        Action button description.
      • canApply

        boolean canApply​(int dim,
                         List<?> semantic)
        Return if an action can be displayed to user. User can them select this action to apply action.
        Parameters:
        dim - dimension index
        semantic - semantic
        Returns:
        can apply
      • apply

        MatrixND apply​(MatrixND matrix,
                       int dim)
        Apply matrix action.
        Parameters:
        matrix - matrix
        dim - dimension index
        Returns:
        modified matrix