Package com.projity.pm.graphic.timescale

Examples of com.projity.pm.graphic.timescale.CoordinatesConverter.toDuration()


    double h=node.getGanttShapeHeight();
    double delta=config.getSelectionSquare();
    if (y<y0/*-delta*/||y>y0/*+delta*/+h) return null;
    CoordinatesConverter coord=getCoord();
    double t=coord.toTime(x);
    double deltat=coord.toDuration(delta);
    if  (node.contains(t,deltat,deltat,coord)==null) return null;
    double progessH=config.getGanttProgressBarHeight();
    GraphZone zone=new GraphZone();
    zone.setObject(node);
    if (y>=y0+h/2-progessH/2&&y<y0+h/2+progessH/2) zone.setZoneId(PROGRESS_BAR_ZONE_ID);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.