Search in sources :

Example 96 with Rule

use of org.geotools.styling.Rule in project sldeditor by robward-scisys.

the class RasterSymbolizerDetailsTest method testRasterSymbolizerDetailsGreyChannel.

/**
 * Test method for {@link com.sldeditor.ui.detail.RasterSymbolizerDetails#RasterSymbolizerDetails(com.sldeditor.filter.v2.function.FunctionNameInterface)}.
 * Test method for {@link com.sldeditor.ui.detail.RasterSymbolizerDetails#isDataPresent()}.
 * Test method for {@link com.sldeditor.ui.detail.RasterSymbolizerDetails#populate(com.sldeditor.common.data.SelectedSymbol)}.
 * Test method for {@link com.sldeditor.ui.detail.RasterSymbolizerDetails#dataChanged(com.sldeditor.ui.detail.config.FieldId)}.
 * Test method for {@link com.sldeditor.ui.detail.RasterSymbolizerDetails#getFieldDataManager()}.
 * Test method for {@link com.sldeditor.ui.detail.RasterSymbolizerDetails#preLoadSymbol()}.
 */
@Test
public void testRasterSymbolizerDetailsGreyChannel() {
    RasterSymbolizerDetails panel = new RasterSymbolizerDetails();
    panel.populate(null);
    // Set up test data
    StyledLayerDescriptor sld = DefaultSymbols.createNewSLD();
    SelectedSymbol.getInstance().createNewSLD(sld);
    NamedLayer namedLayer = DefaultSymbols.createNewNamedLayer();
    String expectedNameLayerValue = "named layer test value";
    namedLayer.setName(expectedNameLayerValue);
    Style style = DefaultSymbols.createNewStyle();
    String expectedNameStyleValue = "style test value";
    style.setName(expectedNameStyleValue);
    namedLayer.addStyle(style);
    FeatureTypeStyle fts = DefaultSymbols.createNewFeatureTypeStyle();
    String expectedNameFTSValue = "feature type style test value";
    fts.setName(expectedNameFTSValue);
    style.featureTypeStyles().add(fts);
    Rule rule = DefaultSymbols.createNewRule();
    String expectedRuleValue = "rule test value";
    rule.setName(expectedRuleValue);
    RasterSymbolizer symbolizer = DefaultSymbols.createDefaultRasterSymbolizer();
    StyleFactoryImpl styleFactory = (StyleFactoryImpl) CommonFactoryFinder.getStyleFactory();
    FilterFactory ff = CommonFactoryFinder.getFilterFactory();
    ContrastEnhancement contrastEnhancement = (ContrastEnhancement) styleFactory.contrastEnhancement(ff.literal(.5), "ramp");
    SelectedChannelType greyChannel = styleFactory.createSelectedChannelType("grey", contrastEnhancement);
    symbolizer.setChannelSelection(styleFactory.channelSelection(greyChannel));
    String expectedNameValue = "symbolizer test value";
    symbolizer.setName(expectedNameValue);
    rule.symbolizers().add(symbolizer);
    fts.rules().add(rule);
    sld.layers().add(namedLayer);
    SelectedSymbol.getInstance().addNewStyledLayer(namedLayer);
    SelectedSymbol.getInstance().setStyledLayer(namedLayer);
    SelectedSymbol.getInstance().setStyle(style);
    SelectedSymbol.getInstance().setFeatureTypeStyle(fts);
    SelectedSymbol.getInstance().setRule(rule);
    SelectedSymbol.getInstance().setSymbolizer(symbolizer);
    panel.populate(SelectedSymbol.getInstance());
    GraphicPanelFieldManager fieldDataManager = panel.getFieldDataManager();
    assertNotNull(fieldDataManager);
    panel.dataChanged(null);
    FieldConfigString nameField = (FieldConfigString) fieldDataManager.get(FieldIdEnum.NAME);
    assertNull(nameField);
    assertTrue(panel.isDataPresent());
    // Reset to default value
    panel.preLoadSymbol();
}
Also used : FieldConfigString(com.sldeditor.ui.detail.config.FieldConfigString) RasterSymbolizerDetails(com.sldeditor.ui.detail.RasterSymbolizerDetails) FieldConfigString(com.sldeditor.ui.detail.config.FieldConfigString) FilterFactory(org.opengis.filter.FilterFactory) GraphicPanelFieldManager(com.sldeditor.ui.detail.GraphicPanelFieldManager) RasterSymbolizer(org.geotools.styling.RasterSymbolizer) SelectedChannelType(org.geotools.styling.SelectedChannelType) StyledLayerDescriptor(org.geotools.styling.StyledLayerDescriptor) ContrastEnhancement(org.geotools.styling.ContrastEnhancement) StyleFactoryImpl(org.geotools.styling.StyleFactoryImpl) Style(org.geotools.styling.Style) FeatureTypeStyle(org.geotools.styling.FeatureTypeStyle) FeatureTypeStyle(org.geotools.styling.FeatureTypeStyle) Rule(org.geotools.styling.Rule) NamedLayer(org.geotools.styling.NamedLayer) Test(org.junit.Test)

Example 97 with Rule

use of org.geotools.styling.Rule in project sldeditor by robward-scisys.

the class StrokeDetailsTest method testStrokeDetailsLine.

/**
 * Test method for
 * {@link com.sldeditor.ui.detail.StrokeDetails#StrokeDetails(com.sldeditor.filter.v2.function.FunctionNameInterface)}.
 */
@SuppressWarnings("deprecation")
@Test
public void testStrokeDetailsLine() {
    StrokeDetails panel = new StrokeDetails();
    panel.populate(null);
    // Set up test data
    StyledLayerDescriptor sld = DefaultSymbols.createNewSLD();
    SelectedSymbol.getInstance().createNewSLD(sld);
    NamedLayer namedLayer = DefaultSymbols.createNewNamedLayer();
    String expectedNameLayerValue = "named layer test value";
    namedLayer.setName(expectedNameLayerValue);
    Style style = DefaultSymbols.createNewStyle();
    String expectedNameStyleValue = "style test value";
    style.setName(expectedNameStyleValue);
    namedLayer.addStyle(style);
    FeatureTypeStyle fts = DefaultSymbols.createNewFeatureTypeStyle();
    String expectedNameFTSValue = "feature type style test value";
    fts.setName(expectedNameFTSValue);
    style.featureTypeStyles().add(fts);
    Rule rule = DefaultSymbols.createNewRule();
    String expectedNameValue = "rule test value";
    rule.setName(expectedNameValue);
    StyleFactoryImpl styleFactory = (StyleFactoryImpl) CommonFactoryFinder.getStyleFactory();
    FilterFactory ff = CommonFactoryFinder.getFilterFactory();
    Stroke stroke = styleFactory.getDefaultStroke();
    SymbolTypeFactory fillFactory = new SymbolTypeFactory(StrokeDetails.class, new ColourFieldConfig(GroupIdEnum.FILLCOLOUR, FieldIdEnum.STROKE_FILL_COLOUR, FieldIdEnum.OVERALL_OPACITY, FieldIdEnum.STROKE_FILL_WIDTH), new ColourFieldConfig(GroupIdEnum.STROKECOLOUR, FieldIdEnum.STROKE_FILL_COLOUR, FieldIdEnum.OVERALL_OPACITY, FieldIdEnum.STROKE_FILL_WIDTH), FieldIdEnum.STROKE_STYLE);
    fillFactory.populate(panel, panel.getFieldDataManager());
    Expression symbolType = ff.literal("star");
    List<GraphicalSymbol> symbols = fillFactory.getValue(panel.getFieldDataManager(), symbolType, true, true, FieldConfigMarker.class);
    Expression initalGap = ff.literal(0);
    Expression gap = ff.literal(0);
    GraphicStroke graphicStroke = styleFactory.graphicStroke(symbols, null, ff.literal(10), ff.literal(0), styleFactory.createAnchorPoint(ff.literal(0.5), ff.literal(0.75)), styleFactory.createDisplacement(ff.literal(0.35), ff.literal(0.12)), initalGap, gap);
    stroke.setDashArray(new float[] { 1.0f, 2.0f, 3.0f });
    stroke.setGraphicStroke(graphicStroke);
    LineSymbolizer symbolizer = DefaultSymbols.createDefaultLineSymbolizer();
    symbolizer.setStroke(stroke);
    rule.symbolizers().add(symbolizer);
    fts.rules().add(rule);
    sld.layers().add(namedLayer);
    SelectedSymbol.getInstance().addNewStyledLayer(namedLayer);
    SelectedSymbol.getInstance().setStyledLayer(namedLayer);
    SelectedSymbol.getInstance().setStyle(style);
    SelectedSymbol.getInstance().setFeatureTypeStyle(fts);
    SelectedSymbol.getInstance().setRule(rule);
    SelectedSymbol.getInstance().setSymbolizer(symbolizer);
    panel.populate(SelectedSymbol.getInstance());
    GraphicPanelFieldManager fieldDataManager = panel.getFieldDataManager();
    assertNotNull(fieldDataManager);
    double expectedAngle = 14.5;
    FieldConfigDouble angleField = (FieldConfigDouble) fieldDataManager.get(FieldIdEnum.STROKE_SYMBOL_ANGLE);
    angleField.populateField(expectedAngle);
    FieldConfigSlider opacityField = (FieldConfigSlider) fieldDataManager.get(FieldIdEnum.OVERALL_OPACITY);
    double opacity = 0.15;
    opacityField.populateField(opacity);
    panel.dataChanged(null);
    double actualValue = angleField.getDoubleValue();
    assertTrue(Math.abs(actualValue - expectedAngle) < 0.01);
    assertTrue(panel.isDataPresent());
    actualValue = opacityField.getDoubleValue();
    assertTrue(Math.abs(actualValue - opacity) < 0.01);
    // Reset to default value
    panel.preLoadSymbol();
    actualValue = angleField.getDoubleValue();
    assertTrue(Math.abs(actualValue - 0.0) < 0.01);
    actualValue = opacityField.getDoubleValue();
    assertTrue(Math.abs(actualValue - 1.0) < 0.01);
}
Also used : GraphicStroke(org.opengis.style.GraphicStroke) Stroke(org.geotools.styling.Stroke) StrokeDetails(com.sldeditor.ui.detail.StrokeDetails) FieldConfigDouble(com.sldeditor.ui.detail.config.FieldConfigDouble) GraphicalSymbol(org.opengis.style.GraphicalSymbol) GraphicStroke(org.opengis.style.GraphicStroke) FieldConfigSlider(com.sldeditor.ui.detail.config.FieldConfigSlider) FieldConfigString(com.sldeditor.ui.detail.config.FieldConfigString) FilterFactory(org.opengis.filter.FilterFactory) GraphicPanelFieldManager(com.sldeditor.ui.detail.GraphicPanelFieldManager) StyledLayerDescriptor(org.geotools.styling.StyledLayerDescriptor) StyleFactoryImpl(org.geotools.styling.StyleFactoryImpl) Expression(org.opengis.filter.expression.Expression) ColourFieldConfig(com.sldeditor.ui.detail.ColourFieldConfig) LineSymbolizer(org.geotools.styling.LineSymbolizer) Style(org.geotools.styling.Style) FeatureTypeStyle(org.geotools.styling.FeatureTypeStyle) FeatureTypeStyle(org.geotools.styling.FeatureTypeStyle) Rule(org.geotools.styling.Rule) NamedLayer(org.geotools.styling.NamedLayer) SymbolTypeFactory(com.sldeditor.ui.detail.config.symboltype.SymbolTypeFactory) Test(org.junit.Test)

Example 98 with Rule

use of org.geotools.styling.Rule in project sldeditor by robward-scisys.

the class BatchUpdateFontDataTest method testBatchUpdateFontData.

/**
 * Test method for
 * {@link com.sldeditor.tool.batchupdatefont.BatchUpdateFontData#BatchUpdateFontData(org.geotools.styling.StyledLayerDescriptor, com.sldeditor.common.SLDDataInterface)}.
 */
@Test
public void testBatchUpdateFontData() {
    BatchUpdateFontData testObj = new BatchUpdateFontData(null, null);
    assertNull(testObj.getName());
    assertNull(testObj.getWorkspace());
    assertNull(testObj.getSldData());
    String expectedWorkspace = "workspace";
    String expectedStyle = "layer.sld";
    StyleWrapper styleWrapper = new StyleWrapper(expectedWorkspace, expectedStyle);
    SLDData data = new SLDData(styleWrapper, null);
    testObj = new BatchUpdateFontData(null, data);
    assertEquals(testObj.getWorkspace(), expectedWorkspace);
    assertEquals(testObj.getName(), expectedStyle);
    assertEquals(testObj.getSldData(), data);
    String expectedNamedLayer = "namedLayer";
    testObj.setNamedLayer(expectedNamedLayer);
    assertEquals(testObj.getNamedLayer(), expectedNamedLayer);
    String expectedStyleLayer = "style";
    testObj.setStyle(expectedStyleLayer);
    assertEquals(testObj.getStyle(), expectedStyleLayer);
    String expectedFeatureTypeStyleLayer = "feature type style";
    testObj.setFeatureTypeStyle(expectedFeatureTypeStyleLayer);
    assertEquals(testObj.getFeatureTypeStyle(), expectedFeatureTypeStyleLayer);
    assertNull(testObj.getRule());
    assertEquals(testObj.getRuleName(), "");
    assertEquals(testObj.getSymbolizer(), "");
    StyleFactoryImpl styleFactory = (StyleFactoryImpl) CommonFactoryFinder.getStyleFactory();
    String expectedRule = "rule";
    Rule rule = styleFactory.createRule();
    rule.setName(expectedRule);
    testObj.setRule(rule);
    assertEquals(testObj.getRule(), rule);
    assertEquals(testObj.getRuleName(), expectedRule);
    String expectedSymbolizer = "text symbolizer";
    TextSymbolizer symbolizer = styleFactory.createTextSymbolizer();
    symbolizer.setName(expectedSymbolizer);
    testObj.setSymbolizer(symbolizer);
    testObj.setFont(symbolizer.getFont());
    assertEquals(testObj.getSymbolizer(), expectedSymbolizer);
    // Test with font == null
    assertFalse(testObj.isFontNameSet());
    assertFalse(testObj.isFontStyleSet());
    assertFalse(testObj.isFontWeightSet());
    assertFalse(testObj.isFontSizeSet());
    assertEquals(testObj.getFontName(), "");
    assertEquals(testObj.getFontStyle(), "");
    assertEquals(testObj.getFontWeight(), "");
    assertEquals(testObj.getFontSize(), "");
    assertFalse(testObj.anyChanges());
    testObj.revertToOriginal();
    testObj.updateFont((Font) null);
    assertFalse(testObj.updateFont((SLDWriterInterface) null));
    testObj.setFont(null);
    testObj.updateFontSize(45);
    // Set font
    FilterFactory ff = CommonFactoryFinder.getFilterFactory();
    String originalFontname = "Serif";
    String originalFontStyle = "normal";
    String originalFontWeight = "normal";
    int originalFontSize = 24;
    Font font = styleFactory.createFont(ff.literal(originalFontname), ff.literal(originalFontStyle), ff.literal(originalFontWeight), ff.literal(originalFontSize));
    testObj.setFont(font);
    assertTrue(testObj.isFontNameSet());
    assertTrue(testObj.isFontStyleSet());
    assertTrue(testObj.isFontWeightSet());
    assertTrue(testObj.isFontSizeSet());
    assertFalse(testObj.isFontNameUpdated());
    assertFalse(testObj.isFontStyleUpdated());
    assertFalse(testObj.isFontWeightUpdated());
    assertFalse(testObj.isFontSizeUpdated());
    assertFalse(testObj.anyChanges());
    // Update with a different copy of the same font - no changes
    Font unchangedFont = styleFactory.createFont(ff.literal(originalFontname), ff.literal(originalFontStyle), ff.literal(originalFontWeight), ff.literal(originalFontSize));
    testObj.updateFont(unchangedFont);
    assertFalse(testObj.isFontNameUpdated());
    assertFalse(testObj.isFontStyleUpdated());
    assertFalse(testObj.isFontWeightUpdated());
    assertFalse(testObj.isFontSizeUpdated());
    // Update with a different copy of the same font - changes
    String expectedFontName = "NewFont";
    String expectedFontStyle = "italic";
    String expectedFontWeight = "bold";
    int expectedFontSize = 12;
    Font changedFont = styleFactory.createFont(ff.literal(expectedFontName), ff.literal(expectedFontStyle), ff.literal(expectedFontWeight), ff.literal(expectedFontSize));
    testObj.updateFont(changedFont);
    assertTrue(testObj.isFontNameUpdated());
    assertTrue(testObj.isFontStyleUpdated());
    assertTrue(testObj.isFontWeightUpdated());
    assertTrue(testObj.isFontSizeUpdated());
    assertTrue(testObj.anyChanges());
    assertEquals(testObj.getFontName(), expectedFontName);
    assertEquals(testObj.getFontStyle(), expectedFontStyle);
    assertEquals(testObj.getFontWeight(), expectedFontWeight);
    assertEquals(testObj.getFontSize(), String.valueOf(expectedFontSize));
    assertEquals(testObj.getFont(), changedFont);
    // Increment font size
    int expectedIncreaseFontSize = 5;
    testObj.updateFontSize(expectedIncreaseFontSize);
    assertEquals(testObj.getFontSize(), String.valueOf(expectedFontSize + expectedIncreaseFontSize));
    // Decrease font size
    expectedIncreaseFontSize *= -1;
    testObj.updateFontSize(expectedIncreaseFontSize);
    assertEquals(testObj.getFontSize(), String.valueOf(expectedFontSize));
    // Try setting the font size less than zero
    expectedIncreaseFontSize = -100;
    testObj.updateFontSize(expectedIncreaseFontSize);
    assertEquals(testObj.getFontSize(), String.valueOf(1));
    // Update font size when font size is a function
    String expectedFieldname = "fieldname";
    changedFont.setSize(ff.property(expectedFieldname));
    testObj.updateFont(changedFont);
    expectedIncreaseFontSize = 5;
    testObj.updateFontSize(expectedIncreaseFontSize);
    String expectedResult = String.format("(%s+%d)", expectedFieldname, expectedIncreaseFontSize);
    String actualResult = testObj.getFontSize();
    assertEquals(actualResult, expectedResult);
    // Revert to original
    testObj.revertToOriginal();
    assertFalse(testObj.isFontNameUpdated());
    assertFalse(testObj.isFontStyleUpdated());
    assertFalse(testObj.isFontWeightUpdated());
    assertFalse(testObj.isFontSizeUpdated());
    assertFalse(testObj.anyChanges());
    assertEquals(testObj.getFontName(), originalFontname);
    assertEquals(testObj.getFontStyle(), originalFontStyle);
    assertEquals(testObj.getFontWeight(), originalFontWeight);
    assertEquals(testObj.getFontSize(), String.valueOf(originalFontSize));
    // Update with the changed font again
    testObj.updateFont(changedFont);
    SLDWriterInterface sldWriter = SLDWriterFactory.createWriter(null);
    symbolizer.fonts().add(changedFont);
    assertFalse(testObj.updateFont(sldWriter));
}
Also used : SLDData(com.sldeditor.common.data.SLDData) StyleWrapper(com.sldeditor.common.data.StyleWrapper) StyleFactoryImpl(org.geotools.styling.StyleFactoryImpl) TextSymbolizer(org.geotools.styling.TextSymbolizer) SLDWriterInterface(com.sldeditor.common.output.SLDWriterInterface) Rule(org.geotools.styling.Rule) BatchUpdateFontData(com.sldeditor.tool.batchupdatefont.BatchUpdateFontData) FilterFactory(org.opengis.filter.FilterFactory) Font(org.geotools.styling.Font) Test(org.junit.Test)

Example 99 with Rule

use of org.geotools.styling.Rule in project sldeditor by robward-scisys.

the class BatchUpdateFontUtilsTest method testContainsFonts.

/**
 * Test method for {@link com.sldeditor.tool.batchupdatefont.BatchUpdateFontUtils#containsFonts(com.sldeditor.common.SLDDataInterface)}.
 */
@Test
public void testContainsFonts() {
    StyledLayerDescriptor sld = DefaultSymbols.createNewSLD();
    SelectedSymbol.getInstance().createNewSLD(sld);
    NamedLayer namedLayer = DefaultSymbols.createNewNamedLayer();
    String expectedNameLayerValue = "named layer test value";
    namedLayer.setName(expectedNameLayerValue);
    Style style = DefaultSymbols.createNewStyle();
    String expectedNameStyleValue = "style test value";
    style.setName(expectedNameStyleValue);
    namedLayer.addStyle(style);
    FeatureTypeStyle fts = DefaultSymbols.createNewFeatureTypeStyle();
    String expectedNameFTSValue = "feature type style test value";
    fts.setName(expectedNameFTSValue);
    style.featureTypeStyles().add(fts);
    Rule rule = DefaultSymbols.createNewRule();
    String expectedRuleValue = "rule test value";
    rule.setName(expectedRuleValue);
    TextSymbolizer symbolizer = DefaultSymbols.createDefaultTextSymbolizer();
    String expectedNameValue = "symbolizer test value";
    symbolizer.setName(expectedNameValue);
    rule.symbolizers().add(DefaultSymbols.createDefaultPointSymbolizer());
    fts.rules().add(rule);
    sld.layers().add(namedLayer);
    SLDWriterInterface sldWriter = SLDWriterFactory.createWriter(null);
    String sldContents = sldWriter.encodeSLD(null, sld);
    SLDData sldData = new SLDData(new StyleWrapper("workspace", "layer.sld"), sldContents);
    // Empty sld
    List<BatchUpdateFontData> actualList = BatchUpdateFontUtils.containsFonts(null);
    assertNull(actualList);
    // No fonts
    actualList = BatchUpdateFontUtils.containsFonts(sldData);
    assertNull(actualList);
    // With textsymbolizer
    rule.symbolizers().add(symbolizer);
    sldContents = sldWriter.encodeSLD(null, sld);
    sldData = new SLDData(new StyleWrapper("workspace", "layer.sld"), sldContents);
    actualList = BatchUpdateFontUtils.containsFonts(sldData);
    assertEquals(1, actualList.size());
    assertEquals(rule.getName(), actualList.get(0).getRuleName());
}
Also used : SLDData(com.sldeditor.common.data.SLDData) StyledLayerDescriptor(org.geotools.styling.StyledLayerDescriptor) TextSymbolizer(org.geotools.styling.TextSymbolizer) StyleWrapper(com.sldeditor.common.data.StyleWrapper) Style(org.geotools.styling.Style) FeatureTypeStyle(org.geotools.styling.FeatureTypeStyle) FeatureTypeStyle(org.geotools.styling.FeatureTypeStyle) SLDWriterInterface(com.sldeditor.common.output.SLDWriterInterface) Rule(org.geotools.styling.Rule) BatchUpdateFontData(com.sldeditor.tool.batchupdatefont.BatchUpdateFontData) NamedLayer(org.geotools.styling.NamedLayer) Test(org.junit.Test)

Example 100 with Rule

use of org.geotools.styling.Rule in project sldeditor by robward-scisys.

the class ExtractAttributesTest method testIsLike.

@Test
public void testIsLike() {
    DummyInternalSLDFile2 dummy = new DummyInternalSLDFile2();
    StyledLayerDescriptor sld = createTestSLD(dummy);
    List<Rule> ruleList = getRuleList(sld);
    Rule rule = DefaultSymbols.createNewRule();
    // Try isLike
    Filter filter = ff.like(ff.property("test"), "abcd1");
    rule.setFilter(filter);
    ruleList.clear();
    ruleList.add(rule);
    ExtractAttributes extract = new ExtractAttributes();
    extract.extractDefaultFields(sld);
    // Check fields extracted ok
    List<DataSourceAttributeData> actualFieldnameList = extract.getFields();
    assertEquals(1, actualFieldnameList.size());
    DataSourceAttributeData dataSourceField = actualFieldnameList.get(0);
    assertEquals(String.class, dataSourceField.getType());
}
Also used : StyledLayerDescriptor(org.geotools.styling.StyledLayerDescriptor) DataSourceAttributeData(com.sldeditor.datasource.attribute.DataSourceAttributeData) Filter(org.opengis.filter.Filter) ExtractAttributes(com.sldeditor.datasource.impl.ExtractAttributes) Rule(org.geotools.styling.Rule) Test(org.junit.Test)

Aggregations

Rule (org.geotools.styling.Rule)110 FeatureTypeStyle (org.geotools.styling.FeatureTypeStyle)65 Style (org.geotools.styling.Style)60 StyledLayerDescriptor (org.geotools.styling.StyledLayerDescriptor)51 Test (org.junit.Test)48 NamedLayer (org.geotools.styling.NamedLayer)38 PointSymbolizer (org.geotools.styling.PointSymbolizer)28 PolygonSymbolizer (org.geotools.styling.PolygonSymbolizer)26 LineSymbolizer (org.geotools.styling.LineSymbolizer)24 Symbolizer (org.geotools.styling.Symbolizer)22 StyledLayer (org.geotools.styling.StyledLayer)19 NamedLayerImpl (org.geotools.styling.NamedLayerImpl)16 RasterSymbolizer (org.geotools.styling.RasterSymbolizer)16 TextSymbolizer (org.geotools.styling.TextSymbolizer)15 GraphicPanelFieldManager (com.sldeditor.ui.detail.GraphicPanelFieldManager)13 FieldConfigString (com.sldeditor.ui.detail.config.FieldConfigString)11 ArrayList (java.util.ArrayList)11 Filter (org.opengis.filter.Filter)11 UserLayerImpl (org.geotools.styling.UserLayerImpl)10 DataSourceAttributeData (com.sldeditor.datasource.attribute.DataSourceAttributeData)8