|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jfacefactories.binders.ButtonBinder
public final class ButtonBinder
Methods for databinding Button
controls.
Method Summary | ||
---|---|---|
|
bind(java.lang.Object bean,
java.lang.String propertyName,
T enumValue,
org.eclipse.swt.widgets.Button control)
Binds the passed control to a specific enum value so that the button is selected when the passed property of the passed bean matches this enum value. |
|
protected org.eclipse.core.databinding.DataBindingContext |
getContext()
Accessor to context. |
|
protected IExceptionHandler |
getExceptionHandler()
Accessor to exception handler. |
|
protected org.eclipse.core.databinding.observable.Realm |
getRealm()
Accessor to validation realm. |
|
protected void |
runInRealm(java.lang.Runnable runnable)
Runs the passed runnable in the current validation realm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public <T extends java.lang.Enum<?>> void bind(java.lang.Object bean, java.lang.String propertyName, T enumValue, org.eclipse.swt.widgets.Button control)
SWT.CHECK
or SWT.RADIO
and the passed property must match the passed enum value.
T
- bean
- propertyName
- enumValue
- control
- protected org.eclipse.core.databinding.DataBindingContext getContext()
protected org.eclipse.core.databinding.observable.Realm getRealm()
protected void runInRealm(java.lang.Runnable runnable)
runnable
- protected IExceptionHandler getExceptionHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |