Package org.gvsig.labeling.gui.styling
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:
-
Field Summary
Fields inherited from class org.gvsig.app.gui.styling.AbstractTypeSymbolEditor
featureStore, owner -
Constructor Summary
ConstructorsConstructorDescriptionCharacterMarker(org.gvsig.app.gui.styling.SymbolEditor owner) contructor method -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancanManageSymbol(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol symbol) org.gvsig.app.gui.styling.EditorTool[]org.gvsig.fmap.mapcontext.rendering.symbols.ISymbolgetLayer()getName()Class<? extends org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol> JPanel[]getTabs()voidrefreshControls(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol layer) Methods inherited from class org.gvsig.app.gui.styling.AbstractTypeSymbolEditor
fireSymbolChangedEvent, getSampleFeature, setFeatureStore, toString
-
Constructor Details
-
CharacterMarker
public CharacterMarker(org.gvsig.app.gui.styling.SymbolEditor owner) contructor method- Parameters:
owner-
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.gvsig.app.gui.styling.TypeSymbolEditor
-
getTabs
- Specified by:
getTabsin interfaceorg.gvsig.app.gui.styling.TypeSymbolEditor
-
refreshControls
public void refreshControls(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol layer) - Specified by:
refreshControlsin interfaceorg.gvsig.app.gui.styling.TypeSymbolEditor
-
getSymbolClass
-
getLayer
public org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol getLayer()- Specified by:
getLayerin interfaceorg.gvsig.app.gui.styling.TypeSymbolEditor
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
getEditorTools
public org.gvsig.app.gui.styling.EditorTool[] getEditorTools()- Specified by:
getEditorToolsin interfaceorg.gvsig.app.gui.styling.TypeSymbolEditor
-
canManageSymbol
public boolean canManageSymbol(org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol symbol) - Specified by:
canManageSymbolin interfaceorg.gvsig.app.gui.styling.TypeSymbolEditor
-