Ejemplo n.º 1
0
 public void renderChanges(Widget widget) throws IOException {
   ToolTip toolTip = (ToolTip) widget;
   WidgetLCAUtil.renderCustomVariant(widget);
   WidgetLCAUtil.renderRoundedBorder(widget);
   WidgetLCAUtil.renderBackgroundGradient(widget);
   renderProperty(toolTip, PROP_AUTO_HIDE, toolTip.getAutoHide(), false);
   renderProperty(toolTip, PROP_TEXT, toolTip.getText(), "");
   renderProperty(toolTip, PROP_MESSAGE, toolTip.getMessage(), "");
   renderProperty(toolTip, PROP_LOCATION, getLocation(toolTip), DEFAULT_LOCATION);
   renderProperty(toolTip, PROP_VISIBLE, toolTip.isVisible(), false);
   renderListener(toolTip, PROP_SELECTION_LISTENER, SelectionEvent.hasListener(toolTip), false);
 }