public class FormRoot extends FormContainer
FIELD_MENU_BARFIELD_NAMENULL_VALUE| Constructor and Description |
|---|
FormRoot()
Constructs a form root.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FormBindingVisitor visitor)
Accepts the given visitor.
|
void |
addBindingGroup(FormBindingGroup bindingGroup)
Adds a form binding group to the end of this form root.
|
void |
addBindingGroup(FormBindingGroup bindingGroup,
int index)
Adds a form binding group to this form root at the specified position.
|
java.lang.Object |
clone()
Clones this form root.
|
FormBindingGroup |
getBindingGroup(int index)
Returns the form binding group at
index. |
FormBindingGroup |
getBindingGroup(java.lang.String name)
Returns the form binding group for the given
name. |
int |
getBindingGroupCount()
Returns the number of form binding groups in this form root.
|
int |
getBindingGroupIndex(FormBindingGroup bindingGroup)
Returns the index of
bindingGroup in this form;
or -1 if the binding group is not a child of this form. |
FormBindingGroup[] |
getBindingGroups()
Returns all form binding groups in this form root.
|
void |
removeBindingGroup(FormBindingGroup bindingGroup)
Removes the specified form binding group from this form root.
|
void |
removeBindingGroup(int index)
Removes the form binding group at the specified index from this form root.
|
accept, add, add, add, add, getComponent, getComponentCount, getComponentIndex, getComponents, getLayout, getMenuBar, getMenuBarAndComponents, getMenuBarOwner, remove, remove, remove, removeAll, setLayout, setMenuBaraddEvent, addEvent, auxiliary, getAuxiliaryPropertyBoolean, getAuxiliaryPropertyInt, getAuxiliaryPropertyString, getClassName, getConstraints, getEvent, getEventCount, getEvents, getModel, getName, getParent, hasAuxiliary, removeEvent, removeEvent, setName, toStringequals, getClientProperty, getProperties, getProperty, getProperty, getPropertyBoolean, getPropertyBoolean, getPropertyCount, getPropertyDouble, getPropertyDouble, getPropertyInt, getPropertyInt, getPropertyNames, getPropertyString, getPropertyString, getReferenceCount, hashCode, properties, propertyNames, putClientProperty, setProperty, setProperty, setProperty, setPropertyBoolean, setPropertyBoolean, setPropertyDouble, setPropertyDouble, setPropertyInt, setPropertyInt, setPropertyStringpublic java.lang.Object clone()
clone in class FormContainerpublic int getBindingGroupCount()
public FormBindingGroup getBindingGroup(int index)
index.public FormBindingGroup getBindingGroup(java.lang.String name)
name.public FormBindingGroup[] getBindingGroups()
public int getBindingGroupIndex(FormBindingGroup bindingGroup)
bindingGroup in this form;
or -1 if the binding group is not a child of this form.public void addBindingGroup(FormBindingGroup bindingGroup)
public void addBindingGroup(FormBindingGroup bindingGroup, int index)
bindingGroup - The form binding group to be added.index - The position in the binding group list at which
to insert the binding group; or -1 to insert at the endpublic void removeBindingGroup(FormBindingGroup bindingGroup)
public void removeBindingGroup(int index)
public boolean accept(FormBindingVisitor visitor)
FormBindingVisitor.visit(com.jformdesigner.model.FormBinding) is called
with all form bindings of this form root.visitor - The visitor.FormBindingVisitor.visit(com.jformdesigner.model.FormBinding).Copyright (C) 2004-2017 FormDev Software GmbH. All rights reserved.