|
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.FormLayoutManager
public class FormLayoutManager
A form layout manager represents a java.awt.LayoutManager in the form model.
It has a layout manager class, layout properties and constraints of child components.
Take a look at the example source code (FormSaverExamples.java) for details.
| Field Summary |
|---|
| Fields inherited from class com.jformdesigner.model.FormObject |
|---|
NULL_VALUE |
| Constructor Summary | |
|---|---|
FormLayoutManager(java.lang.Class<?> managerClass)
Constructs a form layout manager object for the specified layout manager class. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones this form component. |
FormLayoutConstraints |
getConstraints(FormComponent comp)
Returns the form layout constraints for the specified form component, or null the form component has no constraints. |
FormContainer |
getContainer()
Returns the form container for this object. |
java.lang.Class<?> |
getLayoutClass()
Returns the layout manager class. |
java.util.Iterator<java.util.Map.Entry<FormComponent,FormLayoutConstraints>> |
iterator()
Returns an iterator over the constraints in this object. |
FormLayoutConstraints |
setConstraints(FormComponent comp,
FormLayoutConstraints constraints)
Sets the form layout constraints for a form component. |
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 |
| Constructor Detail |
|---|
public FormLayoutManager(java.lang.Class<?> managerClass)
| Method Detail |
|---|
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.Class<?> getLayoutClass()
public FormLayoutConstraints getConstraints(FormComponent comp)
null the form component has no constraints.
public FormLayoutConstraints setConstraints(FormComponent comp,
FormLayoutConstraints constraints)
public FormContainer getContainer()
public java.util.Iterator<java.util.Map.Entry<FormComponent,FormLayoutConstraints>> iterator()
Iterator.next() returns an java.util.Map.Entry
where the key is the FormComponent and the value is the FormLayoutConstraints.
iterator in interface java.lang.Iterable<java.util.Map.Entry<FormComponent,FormLayoutConstraints>>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 | ||||||||