Example usage for com.google.gwt.user.client EventPreview interface-usage

List of usage examples for com.google.gwt.user.client EventPreview interface-usage

Introduction

In this page you can find the example usage for com.google.gwt.user.client EventPreview interface-usage.

Usage

From source file asquare.gwt.debug.client.EventPreviewDispatcher.java

/**
 * The {@link EventPreview} facility adds listeners to a stack, and only the
 * listener on top of the stack previews events. This class distributes events
 * to 1 or more listeners if it is on top of the stack. It will be pushed down
 * the stack if a {@link com.google.gwt.user.client.ui.PopupPanel PopupPanel} or
 * {@link com.google.gwt.user.client.ui.DialogBox DialogBox} is shown.

From source file asquare.gwt.tk.client.ui.behavior.EventPreviewController.java

/**
 * A controller which converts native
 * {@link DOM#addEventPreview(EventPreview) EventPreview} events to framework
 * {@link MouseEvent}s. The controller also handles standard flow
 * events. 
 * 

From source file client.Tetris.java

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Tetris implements EntryPoint, EventPreview {
    private Tilemap tilemap = new Tilemap(10, 20);

From source file com.lorepo.icplayer.client.module.choice.MyPopupPanel.java

/**
 * A panel that can "pop up" over other widgets. It overlays the browser's
 * client area (and any previously-created popups).
 *
 * <p>
 * A PopupPanel should not generally be added to other panels; rather, it should

From source file com.moesol.gwt.maps.client.MapController.java

public class MapController implements HasHandlers, MouseMoveHandler, MouseDownHandler, MouseUpHandler,
        MouseOutHandler, MouseWheelHandler, EventPreview, KeyDownHandler, KeyUpHandler, KeyPressHandler,
        TouchStartHandler, TouchMoveHandler, TouchEndHandler, TouchCancelHandler {
    private static boolean s_previewInstalled = false;
    private static final int S_KEY = 83;//(int)'s';
    private static final int F_KEY = 70;//(int)'f';

From source file com.totsp.gwittir.client.keyboard.EventPreviewListener.java

/**
 *
 * @author cooper
 */
class EventPreviewListener implements EventPreview {
    /** Creates a new instance of EventPreviewListener */

From source file edu.purdue.pivot.skwiki.client.sketch.colorpicker.SliderBar.java

/**
 * Implements the SliderBar control.
 */
public final class SliderBar extends HTML implements EventPreview {
    private ColorPickerImageBundle cpImageBundle;
    private Image colorA;

From source file edu.purdue.pivot.skwiki.client.sketch.colorpicker.SliderMap.java

/**
 * Implements the SliderMap control.
 */
public final class SliderMap extends HTML implements EventPreview {
    private ColorPickerImageBundle cpImageBundle;
    private Image colorUnderlay;

From source file fr.fg.client.core.ActionManager.java

public class ActionManager implements EventPreview, SelectionListener {
    // ------------------------------------------------------- CONSTANTES -- //

    public final static int NO_ACTION = 0, ACTION_MOVE_FLEET = 1, ACTION_OFFENSIVE_LINK = 2,
            ACTION_DEFENSIVE_LINK = 3, ACTION_EMP = 4, ACTION_SWAP = 5, ACTION_BOMBING = 6, ACTION_DEFUSE = 7,
            ACTION_SETUP_STRUCTURE = 8, ACTION_SETUP_WARD = 9, ACTION_STASIS = 10, ACTION_MOUNT_STRUCTURE = 11;

From source file fr.fg.client.core.AreaContainer.java

public class AreaContainer extends AbsolutePanel
        implements EventListener, EventPreview, ActionCallback, SelectionListener {
    // ------------------------------------------------------- CONSTANTES -- //

    public final static int TILE_SIZE = 40;