|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.widgets.layout.SectionStackSection
public class SectionStackSection
Section descriptor used by a SectionStack to describe a section of items which are shown or hidden together, and their associated header.
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
SectionStackSection()
|
|
SectionStackSection(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
SectionStackSection(java.lang.String title)
|
Method Summary | |
---|---|
void |
addItem(Canvas item)
|
java.lang.String |
getID()
Optional ID for the section. |
static SectionStackSection |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
|
java.lang.String |
getTitle()
Title to show for the section |
void |
setCanCollapse(java.lang.Boolean canCollapse)
This attribute controls whether or not the expand/collapse UI control is shown on the header of this section. |
void |
setControls(Canvas... controls)
|
void |
setExpanded(java.lang.Boolean expanded)
Sections default to the collapsed state unless showHeader is
set to false in which case they default to the expanded state. |
void |
setHidden(java.lang.Boolean hidden)
Sections default to the visible state. |
void |
setID(java.lang.String ID)
Optional ID for the section. |
void |
setItems(Canvas... items)
List of Canvases that constitute the section. |
void |
setResizeable(java.lang.Boolean resizeable)
If set to false, then the items in this section will not be resized by sectionHeader repositioning. |
void |
setShowHeader(java.lang.Boolean showHeader)
If true, a header will be shown for this section. |
void |
setTitle(java.lang.String title)
Title to show for the section |
Methods inherited from class com.smartgwt.client.core.RefDataClass |
---|
getRef, getRef |
Methods inherited from class com.smartgwt.client.core.JsObject |
---|
isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SectionStackSection()
public SectionStackSection(com.google.gwt.core.client.JavaScriptObject jsObj)
public SectionStackSection(java.lang.String title)
Method Detail |
---|
public static SectionStackSection getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setID(java.lang.String ID)
SectionStack
APIs such as
SectionStack.expandSection(int)
and SectionStack.collapseSection(int)
.
ID
- ID Default value is nullpublic java.lang.String getID()
SectionStack
APIs such as
SectionStack.expandSection(int)
and SectionStack.collapseSection(int)
.
public void setTitle(java.lang.String title)
title
- title Default value is nullpublic java.lang.String getTitle()
public void setShowHeader(java.lang.Boolean showHeader)
showHeader
- showHeader Default value is truepublic void setResizeable(java.lang.Boolean resizeable)
resizeable
- resizeable Default value is nullpublic void setExpanded(java.lang.Boolean expanded)
showHeader
is
set to false
in which case they default to the expanded state. This
attribute allows you to explicitly control the expand/collapse state of the
section by overriding the above default behavior.
expanded
- expanded Default value is falsepublic void setHidden(java.lang.Boolean hidden)
hidden
- hidden Default value is falsepublic void setCanCollapse(java.lang.Boolean canCollapse)
canCollapse
- canCollapse Default value is truepublic void setItems(Canvas... items)
items
- list of Canvases that constitute the sectionpublic void addItem(Canvas item)
public void setControls(Canvas... controls)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |