2 * Copyright 2000-2018 Vaadin Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
16 package com.vaadin.v7.client.widget.grid.events;
18 import com.google.gwt.event.shared.EventHandler;
19 import com.vaadin.v7.client.widgets.Grid.AbstractGridKeyEvent;
22 * Base interface of all handlers for {@link AbstractGridKeyEvent}s.
27 public abstract interface AbstractGridKeyEventHandler extends EventHandler {
29 public abstract interface GridKeyDownHandler
30 extends AbstractGridKeyEventHandler {
31 public void onKeyDown(GridKeyDownEvent event);
34 public abstract interface GridKeyUpHandler
35 extends AbstractGridKeyEventHandler {
36 public void onKeyUp(GridKeyUpEvent event);
39 public abstract interface GridKeyPressHandler
40 extends AbstractGridKeyEventHandler {
41 public void onKeyPress(GridKeyPressEvent event);