亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? event.h

?? This software aims to create an applet and panel tools to manage a wireless interface card, such as
?? H
字號:
//
// Event.h
//
// $Id: //poco/Main/XML/include/DOM/Event.h#5 $
//
// Definition of the DOM Event class.
//
// Copyright (c) 2004, Guenter Obiltschnig/Applied Informatics.
// All rights reserved.
// 
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 
// 1. Redistributions of source code must retain the above copyright
//    notice, this list of conditions and the following disclaimer.
// 
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
// 
// 3. Redistributions in any form must be accompanied by information on
//    how to obtain complete source code for this software and any
//    accompanying software that uses this software.  The source code
//    must either be included in the distribution or be available for no
//    more than the cost of distribution plus a nominal fee, and must be
//    freely redistributable under reasonable conditions.  For an
//    executable file, complete source code means the source code for all
//    modules it contains.  It does not include source code for modules or
//    files that typically accompany the major components of the operating
//    system on which the executable file runs.
// 
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//


#ifndef DOM_Event_INCLUDED
#define DOM_Event_INCLUDED


#ifndef XML_XML_INCLUDED
#include "XML/XML.h"
#endif
#ifndef XML_XMLString_INCLUDED
#include "XML/XMLString.h"
#endif
#ifndef DOM_DOMObject_INCLUDED
#include "DOM/DOMObject.h"
#endif


XML_BEGIN


class EventTarget;
class Document;


class XML_API Event: public DOMObject
	/// The Event interface is used to provide contextual information about an event
	/// to the handler processing the event. An object which implements the Event
	/// interface is generally passed as the first parameter to an event handler.
	/// More specific context information is passed to event handlers by deriving
	/// additional interfaces from Event which contain information directly relating
	/// to the type of event they accompany. These derived interfaces are also implemented
	/// by the object passed to the event listener.
{
public:
	enum PhaseType
	{
		CAPTURING_PHASE = 1, /// The event is currently being evaluated at the target EventTarget. 
		AT_TARGET       = 2, /// The current event phase is the bubbling phase. 
		BUBBLING_PHASE  = 3  /// The current event phase is the capturing phase. 
	};

	const XMLString& type() const;
		/// The name of the event (case-insensitive). The name must be an XML name.

	EventTarget* target() const;
		/// Used to indicate the EventTarget to which the event was originally dispatched.

	EventTarget* currentTarget() const;
		/// Used to indicate the EventTarget whose EventListeners are currently being 
		/// processed. This is particularly useful during capturing and bubbling.

	PhaseType eventPhase() const;
		/// Used to indicate which phase of event flow is currently being evaluated.

	bool bubbles() const;
		/// Used to indicate whether or not an event is a bubbling event. 
		/// If the event can bubble the value is true, else the value is false.

	bool cancelable() const;
		/// Used to indicate whether or not an event can have its default action 
		/// prevented. If the default action can be prevented the value is
		/// true, else the value is false.

	Foundation::UInt64 timeStamp() const;
		/// Used to specify the time (in milliseconds relative to the epoch) at 
		/// which the event was created. Due to the fact that some
		/// systems may not provide this information the value of timeStamp may 
		/// be not available for all events. When not available, a
		/// value of 0 will be returned. Examples of epoch time are the time of the 
		/// system start or 0:0:0 UTC 1st January 1970.
		/// This implementation always returns 0.

	void stopPropagation();
		/// The stopPropagation method is used prevent further propagation of an 
		/// event during event flow. If this method is called by
		/// any EventListener the event will cease propagating through the tree. 
		/// The event will complete dispatch to all listeners on the
		/// current EventTarget before event flow stops. This method may be used 
		/// during any stage of event flow. 

	void preventDefault();
		/// If an event is cancelable, the preventDefault method is used to signify 
		/// that the event is to be canceled, meaning any default
		/// action normally taken by the implementation as a result of 
		/// the event will not occur. If, during any stage of event flow, the
		/// preventDefault method is called the event is canceled. Any default 
		/// action associated with the event will not occur. Calling
		/// this method for a non-cancelable event has no effect. Once 
		/// preventDefault has been called it will remain in effect throughout
		/// the remainder of the event's propagation. This method may be 
		/// used during any stage of event flow. 

	void initEvent(const XMLString& eventType, bool canBubble, bool isCancelable);
		/// The initEvent method is used to initialize the value of an 
		/// Event created through the DocumentEvent interface. This method
		/// may only be called before the Event 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. If called from 
		/// a subclass of Event interface only the values specified in the 
		/// initEvent method are modified, all other attributes are left unchanged. 

	void autoRelease();

protected:
	Event(Document* pOwnerDocument, const XMLString& type);
	Event(Document* pOwnerDocument, const XMLString& type, EventTarget* pTarget, bool canBubble, bool isCancelable);
	~Event();

	bool isCanceled() const;
		/// returns true if and only if the event has been cancelled.

	bool isStopped() const;
		/// returns true if and only if propagation of the event has been stopped.

	void setTarget(EventTarget* pTarget);
		/// sets the target

	void setCurrentPhase(PhaseType phase);
		/// sets the current phase

	void setCurrentTarget(EventTarget* pTarget);
		/// sets the current target

private:
	Document*    _pOwner;
	XMLString    _type;
	EventTarget* _pTarget;
	EventTarget* _pCurrentTarget;
	PhaseType    _currentPhase;
	bool         _bubbles;
	bool         _cancelable;
	bool         _canceled;
	bool         _stopped;
	
	friend class AbstractNode;
};


//
// inlines
//
inline const XMLString& Event::type() const
{
	return _type;
}


inline EventTarget* Event::target() const
{
	return _pTarget;
}


inline EventTarget* Event::currentTarget() const
{
	return _pCurrentTarget;
}


inline Event::PhaseType Event::eventPhase() const
{
	return _currentPhase;
}


inline bool Event::bubbles() const
{
	return _bubbles;
}


inline bool Event::cancelable() const
{
	return _cancelable;
}


inline Foundation::UInt64 Event::timeStamp() const
{
	return 0;
}


inline bool Event::isCanceled() const
{
	return _canceled;
}


inline bool Event::isStopped() const
{
	return _stopped;
}


XML_END


#endif // DOM_Event_INCLUDED

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品免费观看视频| 波多野结衣中文字幕一区| 豆国产96在线|亚洲| 欧美少妇性性性| 中文文精品字幕一区二区| 午夜久久久久久| 91精品免费在线观看| 国产三区在线成人av| 亚洲午夜精品在线| 97精品久久久午夜一区二区三区| 91麻豆精品91久久久久久清纯| √…a在线天堂一区| 国产精品综合二区| 欧美sm极限捆绑bd| 日韩成人午夜精品| 欧美伊人久久大香线蕉综合69 | 成人午夜视频福利| 亚洲精品一区二区三区福利| 亚洲高清在线精品| 色婷婷av一区| 一区二区三区在线免费视频| 成av人片一区二区| 日韩一区在线看| 成人激情动漫在线观看| 久久九九久精品国产免费直播| 久久精品二区亚洲w码| 日韩欧美一区在线| 轻轻草成人在线| 欧美精品三级在线观看| 亚洲国产视频a| 欧美三片在线视频观看| 亚洲第一电影网| 欧美精品久久久久久久久老牛影院 | 麻豆中文一区二区| 欧美成人猛片aaaaaaa| 精品午夜久久福利影院| 精品第一国产综合精品aⅴ| 九九热在线视频观看这里只有精品| 欧美群妇大交群中文字幕| 日韩一区精品字幕| 精品处破学生在线二十三| 国产成人亚洲综合a∨猫咪| 中文字幕一区二区三区乱码在线 | 亚洲自拍偷拍九九九| 在线日韩av片| 日本中文一区二区三区| 国产欧美日韩精品在线| 成人一级片网址| 亚洲欧洲中文日韩久久av乱码| 972aa.com艺术欧美| 亚洲午夜私人影院| 日韩一二三区不卡| 国产黄人亚洲片| 亚洲美女视频在线观看| 欧美视频在线一区| 六月丁香综合在线视频| 国产清纯白嫩初高生在线观看91 | 欧美性三三影院| 日韩和的一区二区| 久久久精品国产免费观看同学| 成人美女在线观看| 午夜久久久久久久久| 久久人人超碰精品| 91亚洲国产成人精品一区二三| 亚洲综合偷拍欧美一区色| 日韩一级免费观看| 91小视频在线免费看| 日韩电影在线免费| 国产精品日产欧美久久久久| 欧美日本韩国一区二区三区视频| 黄一区二区三区| 亚洲一区二区视频| 亚洲国产欧美在线| 久久久久久麻豆| 91国偷自产一区二区开放时间| 老司机一区二区| 亚洲影视在线播放| 久久综合九色综合欧美亚洲| 在线观看欧美精品| 成人av在线资源网| 日产欧产美韩系列久久99| 欧美国产禁国产网站cc| 欧美一级日韩一级| 91麻豆精东视频| 国产东北露脸精品视频| 免费人成网站在线观看欧美高清| 亚洲三级电影全部在线观看高清| 精品噜噜噜噜久久久久久久久试看 | 亚洲在线观看免费| 亚洲图片欧美激情| 国产喂奶挤奶一区二区三区| 91精品国产黑色紧身裤美女| 在线视频国产一区| 99久久久免费精品国产一区二区| 天堂久久一区二区三区| 亚洲最快最全在线视频| 国产精品免费av| 国产欧美日本一区二区三区| 日韩欧美激情一区| 欧美日韩一级片在线观看| 色狠狠av一区二区三区| 99久久免费视频.com| 处破女av一区二区| 成人综合在线网站| 国产91丝袜在线18| 日本大胆欧美人术艺术动态| 亚洲一区二三区| 一区二区三区日韩欧美精品| 国产精品国产三级国产专播品爱网 | 精品国产乱码久久久久久蜜臀| 欧美三片在线视频观看| 欧美午夜免费电影| 欧美日韩国产高清一区二区| 欧美zozozo| www国产精品av| 久久久久久99久久久精品网站| 26uuu精品一区二区在线观看| 欧美一区二区精品在线| 日韩欧美中文字幕制服| 欧美大片在线观看一区| 麻豆精品久久久| 欧美xfplay| 精品入口麻豆88视频| 精品国产三级电影在线观看| 精品av久久707| 国产精品天美传媒| 亚洲精品自拍动漫在线| 亚洲h在线观看| 秋霞影院一区二区| 国产一区在线精品| 风间由美一区二区av101| 99精品国产99久久久久久白柏| 99久久精品国产一区| 欧美少妇xxx| 日韩精品中午字幕| 欧美国产激情一区二区三区蜜月| 专区另类欧美日韩| 五月婷婷久久丁香| 国产精品一区二区x88av| 93久久精品日日躁夜夜躁欧美| 欧美亚洲高清一区| 欧美成人乱码一区二区三区| 国产调教视频一区| 伊人婷婷欧美激情| 久久国产精品无码网站| 国产成人免费xxxxxxxx| 欧美色老头old∨ideo| 欧美精品一区视频| 亚洲精品国产一区二区精华液| 日韩影院在线观看| 国产精品1区二区.| 欧美三级三级三级爽爽爽| 精品国产一区二区国模嫣然| 亚洲欧洲在线观看av| 日韩av高清在线观看| 成人国产免费视频| 日韩欧美精品在线视频| 亚洲久本草在线中文字幕| 国内精品在线播放| 欧美性xxxxx极品少妇| 国产日韩av一区| 天天影视色香欲综合网老头| av在线不卡电影| 精品日韩一区二区三区| 亚洲激情成人在线| 国产成人综合在线观看| 91精品中文字幕一区二区三区| 国产精品短视频| 久草热8精品视频在线观看| 欧美视频一区二区三区四区| 欧美极品xxx| 国产在线播精品第三| 欧美日韩综合不卡| 亚洲天堂成人网| 成人一区二区在线观看| 久久久久久久久97黄色工厂| 日韩精品色哟哟| 在线国产电影不卡| 亚洲欧美综合另类在线卡通| 国产一区二区三区四区五区美女 | 精品视频免费在线| 亚洲国产精品av| 国产精品一级片| 精品国产3级a| 久久福利视频一区二区| 9191国产精品| 亚洲v中文字幕| 欧美日韩国产大片| 亚洲一区二区三区精品在线| 91在线精品一区二区三区| 国产精品理伦片| 成av人片一区二区| 中文字幕一区二区三| 成人福利在线看| 国产精品大尺度| 91一区二区三区在线观看| 中文字幕亚洲一区二区av在线| 99久久精品国产毛片| 一区二区三区免费网站| 欧美伊人久久久久久久久影院|