Class CharacterMarker

java.lang.Object
org.gvsig.app.gui.styling.AbstractTypeSymbolEditor
org.gvsig.labeling.gui.styling.CharacterMarker
All Implemented Interfaces:
ActionListener, EventListener, org.gvsig.app.gui.styling.TypeSymbolEditor

public class CharacterMarker extends org.gvsig.app.gui.styling.AbstractTypeSymbolEditor implements ActionListener
CharacterMarker allows the user to store and modify the properties that define a character marker.

This functionality is carried out thanks to two tabs (character marker and mask)which are included in the panel to edit the properities of a symbol (SymbolEditor)how is explained in AbstractTypeSymbolEditor.

The first tab (Character marker)allows the user to change the font (cmbFonts)of the symbol for the character marker, the size of that (cmbFontSize),the angle (numberAngle)if the user wants to show the character with some rotation,the color (jcc) and the offset (txtYOffset,txtXOffset).

The second tab (Mask) modifies attributes of a mask for points such as style,size and symbol (to represent a point in the map).

Author:
jaume dominguez faus - jaume.dominguez@iver.es
See Also:
  • invalid reference
    Mask
  • AbstractTypeSymbolEditor
  • Field Summary

    Fields inherited from class org.gvsig.app.gui.styling.AbstractTypeSymbolEditor

    featureStore, owner
  • Constructor Summary

    Constructors
    Constructor
    Description
    CharacterMarker(org.gvsig.app.gui.styling.SymbolEditor owner)
    contructor method
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    canManageSymbol(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol symbol)
     
    org.gvsig.app.gui.styling.EditorTool[]
     
    org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol
     
     
    Class<? extends org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol>
     
     
    void
    refreshControls(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol layer)
     

    Methods inherited from class org.gvsig.app.gui.styling.AbstractTypeSymbolEditor

    fireSymbolChangedEvent, getSampleFeature, setFeatureStore, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CharacterMarker

      public CharacterMarker(org.gvsig.app.gui.styling.SymbolEditor owner)
      contructor method
      Parameters:
      owner -
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.app.gui.styling.TypeSymbolEditor
    • getTabs

      public JPanel[] getTabs()
      Specified by:
      getTabs in interface org.gvsig.app.gui.styling.TypeSymbolEditor
    • refreshControls

      public void refreshControls(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol layer)
      Specified by:
      refreshControls in interface org.gvsig.app.gui.styling.TypeSymbolEditor
    • getSymbolClass

      public Class<? extends org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol> getSymbolClass()
    • getLayer

      public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getLayer()
      Specified by:
      getLayer in interface org.gvsig.app.gui.styling.TypeSymbolEditor
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • getEditorTools

      public org.gvsig.app.gui.styling.EditorTool[] getEditorTools()
      Specified by:
      getEditorTools in interface org.gvsig.app.gui.styling.TypeSymbolEditor
    • canManageSymbol

      public boolean canManageSymbol(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol symbol)
      Specified by:
      canManageSymbol in interface org.gvsig.app.gui.styling.TypeSymbolEditor