All Implemented Interfaces:
Cloneable, IFFrame, IFFrameEditableVertex, org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.Observable, org.gvsig.tools.persistence.Persistent

public class FFrameSymbol extends FFrameGraphics
FFrame para introducir una Símbolo en el Layout.
Author:
Vicente Caballero Navarro
  • Field Details

  • Constructor Details

    • FFrameSymbol

      public FFrameSymbol()
      Crea un nuevo FFrameSymbol.
  • Method Details

    • draw

      public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, BufferedImage imgBase)
      Método que dibuja sobre el graphics que se le pasa como parámetro, según la transformada afin que se debe de aplicar y el rectángulo que se debe de dibujar.
      Specified by:
      draw in interface IFFrame
      Overrides:
      draw in class FFrameGraphics
      Parameters:
      g - Graphics
      at - Transformada afin.
      rv - rectángulo sobre el que hacer un clip.
      imgBase - Imagen para acelerar el dibujado.
    • getNameFFrame

      public String getNameFFrame()
      Description copied from interface: IFFrame
      Devuelve el nombre que representa al tipo de FFrame.
      Specified by:
      getNameFFrame in interface IFFrame
      Overrides:
      getNameFFrame in class FFrameGraphics
      Returns:
      nombre del elemento.
      See Also:
    • getName

      public String getName()
      Description copied from interface: IFFrame
      Devuelve el nombre que representa al fframe.
      Specified by:
      getName in interface IFFrame
      Overrides:
      getName in class FFrameGraphics
      Returns:
      String nombre del FFrame.
    • print

      public void print(Graphics2D g, AffineTransform at, org.gvsig.fmap.geom.Geometry geom, org.gvsig.compat.print.PrintAttributes printingProperties)
      Specified by:
      print in interface org.gvsig.fmap.mapcontext.rendering.symbols.IPrintable
      Overrides:
      print in class FFrameGraphics
      See Also:
      • invalid reference
        org.gvsig.app.project.documents.layout.fframes.IFFrame#print(java.awt.Graphics2D, java.awt.geom.AffineTransform)
    • initialize

      public void initialize()
      Overrides:
      initialize in class FFrameGraphics
    • setBoundBox

      public void setBoundBox(Rectangle2D r)
      Description copied from class: FFrameGraphics
      DOCUMENT ME!
      Specified by:
      setBoundBox in interface IFFrame
      Overrides:
      setBoundBox in class FFrameGraphics
      Parameters:
      r - DOCUMENT ME!
    • setShapeType

      public void setShapeType(int shapeType)
    • registerPersistent

      public static void registerPersistent()
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Overrides:
      loadFromState in class FFrameGraphics
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • saveToState

      public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Overrides:
      saveToState in class FFrameGraphics
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • setViewPort

      public void setViewPort(org.gvsig.fmap.mapcontext.ViewPort viewPort)