focusable(true);
visibleToMouse();
onActiveEffect(new EffectBuilder("border") {{
effectParameter("color", "#112f");
}});
onHoverEffect(new HoverEffectBuilder("changeMouseCursor") {{
effectParameter("id", "hand");
}});
onHoverEffect(new HoverEffectBuilder("border") {{
effectParameter("color", "#800f");
}});
onHoverEffect(new HoverEffectBuilder("gradient") {{
effectValue("offset", "0%", "color", "#222f");
effectValue("offset", "100%", "color", "#f77f");
}});
onFocusEffect(new EffectBuilder("gradient") {{
effectValue("offset", "0%", "color", "#222f");
effectValue("offset", "100%", "color", "#feef");
}});
onCustomEffect(new EffectBuilder("gradient") {{
effectParameter("customKey", "selected");
effectParameter("timeType", "infinite");
effectParameter("neverStopRendering", "true");
effectValue("offset", "0%", "color", "#222f");
effectValue("offset", "100%", "color", "#feef");
}});
onHoverEffect(new HoverEffectBuilder("hint") {{
effectParameter("hintText", controlParameter(PARAMETER_HINT));
effectParameter("hintStyle", "special-hint");
effectParameter("hintDelay", "750");
effectParameter("offsetX", "center");
effectParameter("offsetY", "50");