org.geotools.swt.styling.simple
Class StolenColorEditor
Object
StolenColorEditor
public class StolenColorEditor
- extends Object
A "button" of a certain color determined by the color picker.
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StolenColorEditor
public StolenColorEditor(Composite parent)
StolenColorEditor
public StolenColorEditor(Composite parent,
SelectionListener parentListener)
setListener
public void setListener(SelectionListener newListener)
getColor
public Color getColor()
setColor
public void setColor(Color color)
setEnabled
public void setEnabled(boolean isEnabled)
getColorValue
public RGB getColorValue()
setColorValue
public void setColorValue(RGB rgb)
getButton
public Button getButton()
updateColorImage
protected void updateColorImage()
computeImageSize
protected Point computeImageSize(Control window)
Copyright © 1996-2014 Geotools. All Rights Reserved.