|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.HTMLTable
com.google.gwt.user.client.ui.Grid
com.tensegrity.palowebviewer.modules.widgets.client.section.BasicSection
public abstract class BasicSection
Basic expandeble section
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 |
---|
Fields inherited from class com.google.gwt.user.client.ui.Grid |
---|
numColumns, numRows |
Constructor Summary | |
---|---|
BasicSection(java.lang.String title,
boolean expanded,
com.google.gwt.user.client.ui.Widget widget)
|
Method Summary | |
---|---|
protected abstract void |
collapse()
Callback for collapse section |
protected abstract void |
expand()
Callback for expand section |
protected com.google.gwt.user.client.ui.ClickListener |
getClickListener()
|
protected com.google.gwt.user.client.ui.Widget |
getIconWidget()
|
protected java.lang.String |
getSectionIconCollapsedStyle()
|
protected java.lang.String |
getSectionIconExpandedStyle()
|
protected java.lang.String |
getSectionIconStyle()
|
protected java.lang.String |
getSectionStyle()
|
protected java.lang.String |
getSectionTitleStyle()
|
java.lang.String |
getTitle()
|
com.google.gwt.user.client.ui.Widget |
getWidget()
|
boolean |
isExpanded()
|
void |
setExpanded(boolean expanded)
Make the section expanded or collapsed |
void |
setTitle(java.lang.String title)
|
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 |
Constructor Detail |
---|
public BasicSection(java.lang.String title, boolean expanded, com.google.gwt.user.client.ui.Widget widget)
Method Detail |
---|
protected abstract void expand()
protected abstract void collapse()
protected com.google.gwt.user.client.ui.Widget getIconWidget()
public com.google.gwt.user.client.ui.Widget getWidget()
protected com.google.gwt.user.client.ui.ClickListener getClickListener()
public void setExpanded(boolean expanded)
expanded
- true==expanded, false==collapsedpublic java.lang.String getTitle()
getTitle
in class com.google.gwt.user.client.ui.UIObject
public void setTitle(java.lang.String title)
setTitle
in class com.google.gwt.user.client.ui.UIObject
public boolean isExpanded()
protected java.lang.String getSectionStyle()
protected java.lang.String getSectionTitleStyle()
protected java.lang.String getSectionIconStyle()
protected java.lang.String getSectionIconExpandedStyle()
protected java.lang.String getSectionIconCollapsedStyle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |