org.geotools.styling
Class TextMarkImpl

Object
  extended by MarkImpl
      extended by TextMarkImpl
All Implemented Interfaces:
Cloneable, Mark, Symbol, TextMark

public class TextMarkImpl
extends MarkImpl
implements TextMark

DOCUMENT ME!

Author:
iant
Module:

Field Summary
 
Fields inherited from interface Mark
MARKS_EMPTY
 
Fields inherited from interface Symbol
SYMBOLS_EMPTY
 
Constructor Summary
TextMarkImpl()
           
TextMarkImpl(FilterFactory factory)
           
TextMarkImpl(Font font, Expression symbol)
           
TextMarkImpl(Font font, 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(String symbol)
          Setter for property symbol.
 void setWellKnownName(Expression wellKnownName)
          Setter for property wellKnownName.
 
Methods inherited from class MarkImpl
clone, equals, getFill, getRotation, getSize, getStroke, hashCode, setFill, setRotation, setRotation, setSize, setSize, setStroke, setWellKnownName, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Mark
getFill, getRotation, getSize, getStroke, setFill, setRotation, setSize, setStroke
 

Constructor Detail

TextMarkImpl

public TextMarkImpl()

TextMarkImpl

public TextMarkImpl(FilterFactory factory)

TextMarkImpl

public TextMarkImpl(Font font,
                    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 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(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 Mark
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
Specified by:
accept in interface Symbol
Overrides:
accept in class MarkImpl


Copyright © 1996-2009 Geotools. All Rights Reserved.