| java.lang.Object net.refractions.udig.style.sld.simple.FillViewer
FillViewer | public class FillViewer (Code) | | Allows editing/viewing of a Style Layer Descriptor "Stroke".
Here is the pretty picture:
+-+ +-------+ +------+
Fill: |x| | color | | 90%\/|
+-+ +-------+ +------+
Workflow:
- createControl( parent ) - set up controls
- setFill( stroke, mode ) - provide content from SimpleStyleConfigurator
- Symbolizer values copied into fields based on mode
- fields copied into controls
- controls enabled based on mode & fields
- Listener.widgetSelected/modifyText - User performs an "edit"
- Listener.sync( SelectionEvent ) - update fields with values of controls
- fire( SelectionSevent ) - notify SimpleStyleConfigurator of change
- getFill( StyleBuilder ) - construct a Fill based on fields
author: Jody Garnett since: 1.0.0 |
Method Summary | |
public void | addListener(SelectionListener listener1) Accepts a listener that will be notified when content changes. | public Composite | createControl(Composite parent, KeyListener kListener) TODO summary sentence for createControl ... | protected void | fire(SelectionEvent event) TODO summary sentence for fire ... | public Fill | getFill(StyleBuilder build) TODO summary sentence for getFill ... | void | listen(boolean listen) | public void | removeListener(SelectionListener listener1) Remove listener. | public void | setFill(Fill fill2, Mode mode, Color defaultColor) TODO summary sentence for setFill ... |
addListener | public void addListener(SelectionListener listener1)(Code) | | Accepts a listener that will be notified when content changes.
Parameters: listener1 - |
createControl | public Composite createControl(Composite parent, KeyListener kListener)(Code) | | TODO summary sentence for createControl ...
Parameters: parent - Parameters: kListener - Generated composite |
fire | protected void fire(SelectionEvent event)(Code) | | TODO summary sentence for fire ...
Parameters: event - |
getFill | public Fill getFill(StyleBuilder build)(Code) | | TODO summary sentence for getFill ...
Parameters: build - Fill defined by this model |
listen | void listen(boolean listen)(Code) | | |
removeListener | public void removeListener(SelectionListener listener1)(Code) | | Remove listener.
Parameters: listener1 - |
setFill | public void setFill(Fill fill2, Mode mode, Color defaultColor)(Code) | | TODO summary sentence for setFill ...
Parameters: fill - Parameters: mode - Parameters: enabled - |
|
|