Package javax.media

Examples of javax.media.TransitionEvent


     * Post a TransitionEvent to the Media Event Queue.
     * Automatically fill in the Previous State, Current State,
     * and Target State properties of the TransitionEvent.
     */
    protected void postTransitionEvent() {
        postEvent( new TransitionEvent(
            this, previousState, currentState, targetState) );
    }
View Full Code Here


        return state;
    }

    public void realize()
    {
        sendControllerEvent(new TransitionEvent(this, Unrealized, Realizing, Realized));
        sendControllerEvent(new RealizeCompleteEvent(this, Realizing, Realized, Realized));
    }
View Full Code Here

    public void prefetch()
    {
        if (state == Unrealized)
            realize();
       
        sendControllerEvent(new TransitionEvent(this, Realized, Prefetching, Prefetched));
        sendControllerEvent(new PrefetchCompleteEvent(this, Prefetching, Prefetched, Prefetched));
    }
View Full Code Here

TOP

Related Classes of javax.media.TransitionEvent

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.