|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.AbstractForm
org.springframework.richclient.widget.AbstractWidgetForm
org.springframework.richclient.form.AbstractFocussableForm
org.springframework.richclient.samples.simple.ui.ContactForm
public class ContactForm
Form to handle the properties of a Contact object. It uses a TableFormBuilder
to construct the layout of the
form. Contact object properties are easily bound to UI controls using the form builder's
TableFormBuilder.add(String)
method. The platform takes care of determining which kind of control to create
based on the type of the property in question.
Field Summary |
---|
Fields inherited from class org.springframework.richclient.form.AbstractFocussableForm |
---|
UNSAVEDCHANGES_HASERRORS_WARNING_ID, UNSAVEDCHANGES_WARNING_ID |
Fields inherited from class org.springframework.richclient.widget.AbstractWidgetForm |
---|
SAVE_CMD_ID, showing, UNDO_CMD_ID |
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
---|
logger |
Fields inherited from interface org.springframework.richclient.widget.Widget |
---|
EMPTY_WIDGET |
Constructor Summary | |
---|---|
ContactForm(Contact contact)
|
Method Summary | |
---|---|
protected JComponent |
createFormControl()
|
Methods inherited from class org.springframework.richclient.form.AbstractFocussableForm |
---|
canClose, grabFocus, handleEnabledChange, init, setFocusControl |
Methods inherited from class org.springframework.richclient.widget.AbstractWidgetForm |
---|
getCommands, getCommitCommandFaceDescriptorId, getComponent, getRevertCommandFaceDescriptorId, isShowing, onAboutToHide, onAboutToShow |
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory |
---|
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton |
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
---|
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.richclient.factory.ControlFactory |
---|
getControl |
Constructor Detail |
---|
public ContactForm(Contact contact)
Method Detail |
---|
protected JComponent createFormControl()
createFormControl
in class AbstractForm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |