|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.gui.layout.FLayoutDraw
Clase que implementa los métodos del Layout que dibujan sobre el Graphics.
Constructor Summary | |
FLayoutDraw(Layout l)
Crea un nuevo FLayoutDraw. |
Method Summary | |
void |
drawGrid(java.awt.Graphics2D g)
|
void |
drawHandlers(java.awt.Graphics2D g,
java.awt.Color color)
Dibuja los handlers sobre los fframes que esten seleccionados. |
void |
drawLayout(java.awt.Graphics2D g2,
java.awt.image.BufferedImage imgBase)
Método para dibujar el Layout y modificar la matriz de transformación a partir del tamaño en pixels que tenga rect y el formato de papel seleccionado. |
void |
drawRectangle(java.awt.Graphics2D g)
Dibuja sobre un Graphics2D el rectángulo que representa al folio. |
void |
drawRuler(java.awt.Graphics2D g,
java.awt.Color color)
Dibuja sobre el graphics2d las reglas. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FLayoutDraw(Layout l)
l
- Referencia al Layout.Method Detail |
public void drawLayout(java.awt.Graphics2D g2, java.awt.image.BufferedImage imgBase) throws DriverException
g2
- imgBase
- Si es null, estás imprimiendo. Si no, la usas para el
código de optimización.
DriverException
public void drawRectangle(java.awt.Graphics2D g)
g
- Graphics2Dpublic void drawGrid(java.awt.Graphics2D g)
public void drawRuler(java.awt.Graphics2D g, java.awt.Color color)
g
- graphics2d sobre el que se dibuja.color
- Color de la regla.public void drawHandlers(java.awt.Graphics2D g, java.awt.Color color)
g
- Graphics sobre el que se dibuja.color
- Color de los Handlers.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |