Class TLcyLspPrintContext
java.lang.Object
com.luciad.lucy.addons.print.ALcyPrintContext<ILspView>
com.luciad.lucy.addons.print.lightspeed.TLcyLspPrintContext
- All Implemented Interfaces:
ILcdChangeSource
Represents all that is needed to print, preview, modify, ... a component with a Lightspeed view
that can be printed to one or more pages.
The method getPrintableComponent() returns the TLcyPrintableMapComponent
corresponding to the page layout and its content. This is the full component containing
the main map component and all extra elements as eg. the header text, the scale icon,...
Instances of this object are created internally in the Lightspeed print add-on. They are for example used
as a parameter in the methods of TLcyLspPrintPreviewFactory.
- Since:
- 2013.0
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose this print context.intReturns the used column count.intReturns the used row count.Returns thePrintablethat prints the view.Returns the printable component that represents the content of the pages.voidInvalidates the state of thisALcyPrintContext.Methods inherited from class com.luciad.lucy.addons.print.ALcyPrintContext
addChangeListener, firePrintableComponentChangeEvent, getProperties, getView, removeChangeListener
-
Method Details
-
getPrintableComponent
Returns the printable component that represents the content of the pages.- Returns:
- the printable component
-
getPrintable
Description copied from class:ALcyPrintContextReturns thePrintablethat prints the view.- Specified by:
getPrintablein classALcyPrintContext<ILspView>- Returns:
- the
Printablethat prints the view.
-
getPageColumnCount
public int getPageColumnCount()Returns the used column count.- Returns:
- the used column count.
-
getPageRowCount
public int getPageRowCount()Returns the used row count.- Returns:
- the used row count.
-
invalidate
public void invalidate()Description copied from class:ALcyPrintContextInvalidates the state of thisALcyPrintContext. It can for example be used to refresh the print preview.- Specified by:
invalidatein classALcyPrintContext<ILspView>
-
dispose
public void dispose()Description copied from class:ALcyPrintContextDispose this print context.- Specified by:
disposein classALcyPrintContext<ILspView>
-