• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • DOM
  • UIEvent
Public Member Functions | Protected Member Functions | List of all members
DOM::UIEvent Class Reference

#include <dom2_events.h>

Inheritance diagram for DOM::UIEvent:
Inheritance graph
[legend]

Public Member Functions

 UIEvent ()
 
 UIEvent (const UIEvent &other)
 
 UIEvent (const Event &other)
 
virtual ~UIEvent ()
 
int charCode () const
 
long detail () const
 
void initUIEvent (const DOMString &typeArg, bool canBubbleArg, bool cancelableArg, const AbstractView &viewArg, long detailArg)
 
int keyCode () const
 
int layerX () const
 
int layerY () const
 
UIEvent & operator= (const UIEvent &other)
 
UIEvent & operator= (const Event &other)
 
int pageX () const
 
int pageY () const
 
AbstractView view () const
 
int which () const
 
- Public Member Functions inherited from DOM::Event
 Event ()
 
 Event (const Event &other)
 
 Event (EventImpl *i)
 
virtual ~Event ()
 
bool bubbles () const
 
bool cancelable () const
 
Node currentTarget () const
 
unsigned short eventPhase () const
 
EventImpl * handle () const
 
void initEvent (const DOMString &eventTypeArg, bool canBubbleArg, bool cancelableArg)
 
bool isNull () const
 
Event & operator= (const Event &other)
 
void preventDefault ()
 
void stopPropagation ()
 
Node target () const
 
DOMTimeStamp timeStamp () const
 
DOMString type () const
 

Protected Member Functions

 UIEvent (UIEventImpl *impl)
 

Additional Inherited Members

- Public Types inherited from DOM::Event
enum  PhaseType { CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3 }
 
- Protected Attributes inherited from DOM::Event
EventImpl * impl
 

Detailed Description

Introduced in DOM Level 2.

The UIEvent interface provides specific contextual information associated with User Interface events.

Definition at line 312 of file dom2_events.h.

Constructor & Destructor Documentation

UIEvent::UIEvent ( )

Definition at line 221 of file dom2_events.cpp.

UIEvent::UIEvent ( const UIEvent &  other)

Definition at line 225 of file dom2_events.cpp.

UIEvent::UIEvent ( const Event &  other)

Definition at line 229 of file dom2_events.cpp.

UIEvent::~UIEvent ( )
virtual

Definition at line 256 of file dom2_events.cpp.

UIEvent::UIEvent ( UIEventImpl *  impl)
protected

Definition at line 234 of file dom2_events.cpp.

Member Function Documentation

int UIEvent::charCode ( ) const

Non-standard extension to support IE-style charCode event property.

Definition at line 283 of file dom2_events.cpp.

long UIEvent::detail ( ) const

Specifies some detail information about the Event, depending on the type of event.

Definition at line 268 of file dom2_events.cpp.

void UIEvent::initUIEvent ( const DOMString &  typeArg,
bool  canBubbleArg,
bool  cancelableArg,
const AbstractView &  viewArg,
long  detailArg 
)

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.

Parameters
typeArgSpecifies the event type.
canBubbleArgSpecifies whether or not the event can bubble.
cancelableArgSpecifies whether or not the event's default action can be prevented.
viewArgSpecifies the Event's AbstractView.
detailArgSpecifies the Event's detail.

Definition at line 329 of file dom2_events.cpp.

int UIEvent::keyCode ( ) const

Non-standard extension to support IE-style keyCode event property.

Definition at line 276 of file dom2_events.cpp.

int UIEvent::layerX ( ) const

Non-standard extensions to support Netscape-style layerX and layerY event properties.

Definition at line 307 of file dom2_events.cpp.

int UIEvent::layerY ( ) const

Definition at line 315 of file dom2_events.cpp.

UIEvent & UIEvent::operator= ( const UIEvent &  other)

Definition at line 238 of file dom2_events.cpp.

UIEvent & UIEvent::operator= ( const Event &  other)

Definition at line 244 of file dom2_events.cpp.

int UIEvent::pageX ( ) const

Non-standard extensions to support Netscape-style pageX and pageY event properties.

Definition at line 291 of file dom2_events.cpp.

int UIEvent::pageY ( ) const

Definition at line 299 of file dom2_events.cpp.

AbstractView UIEvent::view ( ) const

The view attribute identifies the AbstractView from which the event was generated.

Definition at line 260 of file dom2_events.cpp.

int UIEvent::which ( ) const

Non-standard extension to support Netscape-style "which" event property.

Definition at line 323 of file dom2_events.cpp.


The documentation for this class was generated from the following files:
  • dom2_events.h
  • dom2_events.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal