com.tensegrity.palowebviewer.modules.widgets.client.section
Class HorizontalSection

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.HTMLTable
                  extended by com.google.gwt.user.client.ui.Grid
                      extended by com.tensegrity.palowebviewer.modules.widgets.client.section.BasicSection
                          extended by com.tensegrity.palowebviewer.modules.widgets.client.section.HorizontalSection
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.SourcesTableEvents

public class HorizontalSection
extends BasicSection

Horizonral expandable section

CSS Style Rules


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.HTMLTable
com.google.gwt.user.client.ui.HTMLTable.CellFormatter, com.google.gwt.user.client.ui.HTMLTable.ColumnFormatter, com.google.gwt.user.client.ui.HTMLTable.RowFormatter
 
Field Summary
protected  com.google.gwt.user.client.ui.HorizontalPanel paHeader
           
protected  com.google.gwt.user.client.ui.VerticalPanel paSection
           
 
Fields inherited from class com.google.gwt.user.client.ui.Grid
numColumns, numRows
 
Constructor Summary
HorizontalSection(java.lang.String title, boolean expanded, com.google.gwt.user.client.ui.Widget body)
           
 
Method Summary
 void addHeaderStyleName(java.lang.String style)
           
protected  void collapse()
          Callback for collapse section
protected  void expand()
          Callback for expand section
 
Methods inherited from class com.tensegrity.palowebviewer.modules.widgets.client.section.BasicSection
getClickListener, getIconWidget, getSectionIconCollapsedStyle, getSectionIconExpandedStyle, getSectionIconStyle, getSectionStyle, getSectionTitleStyle, getTitle, getWidget, isExpanded, setExpanded, setTitle
 
Methods inherited from class com.google.gwt.user.client.ui.Grid
clearCell, createCell, getCellCount, getColumnCount, getRowCount, prepareCell, prepareColumn, prepareRow, resize, resizeColumns, resizeRows
 
Methods inherited from class com.google.gwt.user.client.ui.HTMLTable
addTableListener, checkCellBounds, checkRowBounds, clear, getBodyElement, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCell, insertCells, insertRow, internalClearCell, isCellPresent, iterator, onBrowserEvent, remove, removeCell, removeRow, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setRowFormatter, setText, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onAttach, onDetach, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

paHeader

protected com.google.gwt.user.client.ui.HorizontalPanel paHeader

paSection

protected com.google.gwt.user.client.ui.VerticalPanel paSection
Constructor Detail

HorizontalSection

public HorizontalSection(java.lang.String title,
                         boolean expanded,
                         com.google.gwt.user.client.ui.Widget body)
Method Detail

addHeaderStyleName

public void addHeaderStyleName(java.lang.String style)

collapse

protected void collapse()
Description copied from class: BasicSection
Callback for collapse section

Specified by:
collapse in class BasicSection

expand

protected void expand()
Description copied from class: BasicSection
Callback for expand section

Specified by:
expand in class BasicSection