Class ValueChooserRgbObservableValue
- java.lang.Object
-
- org.eclipse.core.databinding.observable.AbstractObservable
-
- org.eclipse.core.databinding.observable.value.AbstractObservableValue
-
- com._1c.g5.v8.dt.common.ui.databinding.ValueChooserRgbObservableValue
-
- All Implemented Interfaces:
org.eclipse.core.databinding.observable.IObservable
,org.eclipse.core.databinding.observable.value.IObservableValue
public class ValueChooserRgbObservableValue extends org.eclipse.core.databinding.observable.value.AbstractObservableValue
Read onlyValueChooser
image value observable.
-
-
Constructor Summary
Constructors Constructor Description ValueChooserRgbObservableValue(ValueChooser chooser, org.eclipse.swt.graphics.Point size)
Instantiates a new obserbable 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()
protected org.eclipse.swt.graphics.RGB
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, dispose, fireStale, isDisposed, removeChangeListener, removeDisposeListener, removeStaleListener
-
-
-
-
Constructor Detail
-
ValueChooserRgbObservableValue
public ValueChooserRgbObservableValue(ValueChooser chooser, org.eclipse.swt.graphics.Point size)
Instantiates a new obserbable value.- Parameters:
chooser
- the value chooser.size
- the image size.
-
-
Method Detail
-
getValueType
public Object getValueType()
-
doGetValue
protected org.eclipse.swt.graphics.RGB 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
-
-