1 32 33 package it.businesslogic.ireport.undo; 34 35 import it.businesslogic.ireport.*; 36 import it.businesslogic.ireport.util.*; 37 import it.businesslogic.ireport.gui.*; 38 import java.util.*; 39 43 public class FormatElementsOperation extends it.businesslogic.ireport.undo.TransformElementsOperation { 44 45 public int operationType=0; 46 47 public FormatElementsOperation(JReportFrame jrf, CrosstabReportElement crosstabReportElement, int operationType) { 48 super(jrf,crosstabReportElement); 49 this.operationType = operationType; 50 } 51 52 53 public String toString() 54 { 55 switch (operationType) 56 { 57 case OperationType.ALIGN_LEFT: return " align to left"; 58 default: return " elements format"; 59 } 60 } 61 62 } 63 | Popular Tags |