Package de.dfki.km.text20.browserplugin.services.sessionrecorder.events

Examples of de.dfki.km.text20.browserplugin.services.sessionrecorder.events.AbstractSessionEvent


                    // Get number of events to write
                    int size = SessionStreamer.this.eventQueue.size();

                    // Write every event
                    for (int i = 0; i < size; i++) {
                        AbstractSessionEvent next = null;
                        try {
                            next = SessionStreamer.this.eventQueue.take();
                        } catch (InterruptedException e) {
                            //
                        }
View Full Code Here


     * @param y
     * @param type
     * @param button
     */
    public void mouseClickEvent(final int x, final int y, final int type, final int button) {
        addEvent(new MouseClickEvent(x, y, type, button));
    }
View Full Code Here

     *
     */
    public void mouseMovement(final int x, final int y) {
        this.lastKnownMousePosition.x = x;
        this.lastKnownMousePosition.y = y;
        addEvent(new MouseMotionEvent(x, y));
    }
View Full Code Here

     * @param value
     * @return .S
     * @see java.util.Map#put(java.lang.Object, java.lang.Object)
     */
    public String putProperty(final String key, final String value) {
        addEvent(new PropertyEvent(key, value));
        return this.sessionProperties.put(key, value);
    }
View Full Code Here

    /**
     * @param type
     * @param listener
     */
    public void registerListener(final String type, final String listener) {
        addEvent(new RegisterListenerEvent(type, listener));
    }
View Full Code Here

    /**
     * @param listener
     */
    public void removeListener(final String listener) {
        addEvent(new RemoveListenerEvent(listener));

    }
View Full Code Here

        // Put initial events
        nextDate(date);
        addEvent(new InitEvent(VERSION));
        nextDate(date);
        addEvent(new ScreenSizeEvent(screenSize));
        nextDate(date);

        // Generate our unique session id
        generateUniqueSessionID();
View Full Code Here

    /**
     * @param key
     * @param value
     */
    public void setPreference(final String key, final String value) {
        addEvent(new SetPreferenceEvent(key, value));
    }
View Full Code Here

     * @param id
     * @param flag
     * @param value
     */
    public void updateElementFlag(final String id, final String flag, final boolean value) {
        addEvent(new UpdateElementFlagEvent(id, flag, value));
    }
View Full Code Here

    /**
     *
     * @param p
     */
    public void updateDocumentViewport(final Point p) {
        addEvent(new ViewportEvent(p));
    }
View Full Code Here

TOP

Related Classes of de.dfki.km.text20.browserplugin.services.sessionrecorder.events.AbstractSessionEvent

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.