|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jformdesigner.model.FormObject
com.jformdesigner.model.FormBindingGroup
public class FormBindingGroup
A form binding represents a group of bindings in the form model.
Usually a org.jdesktop.beansbinding.BindingGroup
.
Field Summary | |
---|---|
static java.lang.String |
PROP_BOUND
|
static java.lang.String |
PROP_NAME
|
Fields inherited from class com.jformdesigner.model.FormObject |
---|
NULL_VALUE |
Constructor Summary | |
---|---|
FormBindingGroup(java.lang.Class<?> bindingGroupClass)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.jformdesigner.model.FormObject |
---|
getProperties, getProperty, getProperty, getPropertyBoolean, getPropertyBoolean, getPropertyCount, getPropertyDouble, getPropertyDouble, getPropertyInt, getPropertyInt, getPropertyNames, getPropertyString, getPropertyString, getReferenceCount, properties, propertyNames, setProperty, setProperty, setProperty, setPropertyBoolean, setPropertyBoolean, setPropertyDouble, setPropertyDouble, setPropertyInt, setPropertyInt, setPropertyString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROP_NAME
public static final java.lang.String PROP_BOUND
Constructor Detail |
---|
public FormBindingGroup(java.lang.Class<?> bindingGroupClass)
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public 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 FormObject
|
JFormDesigner 5.0.4 Runtime API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |