1 32 33 package it.businesslogic.ireport.gui.command; 34 35 import it.businesslogic.ireport.OperationType; 36 import it.businesslogic.ireport.TransformationType; 37 38 import java.awt.Point ; 39 40 41 public class FormatCommandAlignBottomToBand 42 extends FormatCommand 43 { 44 FormatCommandAlignBottomToBand() 45 { 46 operationType = OperationType.ALIGN_BOTTOM_TO_BAND; 47 } 48 49 53 public void modify() 54 { 55 re.trasform(new Point (0, 56 jrf.getReport().getBandYLocation(re.band) + 10 + 57 re.band.getHeight() - 58 (re.getPosition().y + re.getHeight())), 59 TransformationType.TRANSFORMATION_MOVE); 60 } 61 } 62 | Popular Tags |