com.vaadin.terminal.gwt.client
Class TooltipInfo

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.TooltipInfo

public class TooltipInfo
extends Object


Constructor Summary
TooltipInfo()
           
TooltipInfo(String tooltip)
           
TooltipInfo(String tooltip, String errorMessage)
           
 
Method Summary
 boolean equals(TooltipInfo other)
           
 String getErrorMessage()
           
 String getTitle()
           
 boolean hasMessage()
          Checks is a message has been defined for the tooltip.
 void setErrorMessage(String errorMessage)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TooltipInfo

public TooltipInfo()

TooltipInfo

public TooltipInfo(String tooltip)

TooltipInfo

public TooltipInfo(String tooltip,
                   String errorMessage)
Method Detail

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String errorMessage)

hasMessage

public boolean hasMessage()
Checks is a message has been defined for the tooltip.

Returns:
true if title or error message is present, false if both are empty

equals

public boolean equals(TooltipInfo other)


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.