use of com.jfoenix.skins.JFXColorPickerSkin in project JFoenix by jfoenixadmin.
the class JFXColorPickerBehavior method onAutoHide.
/**
************************************************************************
* *
* Mouse Events handling (when losing focus) *
* *
************************************************************************
*/
@Override
public void onAutoHide() {
ColorPicker colorPicker = (ColorPicker) getControl();
JFXColorPickerSkin cpSkin = (JFXColorPickerSkin) colorPicker.getSkin();
cpSkin.syncWithAutoUpdate();
if (!colorPicker.isShowing()) {
super.onAutoHide();
}
}
Aggregations