public class FormattedTextObservableValue
extends org.eclipse.core.databinding.observable.value.AbstractObservableValue
implements org.eclipse.jface.databinding.swt.ISWTObservable
Modifier and Type | Field and Description |
---|---|
protected FormattedText |
formattedText
FormattedText FormattedText that this is being observed. |
Constructor and Description |
---|
FormattedTextObservableValue(FormattedText formattedText) |
FormattedTextObservableValue(FormattedText formattedText,
int updateEventType) |
FormattedTextObservableValue(org.eclipse.core.databinding.observable.Realm realm,
FormattedText formattedText,
int updateEventType) |
Modifier and Type | Method and Description |
---|---|
protected void |
addListener(java.lang.Object arg0,
org.eclipse.core.databinding.observable.IObservablesListener arg1) |
protected java.lang.Object |
clone() |
void |
dispose() |
protected java.lang.Object |
doGetValue() |
protected void |
doSetValue(java.lang.Object value)
Sets the bound
DateChooser date chooser to the passed value . |
protected void |
fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0) |
protected void |
firstListenerAdded() |
java.lang.Object |
getValueType() |
org.eclipse.swt.widgets.Widget |
getWidget() |
protected boolean |
hasListeners() |
protected void |
lastListenerRemoved() |
protected void |
removeListener(java.lang.Object arg0,
org.eclipse.core.databinding.observable.IObservablesListener arg1) |
addValueChangeListener, fireChange, fireValueChange, getValue, isStale, removeValueChangeListener, setValue
addChangeListener, addDisposeListener, addStaleListener, checkRealm, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener
protected final FormattedText formattedText
FormattedText
FormattedText that this is being observed.public FormattedTextObservableValue(FormattedText formattedText)
public FormattedTextObservableValue(FormattedText formattedText, int updateEventType)
public FormattedTextObservableValue(org.eclipse.core.databinding.observable.Realm realm, FormattedText formattedText, int updateEventType)
public void dispose()
dispose
in interface org.eclipse.core.databinding.observable.IObservable
dispose
in class org.eclipse.core.databinding.observable.AbstractObservable
protected java.lang.Object doGetValue()
doGetValue
in class org.eclipse.core.databinding.observable.value.AbstractObservableValue
protected void doSetValue(java.lang.Object value)
DateChooser
date chooser to the passed value
.doSetValue
in class org.eclipse.core.databinding.observable.value.AbstractObservableValue
value
- new value, Date expectedjava.lang.ClassCastException
- if the value is anything other than a DateAbstractObservableValue.doSetValue(java.lang.Object)
public java.lang.Object getValueType()
getValueType
in interface org.eclipse.core.databinding.observable.value.IObservableValue
public org.eclipse.swt.widgets.Widget getWidget()
getWidget
in interface org.eclipse.jface.databinding.swt.ISWTObservable
protected void addListener(java.lang.Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
protected void removeListener(java.lang.Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
protected boolean hasListeners()
protected void fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0)
protected void firstListenerAdded()
protected void lastListenerRemoved()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException