|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.renderer.LegendIconMaker
DOCUMENT ME!
Field Summary | |
static com.vividsolutions.jts.geom.GeometryFactory |
gFac
for create artificial geometry feature for making legend icon since the icon somehow has somekind of shape such as line, polygon etc. then other code will apply fill and stroke to make an image |
static int |
offset
offset for icon, otherwise icons will be connected to others in the legend |
static StyleFactory |
sFac
if the rule already has defined legendGraphic the stylefactory could create symbolizer to contain it |
Method Summary | |
static void |
main(java.lang.String[] args)
DOCUMENT ME! |
static javax.swing.Icon |
makeLegendIcon(int iconWidth,
java.awt.Color background,
Rule rule,
Feature sample)
|
static javax.swing.Icon |
makeLegendIcon(int iconWidth,
java.awt.Color background,
Symbolizer[] syms,
Feature sample)
|
static javax.swing.Icon |
makeLegendIcon(int iconWidth,
int iconHeight,
java.awt.Color background,
Symbolizer[] syms,
Feature sample,
boolean cacheIcon)
|
static javax.swing.Icon |
makeLegendIcon(int iconWidth,
Rule rule,
Feature sample)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static com.vividsolutions.jts.geom.GeometryFactory gFac
public static StyleFactory sFac
public static int offset
Method Detail |
public static javax.swing.Icon makeLegendIcon(int iconWidth, java.awt.Color background, Rule rule, Feature sample)
public static javax.swing.Icon makeLegendIcon(int iconWidth, Rule rule, Feature sample)
public static javax.swing.Icon makeLegendIcon(int iconWidth, java.awt.Color background, Symbolizer[] syms, Feature sample)
public static javax.swing.Icon makeLegendIcon(int iconWidth, int iconHeight, java.awt.Color background, Symbolizer[] syms, Feature sample, boolean cacheIcon)
public static void main(java.lang.String[] args)
args
- the command line arguments
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |