Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.style.editors
Class StrokeEditor

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.style.editors.StrokeEditor
All Implemented Interfaces:
Editor<org.geotools.styling.Stroke>

public class StrokeEditor
extends Object
implements Editor<org.geotools.styling.Stroke>

Editor for Strokes

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Constructor Summary
StrokeEditor(org.eclipse.swt.widgets.Composite parent, org.geotools.styling.Stroke stroke)
          Creates a Stroke editor
 
Method Summary
 Color getColor()
          Get the Stroke color
 org.eclipse.swt.widgets.Control getControl()
          Get the editor control
 org.geotools.styling.Stroke getValue()
          Get the value
 boolean isChanged()
          States if the value has been changed
 void setValue(org.geotools.styling.Stroke stroke)
          Set the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrokeEditor

public StrokeEditor(org.eclipse.swt.widgets.Composite parent,
                    org.geotools.styling.Stroke stroke)
Creates a Stroke editor

Parameters:
parent - the parent composite
stroke - the initial stroke
Method Detail

getValue

public org.geotools.styling.Stroke getValue()
Description copied from interface: Editor
Get the value

Specified by:
getValue in interface Editor<org.geotools.styling.Stroke>
Returns:
the value
See Also:
Editor.getValue()

getColor

public Color getColor()
Get the Stroke color

Returns:
the Stroke color

setValue

public void setValue(org.geotools.styling.Stroke stroke)
Description copied from interface: Editor
Set the value

Specified by:
setValue in interface Editor<org.geotools.styling.Stroke>
Parameters:
stroke - the value to set
See Also:
Editor.setValue(Object)

getControl

public org.eclipse.swt.widgets.Control getControl()
Description copied from interface: Editor
Get the editor control

Specified by:
getControl in interface Editor<org.geotools.styling.Stroke>
Returns:
the editor control
See Also:
Editor.getControl()

isChanged

public boolean isChanged()
Description copied from interface: Editor
States if the value has been changed

Specified by:
isChanged in interface Editor<org.geotools.styling.Stroke>
Returns:
if the value has been changed
See Also:
Editor.isChanged()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d