JFormDesigner 5.0.4 Runtime API

com.jformdesigner.model
Class FormBinding

java.lang.Object
  extended by com.jformdesigner.model.FormObject
      extended by com.jformdesigner.model.FormBinding

public class FormBinding
extends FormObject

A form binding represents a single binding in the form model. Usually a org.jdesktop.beansbinding.Binding.

Since:
5.0

Field Summary
static java.lang.String PROP_SOURCE
           
static java.lang.String PROP_SOURCE_PATH
           
static java.lang.String PROP_TARGET
           
static java.lang.String PROP_TARGET_PATH
           
 
Fields inherited from class com.jformdesigner.model.FormObject
NULL_VALUE
 
Constructor Summary
FormBinding()
           
FormBinding(java.lang.String source, java.lang.String sourcePath, java.lang.String target, java.lang.String targetPath)
           
 
Method Summary
 boolean accept(FormBindingVisitor visitor)
          Accepts the given visitor.
 java.lang.Object clone()
          Clones this form binding.
static FormBinding[] clone(FormBinding[] bindings)
           
 FormBindingGroup getBindingGroup()
          Returns the form binding group of this form binding.
 java.lang.String getSource()
           
 java.lang.String getSourcePath()
           
 java.lang.String getTarget()
           
 java.lang.String getTargetPath()
           
 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

PROP_SOURCE

public static final java.lang.String PROP_SOURCE
See Also:
Constant Field Values

PROP_SOURCE_PATH

public static final java.lang.String PROP_SOURCE_PATH
See Also:
Constant Field Values

PROP_TARGET

public static final java.lang.String PROP_TARGET
See Also:
Constant Field Values

PROP_TARGET_PATH

public static final java.lang.String PROP_TARGET_PATH
See Also:
Constant Field Values
Constructor Detail

FormBinding

public FormBinding()

FormBinding

public FormBinding(java.lang.String source,
                   java.lang.String sourcePath,
                   java.lang.String target,
                   java.lang.String targetPath)
Method Detail

clone

public java.lang.Object clone()
Clones this form binding.

Overrides:
clone in class java.lang.Object

getSource

public java.lang.String getSource()

getSourcePath

public java.lang.String getSourcePath()

getTarget

public java.lang.String getTarget()

getTargetPath

public java.lang.String getTargetPath()

getBindingGroup

public FormBindingGroup getBindingGroup()
Returns the form binding group of this form binding.


accept

public boolean accept(FormBindingVisitor visitor)
Accepts the given visitor. The visitor's FormBindingVisitor.visit(com.jformdesigner.model.FormBinding) is called with this form binding.

Parameters:
visitor - The visitor.
Returns:
The result of FormBindingVisitor.visit(com.jformdesigner.model.FormBinding).

clone

public static FormBinding[] clone(FormBinding[] bindings)

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class FormObject

JFormDesigner 5.0.4 Runtime API

Copyright (C) 2004-2012 FormDev Software GmbH. All rights reserved.