public class FormBindingGroup extends FormObject implements FormSelectable
org.jdesktop.beansbinding.BindingGroup.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_BOUND |
static java.lang.String |
PROP_NAME |
NULL_VALUE| Constructor and Description |
|---|
FormBindingGroup(java.lang.Class<?> bindingGroupClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FormBindingVisitor visitor)
Accepts the given visitor.
|
void |
addBinding(FormBinding binding)
Adds a form binding to the end of this form binding group.
|
void |
addBinding(FormBinding binding,
int index)
Adds a form binding to this form binding group at the specified position.
|
java.lang.Object |
clone()
Clones this form binding group.
|
FormBinding |
getBinding(int index)
Returns the form binding at
index. |
int |
getBindingCount()
Returns the number of form bindings in this form binding group.
|
java.lang.Class<?> |
getBindingGroupClass()
Returns the binding group class.
|
int |
getBindingIndex(FormBinding binding)
Returns the index of
binding in this binding group;
or -1 if the binding is not a child of this binding group. |
FormBinding[] |
getBindings()
Returns all form bindings in this form binding group.
|
java.lang.String |
getName()
Returns the name of this binding group.
|
FormRoot |
getRoot()
Returns the form root of this form binding group.
|
void |
removeBinding(FormBinding binding)
Removes the specified form binding from this form binding group.
|
void |
removeBinding(int index)
Removes the form binding at the specified index from this form binding group.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
equals, 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 static final java.lang.String PROP_NAME
public static final java.lang.String PROP_BOUND
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.Class<?> getBindingGroupClass()
public java.lang.String getName()
public int getBindingCount()
public FormBinding getBinding(int index)
index.public FormBinding[] getBindings()
public int getBindingIndex(FormBinding binding)
binding in this binding group;
or -1 if the binding is not a child of this binding group.public void addBinding(FormBinding binding)
public void addBinding(FormBinding binding, int index)
binding - The form binding to be added.index - The position in the binding list at which
to insert the binding; or -1 to insert at the endpublic void removeBinding(FormBinding binding)
public void removeBinding(int index)
public FormRoot getRoot()
public boolean accept(FormBindingVisitor visitor)
FormBindingVisitor.visit(com.jformdesigner.model.FormBinding) is called
with all form bindings of this form binding group.visitor - The visitor.FormBindingVisitor.visit(com.jformdesigner.model.FormBinding).public java.lang.String toString()
toString in class FormObjectCopyright (C) 2004-2017 FormDev Software GmbH. All rights reserved.