Class FormLayoutConstraints
java.lang.Object
com.jformdesigner.model.FormObject
com.jformdesigner.model.FormLayoutConstraints
A form layout constraints represents a constraints object
(e.g. java.awt.GridBagConstraints) in the form model.
It has a layout constraints class and constraints properties.
Take a look at the example source code (FormSaverExamples.java) for details.
-
Field Summary
FieldsFields inherited from class FormObject
NULL_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionFormLayoutConstraints(Class<?> constraintsClass) Constructs a form layout constraints object for the specified class.FormLayoutConstraints(Class<?> constraintsClass, Object value) Constructs a form layout constraints object using the specified value. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones this form component.Returns the form component for this object.Class<?> Returns the layout constraints class.Returns the form layout manager for this object.booleanisEqual(FormLayoutConstraints constraints) Compares this constraints with the given constraints.toString()Returns a string representation of the object.Methods inherited from class FormObject
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
-
Field Details
-
PROP_VALUE
- See Also:
-
-
Constructor Details
-
FormLayoutConstraints
Constructs a form layout constraints object for the specified class. -
FormLayoutConstraints
Constructs a form layout constraints object using the specified value. The constraints class is set to the given class and the value into the propertyPROP_VALUE.- Since:
- 4.0.9
-
-
Method Details
-
clone
-
getConstraintsClass
Returns the layout constraints class. -
getLayout
Returns the form layout manager for this object. -
getComponent
Returns the form component for this object. -
isEqual
Compares this constraints with the given constraints. -
toString
Returns a string representation of the object.- Overrides:
toStringin classFormObject
-