Package pivot.wtk

Examples of pivot.wtk.ApplicationContext$ScheduledCallback


        // needed, see http://people.apache.org/~tvolkert/tests/scrolling/
        // There seems to be no workaround, so we have to turn the optimization
        // completely off if we're not sure that we're unobscured.
        if (optimizeScrolling) {
            ApplicationContext.DisplayHost displayHost = viewport.getDisplay().getDisplayHost();
            ApplicationContext applicationContext = displayHost.getApplicationContext();

            optimizeScrolling = (applicationContext instanceof DesktopApplicationContext ||
                (displayHost.getPeer().canDetermineObscurity() && !displayHost.getPeer().isObscured()));
        }
View Full Code Here


        // needed, see http://people.apache.org/~tvolkert/tests/scrolling/.
        // There seems to be no workaround, so we have to turn the optimization
        // completely off if we're not sure that we're unobscured.
        if (optimizeScrolling) {
            ApplicationContext.DisplayHost displayHost = viewport.getDisplay().getDisplayHost();
            ApplicationContext applicationContext = displayHost.getApplicationContext();

            optimizeScrolling = (applicationContext instanceof DesktopApplicationContext ||
                (displayHost.getPeer().canDetermineObscurity() && !displayHost.getPeer().isObscured()));
        }
View Full Code Here

TOP

Related Classes of pivot.wtk.ApplicationContext$ScheduledCallback

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.