|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.util.BaseEventPreview
public class BaseEventPreview
Specialized EventPreview. Provides auto hide support and the
ability to add elements which should be ignored when auto hide is enabed.
| Constructor Summary | |
|---|---|
BaseEventPreview()
|
|
| Method Summary | |
|---|---|
void |
add()
Adds this instance to the event preview stack. |
CompositeElement |
getIgnoreList()
Returns the ignore list. |
boolean |
isAutoHide()
Returns true if auto hide is enabled. |
boolean |
isAutoHideAllowEvent()
Returns true if the auto hide event is cancelled. |
boolean |
onEventPreview(com.google.gwt.user.client.Event event)
|
boolean |
onPreview(PreviewEvent pe)
Called when a preview event is received. |
void |
remove()
Removes event preview. |
void |
setAutoHide(boolean autoHide)
True to remove the event preview when the user clicks on an element not it the ignore list (default to true). |
void |
setAutoHideCancelEvent(boolean autoHideAllowEvent)
Sets if the event that removes event preview is cancelled (default to true). |
void |
setIgnoreList(CompositeElement ignoreList)
List of elements to be ignored when autoHide is enabled. |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, fireEvent, fireEvent, getFiresEvents, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseEventPreview()
| Method Detail |
|---|
public void add()
public boolean isAutoHide()
public boolean isAutoHideAllowEvent()
public boolean onEventPreview(com.google.gwt.user.client.Event event)
onEventPreview in interface com.google.gwt.user.client.EventPreviewpublic boolean onPreview(PreviewEvent pe)
pe - the component event
public void remove()
public void setAutoHide(boolean autoHide)
autoHide - the auto hide statepublic void setAutoHideCancelEvent(boolean autoHideAllowEvent)
setAutoHide(boolean) is true.
autoHideAllowEvent - true to cancel the eventpublic void setIgnoreList(CompositeElement ignoreList)
ignoreList - the ignore listpublic CompositeElement getIgnoreList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||