|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.viewer2.ViewerFeature
org.faceless.pdf2.viewer2.feature.CropPage
public class CropPage
Constructor Summary | |
---|---|
CropPage()
|
Method Summary | |
---|---|
void |
documentUpdated(DocumentPanelEvent event)
Called when an DocumentPanelEvent is raised |
String |
getDescription()
Get the name of this Action, to appear in the popup menu. |
void |
initialize(PDFViewer viewer)
Called when the feature is first added to a viewer |
boolean |
isEnabled()
Indicates whether this action is enabled. |
void |
selectArea(PagePanel panel,
Rectangle2D r)
Invoked when the area is selected. |
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature |
---|
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, isEnabledByDefault, setFeatureName, teardown, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CropPage()
Method Detail |
---|
public boolean isEnabled()
AreaSelectionAction
isEnabled
in interface AreaSelectionAction
public void initialize(PDFViewer viewer)
ViewerFeature
initialize
in class ViewerFeature
public void documentUpdated(DocumentPanelEvent event)
DocumentPanelListener
DocumentPanelEvent
is raised
documentUpdated
in interface DocumentPanelListener
public String getDescription()
AreaSelectionAction
getDescription
in interface AreaSelectionAction
public void selectArea(PagePanel panel, Rectangle2D r)
AreaSelectionAction
selectArea
in interface AreaSelectionAction
panel
- the PagePanel the area was selected onr
- the selected area
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |