com.vaadin.ui.components.colorpicker
Class ColorChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.event.ConnectorEvent
          extended by com.vaadin.ui.Component.Event
              extended by com.vaadin.ui.components.colorpicker.ColorChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class ColorChangeEvent
extends Component.Event

The color changed event which is passed to the listeners when a color change occurs.

Since:
7.0.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ColorChangeEvent(Component source, com.vaadin.shared.ui.colorpicker.Color color)
           
 
Method Summary
 com.vaadin.shared.ui.colorpicker.Color getColor()
          Returns the new color.
 
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
 
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorChangeEvent

public ColorChangeEvent(Component source,
                        com.vaadin.shared.ui.colorpicker.Color color)
Method Detail

getColor

public com.vaadin.shared.ui.colorpicker.Color getColor()
Returns the new color.



Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.