org.kuali.student.common.ui.client.widgets.layout
Class ContentBlockLayout

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 com.google.gwt.user.client.ui.FlowPanel
                      extended by org.kuali.student.common.ui.client.widgets.layout.CustomFlowPanel
                          extended by org.kuali.student.common.ui.client.widgets.layout.VerticalFlowPanel
                              extended by org.kuali.student.common.ui.client.widgets.layout.ContentBlockLayout
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.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class ContentBlockLayout
extends VerticalFlowPanel

A layout which contains content blocks, used for a layout which contains logical blocks of content. Each row contains a space of 3 blocks, and depending on size of blocks added will wrap to the next line.

Author:
Kuali Student Team

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.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
private  com.google.gwt.user.client.ui.FlowPanel currentRow
           
private  int rowSize
           
private  SectionTitle sectionTitle
           
private  com.google.gwt.user.client.ui.FlowPanel titlePanel
           
private  int titleWidgetCount
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ContentBlockLayout(String title)
           
 
Method Summary
 void addContentBlock(ContentBlock block)
           
 void addContentTitleWidget(com.google.gwt.user.client.ui.Widget widget)
           
 void setContentTitle(String title)
           
 
Methods inherited from class org.kuali.student.common.ui.client.widgets.layout.VerticalFlowPanel
getFlowStyle
 
Methods inherited from class org.kuali.student.common.ui.client.widgets.layout.CustomFlowPanel
add
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
clear, insert, insert
 
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, 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
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Field Detail

sectionTitle

private SectionTitle sectionTitle

titlePanel

private com.google.gwt.user.client.ui.FlowPanel titlePanel

currentRow

private com.google.gwt.user.client.ui.FlowPanel currentRow

rowSize

private int rowSize

titleWidgetCount

private int titleWidgetCount
Constructor Detail

ContentBlockLayout

public ContentBlockLayout(String title)
Method Detail

setContentTitle

public void setContentTitle(String title)

addContentTitleWidget

public void addContentTitleWidget(com.google.gwt.user.client.ui.Widget widget)

addContentBlock

public void addContentBlock(ContentBlock block)


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