org.geotools.styling
Class TextMarkImpl

java.lang.Object
  extended byorg.geotools.event.AbstractGTComponent
      extended byorg.geotools.styling.MarkImpl
          extended byorg.geotools.styling.TextMarkImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.util.Cloneable, GTComponent, Mark, Symbol, TextMark

public class TextMarkImpl
extends MarkImpl
implements TextMark

DOCUMENT ME!

Author:
iant

Field Summary
 
Fields inherited from class org.geotools.event.AbstractGTComponent
notification
 
Fields inherited from interface org.geotools.styling.Mark
MARKS_EMPTY
 
Fields inherited from interface org.geotools.styling.Symbol
SYMBOLS_EMPTY
 
Constructor Summary
TextMarkImpl(Font font, Expression symbol)
           
TextMarkImpl(Font font, java.lang.String symbol)
          Creates a new instance of TextMark
 
Method Summary
 void accept(StyleVisitor visitor)
           
 void addFont(Font font)
          Setter for property font.
 Font[] getFonts()
          Getter for property font.
 Expression getSymbol()
          Getter for property symbol.
 Expression getWellKnownName()
          This parameter gives the well-known name of the symbol of the mark.
 void setSymbol(Expression symbol)
           
 void setSymbol(java.lang.String symbol)
          Setter for property symbol.
 void setWellKnownName(Expression wellKnownName)
          Setter for property wellKnownName.
 
Methods inherited from class org.geotools.styling.MarkImpl
clone, equals, getFill, getRotation, getSize, getStroke, hashCode, setFill, setRotation, setRotation, setSize, setSize, setStroke, setWellKnownName, toString
 
Methods inherited from class org.geotools.event.AbstractGTComponent
changed, fireChanged, fireChildChanged, getNote, getParent, removed, setNote
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.styling.Mark
getFill, getRotation, getSize, getStroke, setFill, setRotation, setSize, setStroke
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Constructor Detail

TextMarkImpl

public TextMarkImpl(Font font,
                    java.lang.String symbol)
Creates a new instance of TextMark

Parameters:
font - DOCUMENT ME!
symbol - DOCUMENT ME!

TextMarkImpl

public TextMarkImpl(Font font,
                    Expression symbol)
Method Detail

getWellKnownName

public Expression getWellKnownName()
This parameter gives the well-known name of the symbol of the mark.

Specified by:
getWellKnownName in interface TextMark
Overrides:
getWellKnownName in class MarkImpl
Returns:
The well-known name of this symbol

getFonts

public Font[] getFonts()
Getter for property font.

Specified by:
getFonts in interface TextMark
Returns:
Value of property font.

addFont

public void addFont(Font font)
Setter for property font.

Specified by:
addFont in interface TextMark
Parameters:
font - New value of property font.

getSymbol

public Expression getSymbol()
Getter for property symbol.

Specified by:
getSymbol in interface TextMark
Returns:
Value of property symbol.

setSymbol

public void setSymbol(java.lang.String symbol)
Setter for property symbol.

Specified by:
setSymbol in interface TextMark
Parameters:
symbol - New value of property symbol.

setSymbol

public void setSymbol(Expression symbol)
Specified by:
setSymbol in interface TextMark

setWellKnownName

public void setWellKnownName(Expression wellKnownName)
Setter for property wellKnownName.

Specified by:
setWellKnownName in interface TextMark
Overrides:
setWellKnownName in class MarkImpl
Parameters:
wellKnownName - New value of property wellKnownName.

accept

public void accept(StyleVisitor visitor)
Specified by:
accept in interface Mark
Overrides:
accept in class MarkImpl


Copyright © GeoTools. All Rights Reserved.