public class FormBindingGroup extends FormObject implements FormSelectable
org.jdesktop.beansbinding.BindingGroup
.Modifier and Type | Field and Description |
---|---|
static String |
PROP_BOUND |
static String |
PROP_NAME |
NULL_VALUE
Constructor and Description |
---|
FormBindingGroup(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.
|
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.
|
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.
|
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.
|
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, setPropertyString
public static final String PROP_NAME
public static final String PROP_BOUND
public FormBindingGroup(Class<?> bindingGroupClass)
public Class<?> getBindingGroupClass()
public 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 String toString()
toString
in class FormObject
Copyright (C) 2004-2019 FormDev Software GmbH. All rights reserved.