import java.util.HashMap;
-import com.vaadin.terminal.gwt.client.RenderInformation.Size;
-
class ComponentDetail {
private TooltipInfo tooltipInfo = new TooltipInfo();
this.tooltipInfo = tooltipInfo;
}
- private Size offsetSize;
private HashMap<Object, TooltipInfo> additionalTooltips;
- /**
- *
- * @return the offsetSize
- */
- Size getOffsetSize() {
- return offsetSize;
- }
-
- /**
- * @param offsetSize
- * the offsetSize to set
- */
- void setOffsetSize(Size offsetSize) {
- this.offsetSize = offsetSize;
- }
-
public void putAdditionalTooltip(Object key, TooltipInfo tooltip) {
if (tooltip == null && additionalTooltips != null) {
additionalTooltips.remove(key);
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.ui.Widget;
import com.vaadin.terminal.Paintable;
-import com.vaadin.terminal.gwt.client.RenderInformation.Size;
public class ConnectorMap {
return result.toArray(new ComponentConnector[result.size()]);
}
- /**
- * FIXME: Should not be here
- *
- * @param paintable
- * @return
- */
- @Deprecated
- public Size getOffsetSize(ComponentConnector paintable) {
- return getComponentDetail(paintable).getOffsetSize();
- }
-
- /**
- * FIXME: Should not be here
- *
- * @param componentConnector
- * @return
- */
- @Deprecated
- public void setOffsetSize(ComponentConnector componentConnector,
- Size newSize) {
- getComponentDetail(componentConnector).setOffsetSize(newSize);
- }
-
private ComponentDetail getComponentDetail(
ComponentConnector componentConnector) {
return idToComponentDetail.get(getConnectorId(componentConnector));