com.levigo.jadice.swing.thumbnailview
Class ThumbnailNavigationTool
java.lang.Object
com.levigo.jadice.swing.tool.Tool
com.levigo.jadice.swing.thumbnailview.ThumbnailNavigationTool
- All Implemented Interfaces:
- MenuContributor
public class ThumbnailNavigationTool
- extends Tool
A tool used to navigate a Document inside a PageView
from within a ThumbnailView
.
Methods inherited from class com.levigo.jadice.swing.tool.Tool |
contribute, getActivationFeedback, getActivationRequest, getActivationRequestForKeyPressed, getActivationRequestForMouseDragged, getActivationRequestForMousePressed, getCursor, getDispatchPriority, getManager, getRenderPriority, handleEditEvent, handleKeyPressed, handleKeyReleased, handleKeyTyped, handleMouseClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseMoved, handleMouseWheelMoved, propagatePropertyChange, render, setActive, setCursor, setEnabled, setManager, setStatusFeedback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThumbnailNavigationTool
public ThumbnailNavigationTool()
handleMousePressed
protected void handleMousePressed(MouseEditEvent e,
boolean isActive)
- Description copied from class:
Tool
- Invoked when a mouse button has been pressed on a component.
- Overrides:
handleMousePressed
in class Tool
isActive
- whether this tool is currently active
handleMouseReleased
protected void handleMouseReleased(MouseEditEvent e,
boolean isActive)
- Description copied from class:
Tool
- Invoked when a mouse button has been released on a component.
- Overrides:
handleMouseReleased
in class Tool
isActive
- whether this tool is currently active
getNavigationClickCount
public int getNavigationClickCount()
- Get the minimum number of mouse clicks required to trigger navigation to the clicked page.
- Returns:
- the navigationClickCount
setNavigationClickCount
public void setNavigationClickCount(int navigationClickCount)
- Set the minimum number of mouse clicks required to trigger navigation to the clicked page.
Useful values are 1 (single click navigates) or 2 (double click navigates) only.
- Parameters:
navigationClickCount
- the navigationClickCount to set
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.