Humboldt Alignment Editor 2.5.0

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

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

public class FillEditor
extends Object
implements Editor<org.geotools.styling.Fill>

Editor for Fills

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

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

Constructor Detail

FillEditor

public FillEditor(org.eclipse.swt.widgets.Composite parent,
                  org.geotools.styling.Fill fill)
Creates a Fill editor

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

getValue

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

Specified by:
getValue in interface Editor<org.geotools.styling.Fill>
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.Fill fill)
Description copied from interface: Editor
Set the value

Specified by:
setValue in interface Editor<org.geotools.styling.Fill>
Parameters:
fill - 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.Fill>
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.Fill>
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