public class TLcyLspPrintContext extends ALcyPrintContext<ILspView>
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
.
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose this print context.
|
int |
getPageColumnCount()
Returns the used column count.
|
int |
getPageRowCount()
Returns the used row count.
|
Printable |
getPrintable()
Returns the
Printable that prints the view. |
TLcyPrintableMapComponent<ILspView> |
getPrintableComponent()
Returns the printable component that represents the content of the pages.
|
void |
invalidate()
Invalidates the state of this
ALcyPrintContext . |
addChangeListener, firePrintableComponentChangeEvent, getProperties, getView, removeChangeListener
public TLcyPrintableMapComponent<ILspView> getPrintableComponent()
public Printable getPrintable()
ALcyPrintContext
Printable
that prints the view.getPrintable
in class ALcyPrintContext<ILspView>
Printable
that prints the view.public int getPageColumnCount()
public int getPageRowCount()
public void invalidate()
ALcyPrintContext
ALcyPrintContext
. It can
for example be used to refresh the print preview.invalidate
in class ALcyPrintContext<ILspView>
public void dispose()
ALcyPrintContext
dispose
in class ALcyPrintContext<ILspView>