Class AbstractMouseCommand
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.commands.AbstractContextCommand
com.levigo.jadice.web.client.commands.AbstractPageViewCommand
com.levigo.jadice.web.client.commands.AbstractMouseCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractBookmarkCommand,AbstractDocumentCommand,com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
This class is made to manage commands which can be triggered by mouse events.
It is used to control the executions of certain commands depending on the mouse event type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleanCheck if thisMouseEventis aDoubleClickEventvoidsetMouseEvent(com.google.gwt.event.dom.client.MouseEvent<?> mouseEvent) Methods inherited from class com.levigo.jadice.web.client.commands.AbstractPageViewCommand
canExecute, getPageView, setPageViewMethods inherited from class com.levigo.jadice.web.client.commands.AbstractContextCommand
getContext, propagateContextChange, setContextMethods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, execute, execute, getKey, isSelected, isSelected, setKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.levigo.jadice.web.client.util.command.Command
getID, isAvailable, isAvailable
-
Constructor Details
-
AbstractMouseCommand
public AbstractMouseCommand()
-
-
Method Details
-
clearInjections
protected void clearInjections()- Overrides:
clearInjectionsin classInjectedCommand
-
setMouseEvent
public void setMouseEvent(com.google.gwt.event.dom.client.MouseEvent<?> mouseEvent) -
isDoubleClicked
public boolean isDoubleClicked()Check if thisMouseEventis aDoubleClickEvent- Returns:
- true if it is a
DoubleClickEvent
-