public abstract class ComposedLayer
extends java.lang.Object
FLayer.newComposedLayer()
Constructor and Description |
---|
ComposedLayer() |
Modifier and Type | Method and Description |
---|---|
void |
add(FLayer layer)
Adds the layer to the draw group.
|
abstract boolean |
canAdd(FLayer layer)
Checks if the layer can be added to this group
|
protected abstract void |
doAdd(FLayer layer)
Adds the layer to the draw group.
|
protected abstract void |
doDraw(java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
ViewPort viewPort,
org.gvsig.tools.task.Cancellable cancel,
double scale)
Draws all the group in one pass.
|
protected abstract void |
doPrint(java.awt.Graphics2D g,
ViewPort viewPort,
org.gvsig.tools.task.Cancellable cancel,
double scale,
org.gvsig.compat.print.PrintAttributes properties)
Prints all the group in one pass.
|
void |
draw(java.awt.image.BufferedImage image,
java.awt.Graphics2D g,
ViewPort viewPort,
org.gvsig.tools.task.Cancellable cancel,
double scale)
Draws all the group in one pass
You have to implements the doDraw method.
|
void |
print(java.awt.Graphics2D g,
ViewPort viewPort,
org.gvsig.tools.task.Cancellable cancel,
double scale,
org.gvsig.compat.print.PrintAttributes properties)
Prints all the group in one pass
You have to implements the doDraw method.
|
void |
setMapContext(MapContext mapContext) |
public final void add(FLayer layer) throws java.lang.Exception
layer
- java.lang.Exception
canAdd(FLayer)
public abstract boolean canAdd(FLayer layer)
layer
- protected abstract void doAdd(FLayer layer) throws java.lang.Exception
layer
- java.lang.Exception
add(FLayer)
,
canAdd(FLayer)
protected abstract void doDraw(java.awt.image.BufferedImage image, java.awt.Graphics2D g, ViewPort viewPort, org.gvsig.tools.task.Cancellable cancel, double scale) throws org.gvsig.fmap.dal.exception.ReadException
org.gvsig.fmap.dal.exception.ReadException
draw(BufferedImage, Graphics2D, ViewPort, Cancellable, double)
,
FLayer.draw(BufferedImage, Graphics2D, ViewPort, Cancellable, double)
protected abstract void doPrint(java.awt.Graphics2D g, ViewPort viewPort, org.gvsig.tools.task.Cancellable cancel, double scale, org.gvsig.compat.print.PrintAttributes properties) throws org.gvsig.fmap.dal.exception.ReadException
org.gvsig.fmap.dal.exception.ReadException
org.gvsig.fmap.mapcontext.layers.operations.ComposedLayer#print(Graphics2D, ViewPort, Cancellable, double)
,
org.gvsig.fmap.mapcontext.layers.FLayer#print(Graphics2D, ViewPort, Cancellable, double)
public final void draw(java.awt.image.BufferedImage image, java.awt.Graphics2D g, ViewPort viewPort, org.gvsig.tools.task.Cancellable cancel, double scale) throws org.gvsig.fmap.dal.exception.ReadException
org.gvsig.fmap.dal.exception.ReadException
FLayer.draw(BufferedImage, Graphics2D, ViewPort, Cancellable, double)
public final void print(java.awt.Graphics2D g, ViewPort viewPort, org.gvsig.tools.task.Cancellable cancel, double scale, org.gvsig.compat.print.PrintAttributes properties) throws org.gvsig.fmap.dal.exception.ReadException
org.gvsig.fmap.dal.exception.ReadException
FLayer.draw(BufferedImage, Graphics2D, ViewPort, Cancellable, double)
public void setMapContext(MapContext mapContext)
Copyright © 2013 gvSIG Association. All rights reserved.