com.levigo.jadice.swing.commands
Class CopyRasterizedSelectionCommand

java.lang.Object
  extended by com.levigo.util.swing.action.injection.InjectedCommand
      extended by com.levigo.util.swing.action.AbstractContextCommand
          extended by com.levigo.jadice.swing.commands.AbstractPageViewCommand
              extended by com.levigo.jadice.swing.commands.AbstractSelectionCommand
                  extended by com.levigo.jadice.swing.commands.CopyRasterizedSelectionCommand
All Implemented Interfaces:
Command

Deprecated. This implementation doesn't respect permissions. Please use the corresponding command in jadice appbase. This command might be removed in a future release.

@Deprecated
public class CopyRasterizedSelectionCommand
extends AbstractSelectionCommand


Constructor Summary
CopyRasterizedSelectionCommand()
          Deprecated.  
 
Method Summary
protected  void execute()
          Deprecated. This method is called in order to execute the command.
 int getExportResolution()
          Deprecated. Return the export resolution.
 PageView getPageView()
          Deprecated. Returns the page view.
protected  BufferedImage getRendering(Page page, Rectangle2D area)
          Deprecated.  
 boolean isAvailable()
          Deprecated. Returns an indicator whether the command is available and therefore integrable.
 void setExportResolution(int exportResolution)
          Deprecated. Set the resolution at which to export the page images.
 void setPageView(PageView pageView)
          Deprecated. Invoked by command injection.
 
Methods inherited from class com.levigo.jadice.swing.commands.AbstractSelectionCommand
canExecute, clearFirstSelection, getFirstSelection, getSelections
 
Methods inherited from class com.levigo.util.swing.action.AbstractContextCommand
getContext, propagateContextChange, setContext
 
Methods inherited from class com.levigo.util.swing.action.injection.InjectedCommand
canExecute, execute, getKey, isSelected, isSelected, setKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyRasterizedSelectionCommand

public CopyRasterizedSelectionCommand()
Deprecated. 
Method Detail

execute

protected void execute()
Deprecated. 
Description copied from class: InjectedCommand
This method is called in order to execute the command. It is only called, after the arguments have been validated and injected and only if InjectedCommand.canExecute() has returned true.

Specified by:
execute in class InjectedCommand

isAvailable

public boolean isAvailable()
Deprecated. 
Description copied from interface: Command
Returns an indicator whether the command is available and therefore integrable.

Specified by:
isAvailable in interface Command
Overrides:
isAvailable in class InjectedCommand
Returns:
true - available false - not available
See Also:
Command.isAvailable()

getRendering

protected BufferedImage getRendering(Page page,
                                     Rectangle2D area)
Deprecated. 

setExportResolution

public void setExportResolution(int exportResolution)
Deprecated. 
Set the resolution at which to export the page images. The default resolution is 72 DPI.

Parameters:
exportResolution -

getExportResolution

public int getExportResolution()
Deprecated. 
Return the export resolution.

Returns:
the resolution in DPI.

getPageView

public PageView getPageView()
Deprecated. 
Description copied from class: AbstractPageViewCommand
Returns the page view.

Overrides:
getPageView in class AbstractPageViewCommand
Returns:
page view

setPageView

public void setPageView(PageView pageView)
Deprecated. 
Description copied from class: AbstractPageViewCommand
Invoked by command injection.

Developers should not invoke this method in any direct way.

Overrides:
setPageView in class AbstractPageViewCommand


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.