CategorizedPoint extends AbstractCategorizedLegend<PointParameters> implements SymbolUom, EnablesStroke, OnVertexOnInterior { @Override public PointParameters getFallbackParameters() { return new PointParameters( strokeEnabled ? colorStroke.getFallbackValue() : Color.WHITE, strokeEnabled ? opacityStroke.getFallbackValue() : .0, strokeEnabled ? widthStroke.getFallbackValue() : .0, strokeEnabled ? dashStroke.getFallbackValue() : "", colorFill.getFallbackValue(), opacityFill.getFallbackValue(), widthSymbol.getFallbackValue(), heightSymbol.getFallbackValue(), wkn.getFallbackValue()); } CategorizedPoint();  CategorizedPoint(PointSymbolizer sym); @Override List<CategorizedLegend> getCategorizedLegend(); @Override Symbolizer getSymbolizer(); @Override String getLegendTypeName(); @Override PointParameters get(Object o); @Override PointParameters put(Double d, PointParameters pp); @Override PointParameters remove(Object o); @Override boolean isStrokeEnabled(); @Override void setStrokeEnabled(boolean enable); @Override void setFallbackParameters(PointParameters fallback); @Override PointParameters getFallbackParameters(); @Override void setOnVertex(); @Override void setOnInterior(); @Override boolean isOnVertex(); @Override Uom getStrokeUom(); @Override void setStrokeUom(Uom u); @Override Uom getSymbolUom(); @Override void setSymbolUom(Uom u); @Override String getLegendTypeId(); static final String NAME; }
@Test public void testGetFallback() throws Exception { CategorizedPoint ca = getCategorizedPoint(); PointParameters ap = new PointParameters(Color.decode("#111111"),.2,2.0,"1 1",Color.decode("#111111"),.5,5.0,5.0,"CIRCLE"); assertTrue(ca.getFallbackParameters().equals(ap)); }