com.extjs.gxt.ui.client.event
Class ColorPaletteEvent

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.DomEvent
          extended by com.extjs.gxt.ui.client.event.ComponentEvent
              extended by com.extjs.gxt.ui.client.event.ColorPaletteEvent

public class ColorPaletteEvent
extends ComponentEvent

ColorPalette event type.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
ColorPaletteEvent(ColorPalette colorPalette)
           
ColorPaletteEvent(ColorPalette colorPalette, com.google.gwt.user.client.Event event)
           
 
Method Summary
 java.lang.String getColor()
          Returns the selected color.
 ColorPalette getColorPalette()
          Returns the color palette.
 void setColor(java.lang.String color)
          Sets the selected color.
 void setColorPalette(ColorPalette colorPalette)
          Sets the color palette.
 
Methods inherited from class com.extjs.gxt.ui.client.event.ComponentEvent
getComponent, getState, setComponent, setState
 
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPaletteEvent

public ColorPaletteEvent(ColorPalette colorPalette)

ColorPaletteEvent

public ColorPaletteEvent(ColorPalette colorPalette,
                         com.google.gwt.user.client.Event event)
Method Detail

getColor

public java.lang.String getColor()
Returns the selected color.

Returns:
the selected color

setColor

public void setColor(java.lang.String color)
Sets the selected color.

Parameters:
color - the selected color

setColorPalette

public void setColorPalette(ColorPalette colorPalette)
Sets the color palette.

Parameters:
colorPalette - the color palette

getColorPalette

public ColorPalette getColorPalette()
Returns the color palette.

Returns:
the color palette