org.geotools.styling
Interface GraphicLegend

All Superinterfaces:
org.opengis.style.Graphic, org.opengis.style.GraphicLegend
All Known Subinterfaces:
Graphic

public interface GraphicLegend
extends org.opengis.style.GraphicLegend

Used to represent a Rule (or other construct) in a user interface or legend.

Author:
Jody

Method Summary
 AnchorPoint getAnchorPoint()
           
 Displacement getDisplacement()
           
 org.opengis.filter.expression.Expression getOpacity()
           
 org.opengis.filter.expression.Expression getRotation()
           
 org.opengis.filter.expression.Expression getSize()
          The size of the mark if specified.
 java.util.List<org.opengis.style.GraphicalSymbol> graphicalSymbols()
          The items in this list are either a Mark or a ExternalGraphic.
 void setAnchorPoint(org.opengis.style.AnchorPoint anchor)
           
 void setDisplacement(org.opengis.style.Displacement displacement)
           
 void setOpacity(org.opengis.filter.expression.Expression opacity)
           
 void setSize(org.opengis.filter.expression.Expression size)
          Indicates the size at which the graphic should be displayed.
 
Methods inherited from interface org.opengis.style.GraphicLegend
accept
 

Method Detail

getAnchorPoint

AnchorPoint getAnchorPoint()
Specified by:
getAnchorPoint in interface org.opengis.style.Graphic

setAnchorPoint

void setAnchorPoint(org.opengis.style.AnchorPoint anchor)

getDisplacement

Displacement getDisplacement()
Specified by:
getDisplacement in interface org.opengis.style.Graphic

setDisplacement

void setDisplacement(org.opengis.style.Displacement displacement)

getOpacity

org.opengis.filter.expression.Expression getOpacity()
Specified by:
getOpacity in interface org.opengis.style.Graphic

setOpacity

void setOpacity(org.opengis.filter.expression.Expression opacity)

getRotation

org.opengis.filter.expression.Expression getRotation()
Specified by:
getRotation in interface org.opengis.style.Graphic

getSize

org.opengis.filter.expression.Expression getSize()
The size of the mark if specified.

If unspecified:

Specified by:
getSize in interface org.opengis.style.Graphic

setSize

void setSize(org.opengis.filter.expression.Expression size)
Indicates the size at which the graphic should be displayed.

If this value is null the natural size of the graphic will be used; or for graphics without a natural size like SVG files 16x16 will be used.

Parameters:
size -

graphicalSymbols

java.util.List<org.opengis.style.GraphicalSymbol> graphicalSymbols()
The items in this list are either a Mark or a ExternalGraphic.

This list may be directly edited; the items are considered in order from most preferred (say an SVG file) to least preferred (a simple shape) with the intension that the system will make use of the first entry which it is capabile of displaying.

Specified by:
graphicalSymbols in interface org.opengis.style.Graphic


Copyright © 1996-2010 Geotools. All Rights Reserved.