Package TimeTable.scaler

Examples of TimeTable.scaler.TimeScaler


        SimpleRectangleEngine sre = new SimpleRectangleEngine();
        TimeOffset shiftBegin = new TimeOffset(7, 0);
        TimeOffset shiftEnd = new TimeOffset(20, 0);

        TimeScaler scaler = new TimeScalerTraditional(shiftBegin.getHours(), shiftEnd.getHours(), 0.25f);
        scaler.setMinHourHeight(25);
        ruler.setScaler(scaler);

        ruler.setShiftBegin(shiftBegin.getMilliseconds());
        ruler.setShiftEnd(shiftEnd.getMilliseconds());
        ruler.setFont(rulerLabel.getFont());
View Full Code Here


        TimeOffset shiftBegin = swl.getTimeBegin(dayOfWeek);
        TimeOffset shiftEnd = swl.getTimeEnd(dayOfWeek);
        ruler.setShiftBegin(shiftBegin.getMilliseconds());
        ruler.setShiftEnd(shiftEnd.getMilliseconds());

        TimeScaler scaler = new TimeScalerTraditional(
                shiftBegin.getHours(), shiftEnd.getHours(), 0.25f);
        scaler.setMinHourHeight(25);
        ruler.setScaler(scaler);

        ruler.setFont(rulerLabel.getFont());

        for (int i = 0; i < tt.length; i++) {
View Full Code Here

TOP

Related Classes of TimeTable.scaler.TimeScaler

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.