All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental.events.UIEvent Maven / Gradle / Ivy

/*
 * Copyright 2012 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package elemental.events;
import elemental.html.Window;

import elemental.events.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;

import java.util.Date;

/**
  * 
A basic event interface for all user interface events
1.0
11.0
Inherits from: nsIDOMEvent Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)

The DOM UIEvent represents simple user interface events.

*/ public interface UIEvent extends Event { int getCharCode(); /** * Detail about the event, depending on the type of event. Read only. */ int getDetail(); int getKeyCode(); int getLayerX(); int getLayerY(); int getPageX(); int getPageY(); /** * A view which generated the event. Read only. */ Window getView(); int getWhich(); /** *

Initializes the UIEvent object.

Parameters
typeArg
The type of UI event.
canBubbleArg
Whether or not the event can bubble.
cancelableArg
Whether or not the event can be canceled.
viewArg
Specifies the view attribute value. This may be null.
detailArg
Specifies the detail attribute value.
*/ void initUIEvent(String type, boolean canBubble, boolean cancelable, Window view, int detail); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy