|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use BasePageFormat | |
| com.tensegrity.gui.graphdocument | This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents. |
| com.tensegrity.gui.printing | |
| com.tensegrity.gui.swing.document | This package contains all of the current document implementations for use in a swing-based environment. |
| com.tensegrity.gui.swing.print | |
| com.tensegrity.gui.swt.document | |
| com.tensegrity.gui.swt.print | |
| Uses of BasePageFormat in com.tensegrity.gui.graphdocument |
| Methods in com.tensegrity.gui.graphdocument that return BasePageFormat | |
BasePageFormat |
GraphDocument.getPageFormat()
Returns the this documents PageFormat instance.
|
| Methods in com.tensegrity.gui.graphdocument with parameters of type BasePageFormat | |
void |
GraphDocument.setPageFormat(BasePageFormat format)
Sets a PageFormat for this document. |
| Uses of BasePageFormat in com.tensegrity.gui.printing |
| Fields in com.tensegrity.gui.printing declared as BasePageFormat | |
static BasePageFormat |
PrintUtil.DEFAULT_PAGEFORMAT
The default PageFormat based on DinA4 and a Portrait orientation. |
| Methods in com.tensegrity.gui.printing that return BasePageFormat | |
BasePageFormat |
PrintContext.getPageFormat(java.lang.String paperName)
Returns a BasePageFormat instance specified by the
given paper name. |
BasePageFormat |
PrintContext.getPageFormat(BasePageFormat bpf)
Returns a new BasePageFormat instance based on the
given BasePageFormat object. |
static BasePageFormat |
PrintUtil.getPageFormat(java.lang.String paperName,
int orientation)
Returns a PageFormat for the given Paper type, which will be validated by the PrinterJob to determine the printable area. |
static BasePageFormat |
BasePageFormat.build(AttributeList list)
The build method tries to retrieve all the required values from the given AttributeList by using the BuilderUtilities.getAttributeValueMayBeNull(AttributeList, String, Class)
method. |
abstract BasePageFormat |
BasePageFormat.getCopy()
Returns a copy of this BasePageFormat. |
| Methods in com.tensegrity.gui.printing with parameters of type BasePageFormat | |
BasePageFormat |
PrintContext.getPageFormat(BasePageFormat bpf)
Returns a new BasePageFormat instance based on the
given BasePageFormat object. |
static boolean |
PrintUtil.validMargins(BasePageFormat aFormat)
This method simply checks whether the margins of the parameter format are greater or equal 0.0. |
static void |
PrintUtil.adjustBrokenMargins(BasePageFormat cpf)
This method tries to adjust the margins of a page format, which margins seem broken. |
static PrintUtil.BookParameter |
PrintUtil.calculateRowsAndColumns(BasePageFormat cpf,
double pageWidth,
double pageHeight,
Boundary bboxComposites)
The method calcuatRowsAndColumns calculates the required number of pages according to a page format, current page width and height, view's metrics. |
static PrintUtil.BookParameter |
PrintUtil.createBookParameter(BasePageFormat pageFormat,
VisualGraphView view)
Creates a BookParameter instance which describes the amount
of pages needed to print the given view with the specified page format. |
static PrintUtil.BookParameter |
PrintUtil.createBookParameter(BasePageFormat pageFormat,
VisualGraphView view,
int dpi)
Creates a BookParameter instance which describes the amount
of pages needed to print the given view with the specified page format
using a certain resolution. |
static boolean |
PrintUtil.checkMargins(BasePageFormat aFormat)
This method validates the margins of the given CustomPageFormat parameter against the default
PageFormat of this paper type. |
static boolean |
PrintUtil.differsFromDefaultMargin(BasePageFormat aFormat)
Checks whether one of the margins of the given PageFormat differs from the original default margin. |
static void |
PrintUtil.adjustMargins(BasePageFormat aFormat)
Adjusts the margins of a PageFormat to the default margins of the original imageable size, if a certain margin is out of the imageable bounds. |
static Renderer |
PrintUtil.getRenderer(BasePageFormat cpf,
double aViewscaleX,
double aViewscaleY)
Method getRenderer returns the renderer according to the parameter PageFormat quality setting. |
boolean |
BasePageFormat.compare(BasePageFormat aFormat)
The compare method helps users of this class to compare
two BasePageFormat instances. |
| Constructors in com.tensegrity.gui.printing with parameters of type BasePageFormat | |
BasePageFormat(BasePageFormat other)
Copy constructor. |
|
| Uses of BasePageFormat in com.tensegrity.gui.swing.document |
| Methods in com.tensegrity.gui.swing.document that return BasePageFormat | |
BasePageFormat |
SwingGraphDocument.getPageFormat()
|
| Methods in com.tensegrity.gui.swing.document with parameters of type BasePageFormat | |
void |
SwingGraphDocument.setPageFormat(BasePageFormat format)
|
| Uses of BasePageFormat in com.tensegrity.gui.swing.print |
| Methods in com.tensegrity.gui.swing.print that return BasePageFormat | |
BasePageFormat |
SwingPrintContext.getPageFormat(java.lang.String paperName)
|
BasePageFormat |
SwingPrintContext.getPageFormat(BasePageFormat bpf)
|
BasePageFormat |
PrintPreviewDialog.getPageFormat()
The method getPageFormat returns the currently used page format instance of the currently or recently displayed Book. |
BasePageFormat |
PageSetupDialog.getPageFormat()
Method getPageFormat. |
| Methods in com.tensegrity.gui.swing.print with parameters of type BasePageFormat | |
BasePageFormat |
SwingPrintContext.getPageFormat(BasePageFormat bpf)
|
java.awt.print.Book |
SwingPrintContext.createBook(BasePageFormat pageFormat,
VisualGraphView view)
Method createBook creates a book according to current screen resolution. |
java.awt.print.Book |
SwingPrintContext.createBook(BasePageFormat pageFormat,
VisualGraphView view,
boolean drawScissorBorder)
Method createBook creates a book according to current screen resolution. |
java.awt.print.Book |
SwingPrintContext.createBook(BasePageFormat pageFormat,
VisualGraphView view,
boolean drawScissorBorder,
boolean forPrint)
Method createBook creates a book according to current screen resolution. |
void |
PageSetupDialog.setPageFormat(BasePageFormat pageFormat)
Method setPageFormat sets the internal PageFormat and updates the panel controls with the data from that parameter format instance. |
| Constructors in com.tensegrity.gui.swing.print with parameters of type BasePageFormat | |
PageSetupDialog(UIManager uiManager,
java.awt.Frame owner,
BasePageFormat format,
VisualGraphView view)
Creates a new PageSetupDialog for a given view |
|
PageSetupDialog(UIManager uiManager,
javax.swing.JDialog owner,
BasePageFormat format,
VisualGraphView view)
Constructor for PageSetupDialog. |
|
| Uses of BasePageFormat in com.tensegrity.gui.swt.document |
| Methods in com.tensegrity.gui.swt.document that return BasePageFormat | |
BasePageFormat |
SwtGraphDocument.getPageFormat()
|
| Methods in com.tensegrity.gui.swt.document with parameters of type BasePageFormat | |
void |
SwtGraphDocument.setPageFormat(BasePageFormat format)
|
| Uses of BasePageFormat in com.tensegrity.gui.swt.print |
| Methods in com.tensegrity.gui.swt.print that return BasePageFormat | |
BasePageFormat |
SwtPrintContext.getPageFormat(java.lang.String paperName)
|
BasePageFormat |
SwtPrintContext.getPageFormat(BasePageFormat bpf)
|
BasePageFormat |
PrintPreviewDialog.getPageFormat()
The method getPageFormat returns the currently used page format instance of the currently or recently displayed Book. |
BasePageFormat |
PageSetupDialog.getPageFormat()
Returns the currently used page format. |
| Methods in com.tensegrity.gui.swt.print with parameters of type BasePageFormat | |
void |
GraphPrinter.printTo(org.eclipse.swt.graphics.Device swtDevice,
org.eclipse.swt.graphics.GC gc,
BasePageFormat bpf,
int row,
int col,
int pageIndex)
Prints the page of the graph specified by row and col to the given device by using the given graphic context. |
static double |
GraphPrinter.getMaximumHeightDouble(org.eclipse.swt.graphics.Device device,
org.eclipse.swt.graphics.GC gc,
FormatItem[] items,
BasePageFormat cpf)
The method getMaximumHeightDouble returns the maximum height required for the list of FormatItems. |
BasePageFormat |
SwtPrintContext.getPageFormat(BasePageFormat bpf)
|
void |
PrintPreviewDialog.setPageFormat(BasePageFormat bpf)
Sets the used page format |
void |
PrintManager.print(VisualGraphView vgView,
BasePageFormat bpf)
Prints the given visual graph view to the composite specified in the constructor, using the given page format. |
| Constructors in com.tensegrity.gui.swt.print with parameters of type BasePageFormat | |
PagePanel(org.eclipse.swt.widgets.Composite parent,
GraphPrinter gPrinter,
BasePageFormat bPageFormat,
int row,
int col,
int pageIndex)
Constructor which creates a new PagePanel instance based on the given BasePageFormat. |
|
PageSetupDialog(org.eclipse.swt.widgets.Shell parent,
ApplicationFrame appFrame,
BasePageFormat bpf,
VisualGraphView vgView)
Constructs a new PageSetupDialog instance |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||