hudson.plugins.checkstyle.util
Class ToolTipBuilder

java.lang.Object
  extended by hudson.plugins.checkstyle.util.ToolTipBuilder

public class ToolTipBuilder
extends java.lang.Object

Builds tooltips for items.

Author:
Ulli Hafner

Constructor Summary
ToolTipBuilder(ToolTipProvider provider)
          Creates a new instance of ToolTipBuilder.
 
Method Summary
 java.lang.String getTooltip(int numberOfItems)
          Returns the tooltip for the specified number of items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolTipBuilder

public ToolTipBuilder(ToolTipProvider provider)
Creates a new instance of ToolTipBuilder.

Parameters:
provider - the tool tip provider to use
Method Detail

getTooltip

public final java.lang.String getTooltip(int numberOfItems)
Returns the tooltip for the specified number of items.

Parameters:
numberOfItems - the number of items to display the tooltip for
Returns:
the tooltip for the specified items


Copyright © 2009. All Rights Reserved.