Class NullableSpinnerValueObservableValue
- java.lang.Object
-
- org.eclipse.core.databinding.observable.AbstractObservable
-
- org.eclipse.core.databinding.observable.value.AbstractObservableValue
-
- com._1c.g5.v8.dt.common.ui.databinding.NullableSpinnerValueObservableValue
-
- All Implemented Interfaces:
org.eclipse.core.databinding.observable.IObservable
,org.eclipse.core.databinding.observable.value.IObservableValue
public class NullableSpinnerValueObservableValue extends org.eclipse.core.databinding.observable.value.AbstractObservableValue
Observable for the nullable spinner value.
-
-
Constructor Summary
Constructors Constructor Description NullableSpinnerValueObservableValue(NullableSpinner spinner)
Instantiates a new nullable spinner value observable value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
protected Object
clone()
void
dispose()
protected Integer
doGetValue()
protected void
doSetValue(Object value)
protected void
fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0)
protected void
firstListenerAdded()
org.eclipse.core.databinding.observable.Realm
getRealm()
Object
getValueType()
protected boolean
hasListeners()
protected void
lastListenerRemoved()
protected void
removeListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
-
Methods inherited from class org.eclipse.core.databinding.observable.value.AbstractObservableValue
addValueChangeListener, fireChange, fireValueChange, getValue, isStale, removeValueChangeListener, setValue
-
Methods inherited from class org.eclipse.core.databinding.observable.AbstractObservable
addChangeListener, addDisposeListener, addStaleListener, checkRealm, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener
-
-
-
-
Constructor Detail
-
NullableSpinnerValueObservableValue
public NullableSpinnerValueObservableValue(NullableSpinner spinner)
Instantiates a new nullable spinner value observable value.- Parameters:
spinner
- the spinner.
-
-
Method Detail
-
getValueType
public Object getValueType()
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.core.databinding.observable.IObservable
- Overrides:
dispose
in classorg.eclipse.core.databinding.observable.AbstractObservable
-
doGetValue
protected Integer doGetValue()
- Specified by:
doGetValue
in classorg.eclipse.core.databinding.observable.value.AbstractObservableValue
-
doSetValue
protected void doSetValue(Object value)
- Overrides:
doSetValue
in classorg.eclipse.core.databinding.observable.value.AbstractObservableValue
-
addListener
protected void addListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
-
removeListener
protected void removeListener(Object arg0, org.eclipse.core.databinding.observable.IObservablesListener arg1)
-
hasListeners
protected boolean hasListeners()
-
fireEvent
protected void fireEvent(org.eclipse.core.databinding.observable.ObservableEvent arg0)
-
firstListenerAdded
protected void firstListenerAdded()
-
lastListenerRemoved
protected void lastListenerRemoved()
-
getRealm
public org.eclipse.core.databinding.observable.Realm getRealm()
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-