org.kuali.student.lum.lu.ui.dependency.client.widgets
Class DependencyResultPanel

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.Composite
              extended by org.kuali.student.lum.lu.ui.dependency.client.widgets.DependencyResultPanel
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, ReportExportWidget

public class DependencyResultPanel
extends com.google.gwt.user.client.ui.Composite
implements ReportExportWidget


Nested Class Summary
static class DependencyResultPanel.DependencySection
           
static class DependencyResultPanel.DependencyTypeSection
           
 
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
 
Field Summary
protected  VerticalFieldLayout dependencySectionContainer
           
protected  HashMap<String,DependencyResultPanel.DependencySection> dependencySections
           
protected  HashMap<String,DependencyResultPanel.DependencyTypeSection> dependencyTypeSections
           
protected  KSLabel headerLabel
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
DependencyResultPanel()
           
 
Method Summary
 DependencyResultPanel.DependencyTypeSection addDependencyTypeSection(String sectionName, String sectionTypeName, com.google.gwt.user.client.ui.Widget sectionHeader)
           
 void addSection(String sectionName, String sectionTitle)
           
 void finishLoad()
          Call this to finalize the dependency widgets once all data has been loaded.
 VerticalFieldLayout getDependencySectionContainer()
           
 DependencyResultPanel.DependencyTypeSection getDependencyTypeSection(String sectionName, String sectionTypeName)
           
 List<ExportElement> getExportElementSubset(ExportElement parent)
           
 String getExportFieldValue()
           
 void hide(String dependencySection, String dependencyType)
           
 void hideAll()
           
 boolean isExportElement()
           
 void setHeaderTitle(String title)
           
 void show(String dependencySection, String dependencyType)
           
 void showAll()
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

headerLabel

protected KSLabel headerLabel

dependencySectionContainer

protected VerticalFieldLayout dependencySectionContainer

dependencySections

protected HashMap<String,DependencyResultPanel.DependencySection> dependencySections

dependencyTypeSections

protected HashMap<String,DependencyResultPanel.DependencyTypeSection> dependencyTypeSections
Constructor Detail

DependencyResultPanel

public DependencyResultPanel()
Method Detail

addSection

public void addSection(String sectionName,
                       String sectionTitle)

addDependencyTypeSection

public DependencyResultPanel.DependencyTypeSection addDependencyTypeSection(String sectionName,
                                                                            String sectionTypeName,
                                                                            com.google.gwt.user.client.ui.Widget sectionHeader)
Parameters:
section -
collapsableSectionName -

getDependencyTypeSection

public DependencyResultPanel.DependencyTypeSection getDependencyTypeSection(String sectionName,
                                                                            String sectionTypeName)

setHeaderTitle

public void setHeaderTitle(String title)

finishLoad

public void finishLoad()
Call this to finalize the dependency widgets once all data has been loaded.


hide

public void hide(String dependencySection,
                 String dependencyType)

show

public void show(String dependencySection,
                 String dependencyType)

hideAll

public void hideAll()

showAll

public void showAll()

getDependencySectionContainer

public VerticalFieldLayout getDependencySectionContainer()

isExportElement

public boolean isExportElement()
Specified by:
isExportElement in interface ReportExportWidget

getExportElementSubset

public List<ExportElement> getExportElementSubset(ExportElement parent)
Specified by:
getExportElementSubset in interface ReportExportWidget

getExportFieldValue

public String getExportFieldValue()
Specified by:
getExportFieldValue in interface ReportExportWidget


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