org.geotools.styling
Class TextMarkImpl

java.lang.Object
  extended by org.geotools.styling.MarkImpl
      extended by org.geotools.styling.TextMarkImpl
All Implemented Interfaces:
java.lang.Cloneable, Symbol, TextMark, org.opengis.style.GraphicalSymbol, org.opengis.style.Mark

public class TextMarkImpl
extends MarkImpl
implements TextMark

DOCUMENT ME!

Author:
iant

Field Summary
 
Fields inherited from interface org.geotools.styling.Mark
MARKS_EMPTY
 
Fields inherited from interface org.geotools.styling.Symbol
SYMBOLS_EMPTY
 
Constructor Summary
TextMarkImpl()
           
TextMarkImpl(org.opengis.filter.FilterFactory factory)
           
TextMarkImpl(Font font, org.opengis.filter.expression.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.
 org.opengis.filter.expression.Expression getSymbol()
          Getter for property symbol.
 org.opengis.filter.expression.Expression getWellKnownName()
          This parameter gives the well-known name of the symbol of the mark.
 void setSymbol(org.opengis.filter.expression.Expression symbol)
           
 void setSymbol(java.lang.String symbol)
          Setter for property symbol.
 void setWellKnownName(org.opengis.filter.expression.Expression wellKnownName)
          Setter for property wellKnownName.
 
Methods inherited from class org.geotools.styling.MarkImpl
accept, clone, equals, getExternalMark, getFill, getRotation, getSize, getStroke, hashCode, setExternalMark, setFill, setRotation, setRotation, setSize, setSize, setStroke, setWellKnownName, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.styling.Mark
getExternalMark, getFill, getRotation, getSize, getStroke, setExternalMark, setFill, setRotation, setSize, setStroke
 
Methods inherited from interface org.opengis.style.Mark
accept
 

Constructor Detail

TextMarkImpl

public TextMarkImpl()

TextMarkImpl

public TextMarkImpl(org.opengis.filter.FilterFactory factory)

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,
                    org.opengis.filter.expression.Expression symbol)
Method Detail

getWellKnownName

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

Specified by:
getWellKnownName in interface TextMark
Specified by:
getWellKnownName in interface org.opengis.style.Mark
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 org.opengis.filter.expression.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(org.opengis.filter.expression.Expression symbol)
Specified by:
setSymbol in interface TextMark

setWellKnownName

public void setWellKnownName(org.opengis.filter.expression.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 Symbol
Overrides:
accept in class MarkImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.