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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
Check if thisMouseEvent
is aDoubleClickEvent
void
setMouseEvent
(com.google.gwt.event.dom.client.MouseEvent<?> mouseEvent) Methods inherited from class com.levigo.jadice.web.client.commands.AbstractPageViewCommand
canExecute, getPageView, setPageView
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractContextCommand
getContext, propagateContextChange, setContext
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, execute, execute, getKey, isSelected, isSelected, setKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
clearInjections
in classInjectedCommand
-
setMouseEvent
public void setMouseEvent(com.google.gwt.event.dom.client.MouseEvent<?> mouseEvent) -
isDoubleClicked
public boolean isDoubleClicked()Check if thisMouseEvent
is aDoubleClickEvent
- Returns:
- true if it is a
DoubleClickEvent
-