Class CopyFieldValue

    • Constructor Detail

      • CopyFieldValue

        public CopyFieldValue()
        Default constructor.
    • Method Detail

      • isApplicable

        public boolean isApplicable​(ReportFactory.Table table,
                                    int row,
                                    AbstractField field,
                                    String value)
        Checks whether the action is applicable and should be added to the popup menu.
        Specified by:
        isApplicable in class AbstractTableAction
        Parameters:
        table - the table the popup menu is for
        row - the currently selected row
        field - the field in the specified row
        value - the current value
        Returns:
        true if the action is applicable, i.e., should be included in the popup menu
      • isApplicable

        public boolean isApplicable​(ReportFactory.Table table,
                                    int[] rows,
                                    AbstractField[] fields,
                                    String[] values)
        Checks whether the action is applicable and should be added to the popup menu.
        Specified by:
        isApplicable in interface MultiSelectionTableAction
        Parameters:
        table - the table the popup menu is for
        rows - the currently selected rows
        fields - the fields in the specified row
        values - the current values
        Returns:
        true if the action is applicable, i.e., should be included in the popup menu