public class RotateClockwise extends ViewerWidget implements ThumbnailPanel.ThumbnailSelectionAction
This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.
Constructor and Description |
---|
RotateClockwise() |
RotateClockwise(String name,
int diff) |
Modifier and Type | Method and Description |
---|---|
protected ActionListener |
createActionListener()
Return an ActionListener that will be called when this Widget is activated.
|
Action |
getAction(ThumbnailPanel.View view)
Return an Action for the specified View, or
null if this
action is not appropriate for the View (for example, because it edits
the Document and the ThumbnailPanel.View.isEditable() method returns false |
void |
initialize(PDFViewer viewer)
Called when the feature is first added to a viewer
|
boolean |
isButtonEnabledByDefault()
Return true if the button component for this widget is enabled by default.
|
action, getComponent, getIcon, getViewer, isDocumentRequired, isMenuEnabledByDefault, setButton, setComponent, setDocumentRequired, setMenu, setMenu, setToolBarEnabled, setToolBarEnabledAlways, setToolBarFloatable, setToolBarFloating, toString
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, isEnabledByDefault, setFeatureName, teardown
public RotateClockwise()
public RotateClockwise(String name, int diff)
protected ActionListener createActionListener()
ViewerWidget
createActionListener
in class ViewerWidget
Quit.createActionListener()
public void initialize(PDFViewer viewer)
ViewerFeature
initialize
in class ViewerWidget
public boolean isButtonEnabledByDefault()
ViewerWidget
isButtonEnabledByDefault
in class ViewerWidget
public Action getAction(ThumbnailPanel.View view)
ThumbnailPanel.ThumbnailSelectionAction
null
if this
action is not appropriate for the View (for example, because it edits
the Document and the ThumbnailPanel.View.isEditable()
method returns falsegetAction
in interface ThumbnailPanel.ThumbnailSelectionAction
Copyright © 2001-2017 Big Faceless Organization