All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.swt.internal.widgets.IControlAdapter Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2002, 2016 Innoopract Informationssysteme GmbH and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Innoopract Informationssysteme GmbH - initial API and implementation
 *    EclipseSource - ongoing development
 ******************************************************************************/
package org.eclipse.swt.internal.widgets;

import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Cursor;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Shell;


public interface IControlAdapter {

  Shell getShell();

  int getTabIndex();
  void setTabIndex( int index );

  Font getUserFont();
  Color getUserForeground();
  Color getUserBackground();
  Image getUserBackgroundImage();

  boolean getBackgroundTransparency();

  boolean isPacked();
  void clearPacked();

  Rectangle getBounds();

  void setForeground( Color color );
  void setBackground( Color color );
  void setVisible( boolean visible );
  void setEnabled( boolean enabled );
  void setToolTipText( String toolTipText );
  void setCursor( Cursor cursor );

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy