Class SelectPageTool
java.lang.Object
com.levigo.jadice.web.client.tool.Tool
com.levigo.jadice.web.client.tools.SelectPageTool
- All Implemented Interfaces:
MenuContributor
This tool is responsible to select an sort pages. Additionally
ExportHandler and
ImportHandler can be registered to handle drag and drop events.-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.web.client.tool.Tool
Tool.ActivationRequest -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBy default the clientId is written in the Drag and Drop datastore.Fields inherited from class com.levigo.jadice.web.client.tool.Tool
DEFAULT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ThumbnailViewprotected voidhandleMousePressed(MouseEditEvent e, boolean isActive) Invoked when a mouse button has been pressed on a component.protected voidhandleMouseReleased(MouseEditEvent e, boolean isActive) Invoked when a mouse button has been released on a component.protected voidsetDraggable(com.google.gwt.dom.client.Element element, String draggable) Workaround for https://github.com/gwtproject/gwt/issues/9525protected voidsetManager(ToolManager manager) Receives theToolManagerinstance, which theToolimplementation has been registered for.protected voidMethods inherited from class com.levigo.jadice.web.client.tool.Tool
contribute, ensureDebugId, getActivationFeedback, getActivationFeedback, getActivationRequest, getActivationRequestForKeyPressed, getActivationRequestForMouseDragged, getActivationRequestForMousePressed, getActivationRequestForTouchMove, getActivationRequestForTouchStart, getDispatchPriority, getManager, getRenderPriority, handleEditEvent, handleGestureChange, handleGestureEnd, handleGestureStart, handleKeyPressed, handleKeyReleased, handleKeyTyped, handleMouseClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseMoved, handleMouseWheelMoved, handlePointerDown, handlePointerMove, handlePointerUp, handleTouchEnd, handleTouchMove, handleTouchStart, propagatePropertyChange, render, setActive, setCursor, setCursor, setEnabled, setStatusFeedback
-
Field Details
-
CLIENT_ID_TYPE
By default the clientId is written in the Drag and Drop datastore. This marks the format under which the clientId can be retrieved in aDropEvent- See Also:
-
-
Constructor Details
-
SelectPageTool
public SelectPageTool()
-
-
Method Details
-
setManager
Description copied from class:ToolReceives theToolManagerinstance, which theToolimplementation has been registered for. If theToolisderegisteredthis method will be called with null.- Overrides:
setManagerin classTool- Parameters:
manager- theToolManager
-
handleMousePressed
Description copied from class:ToolInvoked when a mouse button has been pressed on a component.- Overrides:
handleMousePressedin classTool- Parameters:
e- the eventisActive- whether this tool is currently active
-
handleMouseReleased
Description copied from class:ToolInvoked when a mouse button has been released on a component.- Overrides:
handleMouseReleasedin classTool- Parameters:
e- the eventisActive- whether this tool is currently active
-
updateDraggable
protected void updateDraggable() -
setDraggable
Workaround for https://github.com/gwtproject/gwt/issues/9525- Parameters:
element- The element on which the draggable attribute should be setdraggable- true or false
-
getThumbnailView
-
getExportHandlers
-
getImportHandlers
-