protected void updateValuesFromCurrentColor ( ) { int [ ] hsv = ColorUtils . RGBtoHSV ( color ) ; int ch = hsv [ 0 ] ; int cs = hsv [ 1 ] ; int cv = hsv [ 2 ] ; verticalBar . setValue ( ch ) ; palette . setValue ( cs , cv ) ; }
Updates picker ui from current color