net.sf.sdedit.multipage
Class MultipagePaintDevice
java.lang.Object
net.sf.sdedit.diagram.PaintDevice
net.sf.sdedit.multipage.MultipagePaintDevice
- All Implemented Interfaces:
- Iterable<Drawable>
public class MultipagePaintDevice
- extends PaintDevice
- Author:
- Markus Strauch
| Methods inherited from class net.sf.sdedit.diagram.PaintDevice |
addOtherDrawable, addSequenceElement, clear, computeAxes, computeBounds, getColor, getDiagram, getFont, getHeight, getRightBound, getTextHeight, getTextWidth, getWidth, isEmpty, iterator, reinitialize, writeToStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipagePaintDevice
public MultipagePaintDevice(PrintConfiguration properties,
Dimension pageSize)
setDiagram
public void setDiagram(Diagram diagram)
- Overrides:
setDiagram in class PaintDevice
getPageSize
public Dimension getPageSize()
getScale
public double getScale()
close
public void close()
- Description copied from class:
PaintDevice
- This method is called once when no Drawable object will be
added anymore. Its default implementation is empty.
- Overrides:
close in class PaintDevice
getPanels
public List<MultipagePaintDevice.MultipagePanel> getPanels()
announce
public void announce(int height)
- Overrides:
announce in class PaintDevice
getTextHeight
public int getTextHeight(boolean bold)
- Specified by:
getTextHeight in class PaintDevice
getTextWidth
public int getTextWidth(String text,
boolean bold)
- Specified by:
getTextWidth in class PaintDevice
Copyright © 2011. All Rights Reserved.