org.geotools.styling
Interface OtherText

All Known Implementing Classes:
OtherTextImpl

public interface OtherText

Allows open ended extensions for text oriented rendering formats. For example, with target="kml:extrude" one could specify the height of a building in KML and activate 3D rendering, or with "kml:time" one could specify the time or timespan associated to the

Author:
Andrea Aime - TOPP
Module:
modules/library/api (gt-api.jar)

Method Summary
 String getTarget()
          The target location for the text.
 Expression getText()
          The text expression to be used in the specified location.
 void setTarget(String target)
           
 void setText(Expression otherText)
           
 

Method Detail

getTarget

String getTarget()
The target location for the text. It can be anything, but it's up to the renderer to decide whether it can be used or not (some paths can be used, others are not understood)

Returns:

setTarget

void setTarget(String target)

getText

Expression getText()
The text expression to be used in the specified location. Normally it should be a string, but a renderer may accept something different (a number, a date)

Returns:

setText

void setText(Expression otherText)


Copyright © 1996-2009 Geotools. All Rights Reserved.