|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.form.binding.support.DecoratedControlBinding
public class DecoratedControlBinding
Wraps a source Binding and returns an alternate control in place
of the source binding's control. This allows one to decorate the source
binding's control (for example, by wrapping a JList in a JScrollPane).
Note that this method will call the source Binding's getControl()
method whenever its getControl() method is called in order
to ensure that any actual initialization/binding done in the source
Binding's getControl() method is performed.
| Constructor Summary | |
|---|---|
DecoratedControlBinding(Binding source,
JComponent decoratingComponent)
|
|
| Method Summary | |
|---|---|
JComponent |
getControl()
Returns the visual control that is bound to the form model's property. |
JComponent |
getDecoratingComponent()
|
FormModel |
getFormModel()
Returns the form model that this binding is for. |
String |
getProperty()
Returns the property that this binding is for. |
Binding |
getSource()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecoratedControlBinding(Binding source,
JComponent decoratingComponent)
| Method Detail |
|---|
public Binding getSource()
public JComponent getDecoratingComponent()
public FormModel getFormModel()
Binding
getFormModel in interface Bindingpublic String getProperty()
Binding
getProperty in interface Bindingpublic JComponent getControl()
Binding
getControl in interface ControlFactorygetControl in interface Bindingnull.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||