org.kuali.student.common.ui.client.configurable.mvc
Class SectionTitle

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by org.kuali.student.common.ui.client.configurable.mvc.SectionTitle
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class SectionTitle
extends com.google.gwt.user.client.ui.ComplexPanel

This class provides static methods for generating H1-H6 elements with the passed in text

Author:
Kuali Student Team (kuali-student@googlegroups.com)

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Method Summary
 void add(com.google.gwt.user.client.ui.Widget w)
          Adds a new child widget to the panel.
static SectionTitle generateEmptyTitle()
           
static SectionTitle generateH1Title(String titletext)
           
static SectionTitle generateH2Title(String titletext)
           
static SectionTitle generateH3Title(String titletext)
           
static SectionTitle generateH4Title(String titletext)
           
static SectionTitle generateH5Title(String titletext)
           
static SectionTitle generateH6Title(String titletext)
           
 String getExportFieldValue()
          Returns a text value of the title for the export report.
 void setHTML(String html)
           
 void setText(String text)
           
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

generateEmptyTitle

public static SectionTitle generateEmptyTitle()

generateH1Title

public static SectionTitle generateH1Title(String titletext)

generateH2Title

public static SectionTitle generateH2Title(String titletext)

generateH3Title

public static SectionTitle generateH3Title(String titletext)

generateH4Title

public static SectionTitle generateH4Title(String titletext)

generateH5Title

public static SectionTitle generateH5Title(String titletext)

generateH6Title

public static SectionTitle generateH6Title(String titletext)

setText

public void setText(String text)

setHTML

public void setHTML(String html)

add

public void add(com.google.gwt.user.client.ui.Widget w)
Adds a new child widget to the panel.

Specified by:
add in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
add in class com.google.gwt.user.client.ui.Panel
Parameters:
w - the widget to be added

getExportFieldValue

public String getExportFieldValue()
Returns a text value of the title for the export report.

Returns:


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.