com.microstrategy.web.objects.rw.RWSectionDef |
![]() |
Represents section definition
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract RWUnitDef |
addChild(int unitType, String unitKey)
Adds the specified child unit
| ||||||||||
abstract RWUnitDef |
addChild(int unitType)
Adds the specified child unit
| ||||||||||
abstract RWUnitDef |
addChild(int unitType, String unitKey, String beforeKey)
Adds the specified child unit
| ||||||||||
abstract RWControlDef | addControl(String key, int type, EnumWebControlSubType subType, String ctlNodeKey) | ||||||||||
abstract RWControlDef | addControl(String key, int type, String ctlNodeKey) | ||||||||||
abstract RWControlDef |
addControl(String key, int type)
Adds control unit to this section
| ||||||||||
abstract RWUnitDef |
getChild(int index)
Returns i-th child unit definition.
| ||||||||||
abstract RWUnitDef |
getChildByKey(String key)
Returns child definition with specified key.
| ||||||||||
abstract int |
getChildCount()
Return a number of children
| ||||||||||
abstract RWFieldGroupDef | getFieldGroup() | ||||||||||
abstract RWGroupBy |
getGroupBy()
Returns a group by object associated with this section
| ||||||||||
abstract int |
getGroupByLevel()
Returns a group by level of the section
| ||||||||||
abstract int |
indexOf(RWUnitDef child)
Returns an index of specified child
| ||||||||||
abstract boolean |
isHorizontal()
Return
true or false depending on whether
the section is horizontal or vertical | ||||||||||
abstract RWUnitDef |
removeChildByKey(String key)
Removes child unit with specified key
| ||||||||||
abstract void |
setHorizontal(boolean isHorizontal)
Sets the orientation of the section to be either horizontal (
true )
or vertical false . | ||||||||||
abstract void |
sortChildren(Comparator comparator)
Sorts children based on the specified comparator
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Adds the specified child unit
unitType | unit type |
---|---|
unitKey | unit key |
Adds the specified child unit
unitType | unit type |
---|
Adds the specified child unit
unitType | unit type |
---|---|
unitKey | unit key |
beforeKey | the existing unit key before which to insert a new one |
Adds control unit to this section
key | control unit key |
---|---|
type | control type |
Returns i-th child unit definition.
Returns child definition with specified key. (This method is not used in prototype).
Return a number of children
Returns a group by object associated with this section
Returns a group by level of the section
Returns an index of specified child
child | a child unit |
---|
Return true
or false
depending on whether
the section is horizontal or vertical
true
is the section is oriented horizontally false
if the section is oriented verticallyRemoves child unit with specified key
Sets the orientation of the section to be either horizontal (true
)
or vertical false
. If the orientation is horizontal, this call will also
set the height of all children subsections to be the same as the first subsection.
isHorizontal | boolean to indicate whether horizontal or vertical |
---|
WebObjectsException |
---|
Sorts children based on the specified comparator
comparator | Comparator |
---|