Examples of SpinnerObservableValue


Examples of org.eclipse.jface.internal.databinding.internal.swt.SpinnerObservableValue

   * @throws IllegalArgumentException
   *             if <code>control</code> type is unsupported
   */
  public static ISWTObservableValue observeSelection(Control control) {
    if (control instanceof Spinner) {
      return new SpinnerObservableValue((Spinner) control,
          SWTProperties.SELECTION);
    } else if (control instanceof Button) {
      return new ButtonObservableValue((Button) control);
    } else if (control instanceof Combo) {
      return new ComboObservableValue((Combo) control,
View Full Code Here

Examples of org.eclipse.jface.internal.databinding.internal.swt.SpinnerObservableValue

   * @throws IllegalArgumentException
   *             if <code>control</code> type is unsupported
   */
  public static ISWTObservableValue observeMin(Control control) {
    if (control instanceof Spinner) {
      return new SpinnerObservableValue((Spinner) control,
          SWTProperties.MIN);
    } else if (control instanceof Scale) {
      return new ScaleObservableValue((Scale) control, SWTProperties.MIN);
    }

View Full Code Here

Examples of org.eclipse.jface.internal.databinding.internal.swt.SpinnerObservableValue

   * @throws IllegalArgumentException
   *             if <code>control</code> type is unsupported
   */
  public static ISWTObservableValue observeMax(Control control) {
    if (control instanceof Spinner) {
      return new SpinnerObservableValue((Spinner) control,
          SWTProperties.MAX);
    } else if (control instanceof Scale) {
      return new ScaleObservableValue((Scale) control, SWTProperties.MAX);
    }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.