org.spiffyui.client.nav
Class NavHeader

java.lang.Object
  extended by Widget
      extended by org.spiffyui.client.nav.NavHeader
All Implemented Interfaces:
NavWidget

public class NavHeader
extends Widget
implements NavWidget

This widget represents a single header element H2 to the navigation menu.

CSS Style Rules


Constructor Summary
NavHeader(java.lang.String text)
          Creates a new navigation header
 
Method Summary
 java.lang.String getText()
          Get the text of this item.
 void setText(java.lang.String text)
          Set the text of this header item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavHeader

public NavHeader(java.lang.String text)
Creates a new navigation header

Parameters:
text - the text for the header element
Method Detail

setText

public void setText(java.lang.String text)
Set the text of this header item.

Parameters:
text - the text to set

getText

public java.lang.String getText()
Get the text of this item.

Returns:
the text of the item