T
- the Symbolizer
typepublic class RuleEditor<T extends org.geotools.styling.Symbolizer> extends Object implements Editor<org.geotools.styling.Rule>
Rule
sConstructor and Description |
---|
RuleEditor(org.eclipse.swt.widgets.Composite parent,
TypeDefinition typeDefinition,
org.opengis.filter.Filter filter,
Class<T> symbolizerType,
T symbolizer,
EditorFactory<T> symbolizerFactory)
Creates a
Rule editor |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Control |
getControl()
Get the editor control
|
org.geotools.styling.Rule |
getValue()
Get the value
|
boolean |
isChanged()
States if the value has been changed
|
void |
setValue(org.geotools.styling.Rule value)
Set the value
|
public RuleEditor(org.eclipse.swt.widgets.Composite parent, TypeDefinition typeDefinition, org.opengis.filter.Filter filter, Class<T> symbolizerType, T symbolizer, EditorFactory<T> symbolizerFactory)
Rule
editorparent
- the parent compositetypeDefinition
- the type Definitionfilter
- the initial Filter
symbolizerType
- the Symbolizer
typesymbolizer
- the initial Symbolizer
symbolizerFactory
- a Symbolizer
editor factorypublic org.eclipse.swt.widgets.Control getControl()
Editor
getControl
in interface Editor<org.geotools.styling.Rule>
Editor.getControl()
public org.geotools.styling.Rule getValue() throws Exception
Editor
getValue
in interface Editor<org.geotools.styling.Rule>
Exception
- if an error occurs getting the valueEditor.getValue()
public boolean isChanged()
Editor
isChanged
in interface Editor<org.geotools.styling.Rule>
Editor.isChanged()
public void setValue(org.geotools.styling.Rule value)
Editor
setValue
in interface Editor<org.geotools.styling.Rule>
value
- the value to setEditor.setValue(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a