Class DHTMLSuite.colorWidget

Object
   |
   +--DHTMLSuite.colorWidget

class DHTMLSuite.colorWidget


This class provides some methods for working with colors.
Defined in dhtml-suite-for-applications.js

Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0


Field Summary
 Object circleOffsetBecauseOfWinWidget
          
 Object circleOffsetSize
          
 Object colorHelper
          
 Object currentBrightness
          
 Object currentHue
          
 Object currentRgbCode
          
 Object currentSaturation
          
 Object displayHsv
          
 Object displayRgb
          
 Object displayRgbCode
          
 Object hueSliderPosition
          
 Object layoutCSS
          
 Object objectIndex
          
 Object paletteSize
          
 Object posdivElPalette
          
 Object updateFormDuringMoveOnPalette
          
 
Constructor Summary
DHTMLSuite.colorWidget (propertyArray)
           
 
Method Summary
 Object __initHorHueMove(e)
          
 Object __initHueMove(e)
          
 Object getDivElement()
           Return a reference to main div element for the widget.
 void init()
           Initializes the widget
 void setBrightness(brightness)
           Set new brightness
 void setCallbackOnChangeRgb(functionName)
           Specify call back function which is executed when the rgb value is modified.
 void setHue(hue)
           Set new hue, i.e.
 void setHueSliderPosition(hueSliderPosition)
           Specify position of hue slider, vertical or horizontal
 void setRgbColor(rgbColor)
           Set new rgb color for the slider.
 void setSaturation(saturation)
           Set new saturation, i.e.

Field Detail

circleOffsetBecauseOfWinWidget

Object circleOffsetBecauseOfWinWidget

circleOffsetSize

Object circleOffsetSize

colorHelper

Object colorHelper

currentBrightness

Object currentBrightness

currentHue

Object currentHue

currentRgbCode

Object currentRgbCode

currentSaturation

Object currentSaturation

displayHsv

Object displayHsv

displayRgb

Object displayRgb

displayRgbCode

Object displayRgbCode

hueSliderPosition

Object hueSliderPosition

layoutCSS

Object layoutCSS

objectIndex

Object objectIndex

paletteSize

Object paletteSize

posdivElPalette

Object posdivElPalette

updateFormDuringMoveOnPalette

Object updateFormDuringMoveOnPalette

Constructor Detail

DHTMLSuite.colorWidget

DHTMLSuite.colorWidget(propertyArray)

Method Detail

__initHorHueMove

Object __initHorHueMove(e)

__initHueMove

Object __initHueMove(e)

getDivElement

Object getDivElement()

init

void init()

setBrightness

void setBrightness(brightness)

setCallbackOnChangeRgb

void setCallbackOnChangeRgb(functionName)

setHue

void setHue(hue)

setHueSliderPosition

void setHueSliderPosition(hueSliderPosition)

setRgbColor

void setRgbColor(rgbColor)

setSaturation

void setSaturation(saturation)


Documentation generated by JSDoc on Mon Oct 8 10:17:27 2007