|
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.FormLayoutConstraints
public class 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 | |
---|---|
static java.lang.String |
PROP_VALUE
|
Fields inherited from class com.jformdesigner.model.FormObject |
---|
NULL_VALUE |
Constructor Summary | |
---|---|
FormLayoutConstraints(java.lang.Class<?> constraintsClass)
Constructs a form layout constraints object for the specified class. |
|
FormLayoutConstraints(java.lang.Class<?> constraintsClass,
java.lang.Object value)
Constructs a form layout constraints object using the specified value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones this form component. |
FormComponent |
getComponent()
Returns the form component for this object. |
java.lang.Class<?> |
getConstraintsClass()
Returns the layout constraints class. |
FormLayoutManager |
getLayout()
Returns the form layout manager for this object. |
boolean |
isEqual(FormLayoutConstraints constraints)
Compares this constraints with the given constraints. |
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_VALUE
Constructor Detail |
---|
public FormLayoutConstraints(java.lang.Class<?> constraintsClass)
public FormLayoutConstraints(java.lang.Class<?> constraintsClass, java.lang.Object value)
PROP_VALUE
.
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.Class<?> getConstraintsClass()
public FormLayoutManager getLayout()
public FormComponent getComponent()
public boolean isEqual(FormLayoutConstraints constraints)
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 |