Package jimm.datavision.field

Examples of jimm.datavision.field.Rectangle


    super(I18N.get("FieldResizeCommand.name"));

    this.fw = fw;
    this.which = which;
    this.prototype = prototype;
    origBounds = new Rectangle(fw.getField().getBounds()); // Make a copy
    sectionResizeCommand = new SectionResizeCommand(fw.getSectionWidget());
}
View Full Code Here


    protected void doStartPage() {
        pageNum++;
    }

    protected void doOutputField(Field field) {
        Rectangle rect = null;
        rect = field.getBounds();
        boolean showRow = true;
        if(!this.showPageHeaders) {
            if((this.currentSection.getArea().getArea() == SectionArea.PAGE_HEADER) && (pageNum > 1)) showRow = false;
            if((this.currentSection.getArea().getArea() == SectionArea.PAGE_HEADER) && (pageNum > 1)) showRow = false;
View Full Code Here

            RowContainer tmpRow = (RowContainer)it.next();
            /* Iterate through the fields in this line and find acceptable column allocations */
            Iterator rowit = tmpRow.reportFields.iterator();
            while(rowit.hasNext()) {
                PermField tmpField = (PermField)rowit.next();
                Rectangle fbound = tmpField.getBounds();
                /* Find a column that fits or has a position near it */
               
                for(i=0;i<MAXCOL;i++) {
                    int curvalue = getColOffset(i);
                    if(fbound.x == curvalue) {
View Full Code Here

*
* @param fw a field widget
* @param mouseScreenPos the location of the mouse in screen coordinates
*/
PreMoveInfo(FieldWidget fw, Point mouseScreenPos) {
    origBounds = new Rectangle(fw.getField().getBounds());
    sectionWidget = fw.getSectionWidget();
    screenPos = fw.getComponent().getLocationOnScreen();
    startMouseScreenPos = mouseScreenPos;
}
View Full Code Here

TOP

Related Classes of jimm.datavision.field.Rectangle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.