Class 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 only ValueChooser image value observable.
    • 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
      • Methods inherited from interface org.eclipse.core.databinding.observable.IObservable

        addChangeListener, addDisposeListener, addStaleListener, dispose, getRealm, 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 class org.eclipse.core.databinding.observable.value.AbstractObservableValue
      • doSetValue

        protected void doSetValue​(Object value)
        Overrides:
        doSetValue in class org.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()