java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
All Implemented Interfaces:
Cloneable, org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport, org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyle, org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.persistence.Persistent

public class RemoteFileStyle extends BackgroundFileStyle
RemoteFileStyle.java
Author:
jaume dominguez faus - jaume.dominguez@iver.es Feb 13, 2008
  • Field Details

    • REMOTE_FILE_STYLE_PERSISTENCE_DEFINITION_NAME

      public static final String REMOTE_FILE_STYLE_PERSISTENCE_DEFINITION_NAME
      See Also:
  • Constructor Details

    • RemoteFileStyle

      public RemoteFileStyle()
  • Method Details

    • getBounds

      public Rectangle getBounds()
      Description copied from class: BackgroundFileStyle
      Gets the bounding Rectangle of this Rectangle.

      This method is included for completeness, to parallel the getBounds method of Component.

      Specified by:
      getBounds in interface org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyle
      Specified by:
      getBounds in class BackgroundFileStyle
      Returns:
      a new Rectangle, equal to the bounding Rectangle for this Rectangle.
      See Also:
      • Component.getBounds()
      • invalid reference
        #setBounds(Rectangle)
      • invalid reference
        #setBounds(int, int, int, int)
    • setSource

      public void setSource(URL url) throws IOException
      Description copied from class: BackgroundFileStyle
      Sets the file that is used as a source to create the Background
      Specified by:
      setSource in interface org.gvsig.fmap.mapcontext.rendering.symbols.styles.IBackgroundFileStyle
      Specified by:
      setSource in class BackgroundFileStyle
      Throws:
      IOException
    • drawInsideRectangle

      public void drawInsideRectangle(Graphics2D g, Rectangle r, boolean keepAspectRatio) throws org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException
      Specified by:
      drawInsideRectangle in class BackgroundFileStyle
      Throws:
      org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException
    • drawOutline

      public void drawOutline(Graphics2D g, Rectangle r) throws org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException
      Throws:
      org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException
    • isSuitableFor

      public boolean isSuitableFor(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol symbol)
    • getClassName

      public String getClassName()
    • 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 AbstractStyle
      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 AbstractStyle
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException