|
|||||||||
| 前のクラス 次のクラス | フレーム フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseEvent
com.extjs.gxt.ui.client.event.DomEvent
public class DomEvent
| フィールド 概要 | |
|---|---|
com.google.gwt.user.client.Event |
event
domイベント |
| クラス com.extjs.gxt.ui.client.event.BaseEvent から継承されたフィールド |
|---|
doit, source, type |
| コンストラクタ 概要 | |
|---|---|
DomEvent(com.google.gwt.user.client.Event event)
新規の基本的なイベントを作成します。 |
|
| メソッド 概要 | |
|---|---|
void |
cancelBubble()
与えられたイベントのバブリングを中止します。 |
int |
getClientX()
イベントのx座標を返します。 |
int |
getClientY()
イベントのy座標を返します。 |
int |
getEventType()
domイベントのタイプを返します。 |
int |
getKeyCode()
このイベントに関連するキーコードを返します。 |
com.google.gwt.user.client.Element |
getTarget()
イベントのターゲットの要素を返します。 |
El |
getTarget(java.lang.String selector,
int maxDepth)
指定されたセレクタを使用して一致する親を返します。 |
El |
getTargetEl()
イベントのターゲット要素を返します。 |
Point |
getXY()
マウスの位置を返します。 |
boolean |
hasModifier()
ctrl,alt,shift,もしくはメタキーが押される場合に trueを返します。 |
boolean |
isAltKey()
altキーが押される場合に trueを返します。 |
boolean |
isControlKey()
ctrlキー(もしくはメタキー)が押される場合に trueを返します。 |
boolean |
isRightClick()
イベントが右クリックの場合 trueを返します。 |
boolean |
isShiftKey()
shiftキーが押される場合に trueを返します。 |
boolean |
isSpecialKey()
キーが"スペシャル"キーの場合にtrueを返します。 |
boolean |
isSpecialKey(int k)
キーが"スペシャル"キーの場合にtrueを返します。 |
void |
preventDefault()
ブラウザが与えられたイベントのデフォルトの動作を行わないようにします。 |
void |
stopEvent()
イベントを停止します。(preventDefaultとcancelBubble) |
boolean |
within(com.google.gwt.user.client.Element element)
このイベントのターゲットが、与えられた要素の子と同じ、もしくは子である場合に trueを返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールド 詳細 |
|---|
public com.google.gwt.user.client.Event event
| コンストラクタ 詳細 |
|---|
public DomEvent(com.google.gwt.user.client.Event event)
event - domイベント| メソッド 詳細 |
|---|
public void cancelBubble()
public int getClientX()
public int getClientY()
public int getEventType()
public int getKeyCode()
public com.google.gwt.user.client.Element getTarget()
null
public El getTarget(java.lang.String selector,
int maxDepth)
selector - CSSセレクタmaxDepth - 探索する親の最大数
public El getTargetEl()
nullpublic Point getXY()
public boolean hasModifier()
trueを返します。
public boolean isAltKey()
trueが返されます。
public boolean isControlKey()
trueを返します。
public boolean isRightClick()
trueを返します。
public boolean isShiftKey()
trueを返します。
public boolean isSpecialKey()
public boolean isSpecialKey(int k)
k - キーコード
public void preventDefault()
public void stopEvent()
public boolean within(com.google.gwt.user.client.Element element)
trueを返します。
element - 要素
|
|||||||||
| 前のクラス 次のクラス | フレーム フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||