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 String
By 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 ThumbnailView
protected void
handleMousePressed
(MouseEditEvent e, boolean isActive) Invoked when a mouse button has been pressed on a component.protected void
handleMouseReleased
(MouseEditEvent e, boolean isActive) Invoked when a mouse button has been released on a component.protected void
setDraggable
(com.google.gwt.dom.client.Element element, String draggable) Workaround for https://github.com/gwtproject/gwt/issues/9525protected void
setManager
(ToolManager manager) Receives theToolManager
instance, which theTool
implementation has been registered for.protected void
Methods 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:Tool
Receives theToolManager
instance, which theTool
implementation has been registered for. If theTool
isderegistered
this method will be called with null.- Overrides:
setManager
in classTool
- Parameters:
manager
- theToolManager
-
handleMousePressed
Description copied from class:Tool
Invoked when a mouse button has been pressed on a component.- Overrides:
handleMousePressed
in classTool
- Parameters:
e
- the eventisActive
- whether this tool is currently active
-
handleMouseReleased
Description copied from class:Tool
Invoked when a mouse button has been released on a component.- Overrides:
handleMouseReleased
in 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
-