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.
|
as, canProxy, createPropertySelector, findAttribute, findInheritedAttribute, 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, merge, mergeRecursive, proxy, proxyingIterator, setAttributesIfNotExists, setParent, setProxying
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SectionNode(Attribute... atts)
public void setAttributes(Attribute... atts)
Node
Sets attributes on this node.
setAttributes
in class Node
atts
- The attributes to set.public Property.Label getLabel()
public Property.Description getDescription()
public Columns getColumns()
Copyright © 2021. All Rights Reserved.