org.faceless.pdf2.viewer2.feature
Class CropPage

java.lang.Object
  extended by org.faceless.pdf2.viewer2.ViewerFeature
      extended by org.faceless.pdf2.viewer2.feature.CropPage
All Implemented Interfaces:
AreaSelectionAction

public class CropPage
extends ViewerFeature
implements AreaSelectionAction


Constructor Summary
CropPage()
           
 
Method Summary
 String getDescription()
          Get the name of this Action, to appear in the popup menu.
 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, initialize, isEnabledByDefault, setFeatureName, teardown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CropPage

public CropPage()
Method Detail

getDescription

public String getDescription()
Description copied from interface: AreaSelectionAction
Get the name of this Action, to appear in the popup menu.

Specified by:
getDescription in interface AreaSelectionAction

selectArea

public void selectArea(PagePanel panel,
                       Rectangle2D r)
Description copied from interface: AreaSelectionAction
Invoked when the area is selected.

Specified by:
selectArea in interface AreaSelectionAction
Parameters:
panel - the PagePanel the area was selected on
r - the selected area


Copyright © 2001-2010 Big Faceless Organization