|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.custom.dynaForm.guiBuilder.GuiBuilder
public abstract class GuiBuilder
The interface to the gui builder which creates all needed gui elements.
You have implement each of them.
Constructor Summary | |
---|---|
GuiBuilder()
|
Method Summary | |
---|---|
protected boolean |
buildField(FieldInterface field)
actuallly build the fields gui component |
abstract void |
createInputBoolean(FieldInterface field)
select a boolean |
abstract void |
createInputDate(FieldInterface field)
input date |
abstract void |
createInputNumber(FieldInterface field)
enter a number |
abstract void |
createInputText(FieldInterface field)
input field |
abstract void |
createNative(FieldInterface field)
this is when the user passed in a component to use for the this field |
abstract void |
createOutputText(FieldInterface field)
output text using the field as value provider |
abstract void |
createSearchFor(FieldInterface field)
search for component |
abstract void |
createSearchForSelectMenu(FieldInterface field)
search for component |
abstract void |
createSelectOneMenu(FieldInterface field)
select one menu |
java.util.Map |
getLabelBundle()
|
boolean |
isDisplayOnly()
|
void |
setDisplayOnly(boolean displayOnly)
set if the guiBuilder should build a read only form only |
void |
setLabelBundle(java.util.Map labelBundle)
the bundle to use with labels |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuiBuilder()
Method Detail |
---|
public boolean isDisplayOnly()
setDisplayOnly(boolean)
public void setDisplayOnly(boolean displayOnly)
public java.util.Map getLabelBundle()
setLabelBundle(Map)
public void setLabelBundle(java.util.Map labelBundle)
public abstract void createOutputText(FieldInterface field)
public abstract void createInputText(FieldInterface field)
public abstract void createInputDate(FieldInterface field)
public abstract void createSelectOneMenu(FieldInterface field)
public abstract void createInputNumber(FieldInterface field)
public abstract void createInputBoolean(FieldInterface field)
public abstract void createSearchFor(FieldInterface field)
public abstract void createSearchForSelectMenu(FieldInterface field)
public abstract void createNative(FieldInterface field)
protected boolean buildField(FieldInterface field)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |