|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.joseluismartin.gui.form.BoxFormBuilder
public class BoxFormBuilder
A FormBuilder that create form using columns of Box. Add components using a implicit cursor.
| Constructor Summary | |
|---|---|
BoxFormBuilder()
Default Ctor |
|
BoxFormBuilder(BinderFactory binderFactory)
Default Ctor |
|
| Method Summary | |
|---|---|
void |
add(Component c)
Add a component to Form at position pointer by cursor, Increments cursor by one. |
void |
add(String name,
Component c)
Add a component with label, increments cursor by two. |
BinderFactory |
getBinderFactory()
|
JComponent |
getForm()
Builds the panel form. |
int |
getHeight()
|
org.springframework.context.MessageSource |
getMessageSource()
|
boolean |
isDebug()
|
void |
next()
|
void |
reset()
Reset the form builder to reuse for creating a new panel |
void |
row()
Move cursor to next row. |
void |
setBinderFactory(BinderFactory binderFactory)
|
void |
setDebug(boolean debug)
|
void |
setHeight(int height)
|
void |
setMaxWidth(int i)
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxFormBuilder()
public BoxFormBuilder(BinderFactory binderFactory)
| Method Detail |
|---|
public void add(Component c)
c - Component to add
public void add(String name,
Component c)
name - label stringc - component.public void setMaxWidth(int i)
i - public void row()
public JComponent getForm()
public void reset()
public void next()
public int getHeight()
public void setHeight(int height)
public boolean isDebug()
public void setDebug(boolean debug)
public BinderFactory getBinderFactory()
public void setBinderFactory(BinderFactory binderFactory)
public org.springframework.context.MessageSource getMessageSource()
public void setMessageSource(org.springframework.context.MessageSource messageSource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||