//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;

/**

 Introduced in DOM Level 2
 The UIEvent interface provides specific contextual information associated
 with User Interface events.
 		@short    Introduced in DOM Level 2

*/
public class UIEvent extends Event  {
	protected UIEvent(Class dummy){super((Class) null);}
	public UIEvent() {
		super((Class) null);
		newUIEvent();
	}
	private native void newUIEvent();
	public UIEvent(UIEvent other) {
		super((Class) null);
		newUIEvent(other);
	}
	private native void newUIEvent(UIEvent other);
	public UIEvent(Event other) {
		super((Class) null);
		newUIEvent(other);
	}
	private native void newUIEvent(Event other);
	/**	
		 The view attribute identifies the AbstractView from which the event was
		 generated.
			     		@short    The view attribute identifies the AbstractView from which the event was  generated.
	*/
	public native AbstractView view();
	/**	
		 Specifies some detail information about the Event, depending on the type
		 of event.
			     		@short    Specifies some detail information about the Event, depending on the type  of event.
	*/
	public native long detail();
	/**	
		 IE extension
		     		@short    IE extension
	*/
	public native int keyCode();
	/**	
		 IE extension
			     		@short    IE extension
	*/
	public native int charCode();
	/**	
			 Netscape extension. only returns something useful when the mouse
		 was involved. Otherwise its 0
		     		@short
	*/
	public native int pageX();
	public native int pageY();
	/**	
		 Netscape extension. only returns something useful when the mouse
		 was involved. Otherwise its 0
		     		@short    Netscape extension.
	*/
	public native int layerX();
	public native int layerY();
	/**	
		 Non-standard Netscape style "which" extension
		    		@short    Non-standard Netscape style "which" extension
	*/
	public native int which();
	/**	
		 The initUIEvent method is used to initialize the value of a UIEvent
		 created through the DocumentEvent interface. This method may only be
		 called before the UIEvent has been dispatched via the dispatchEvent
		 method, though it may be called multiple times during that phase if
		 necessary. If called multiple times, the final invocation takes
		 precedence.
			@param typeArg Specifies the event type.
			@param canBubbleArg Specifies whether or not the event can bubble.
			@param cancelableArg Specifies whether or not the event's default action
		 can be prevented.
			@param viewArg Specifies the Event's AbstractView.
			@param detailArg Specifies the Event's detail.
			     		@short    The initUIEvent method is used to initialize the value of a UIEvent  created through the DocumentEvent interface.
	*/
	public native void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, long detailArg);
	// DOM::UIEvent* UIEvent(DOM::UIEventImpl* arg1); >>>> NOT CONVERTED
}
