public class SectionNode extends Node implements Iterable<FieldNode>
Encapsulates a section of a Form. FormNodes can contain multiple sections (SectionNode).
Label - A label/heading for the section.
Description - A description for the section. Will be rendered in a HelpButton.
Columns - The number of columns in this section.
FieldNode - Can contain multiple fields. These are the fields that should be rendered as a part of this section.
ActionsNode - Can contain multiple ActionsNode nodes to inject buttons and menus in various positions of the section.
com.codename1.rad.ui.UI#section(com.codename1.rad.models.Attribute…)| Modifier and Type | Class and Description |
|---|---|
class |
SectionNode.Fields |
actions, attributes, childNodes, viewParameters| Constructor and Description |
|---|
SectionNode(Attribute... atts) |
| Modifier and Type | Method and Description |
|---|---|
Columns |
getColumns() |
Property.Description |
getDescription() |
Property.Label |
getLabel() |
Iterator<FieldNode> |
iterator() |
void |
setAttributes(Attribute... atts)
Sets attributes on this node.
|
appendChild, as, canProxy, copyAttributes, copyAttributesIfNotExists, createPropertySelector, findAttribute, findAttributeValue, findInheritedAttribute, findInheritedAttributeValue, getAction, getActions, getAncestor, getCanonicalNode, getChildFieldNodes, getChildNode, getChildNodes, getChildNodes, getDateFormatter, getIconUIID, getInheritedAction, getInheritedActions, getNumberFormatter, getParent, getProxying, getTextFormatter, getUIID, getUIID, getUIID, getUIIDPrefix, getUIIDPrefix, getValue, getViewParameter, getViewParameter, getViewParameterValue, getViewParameterValue, hasViewParameter, isSameNode, merge, mergeRecursive, proxy, proxyingIterator, setAttributes, setAttributesIfNotExists, setParent, setProxying, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SectionNode(Attribute... atts)
public void setAttributes(Attribute... atts)
NodeSets attributes on this node.
setAttributes in class Nodeatts - The attributes to set.public Property.Label getLabel()
public Property.Description getDescription()
public Columns getColumns()
Copyright © 2022. All Rights Reserved.