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

org.eclipse.nebula.widgets.grid.IInternalWidget Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2006 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 * 
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *    [email protected] - initial API and implementation
 *******************************************************************************/ 
package org.eclipse.nebula.widgets.grid;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Point;

/**
 * 

* NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT. THIS IS A PRE-RELEASE ALPHA * VERSION. USERS SHOULD EXPECT API CHANGES IN FUTURE VERSIONS. *

* * TODO fill in. * * @author [email protected] */ public interface IInternalWidget extends IRenderer { // CSOFF: Magic Number // Event type constants /** Hover State. */ int MouseMove = SWT.MouseMove; /** Mouse down state. */ int LeftMouseButtonDown = SWT.MouseDown; /** * Mechanism used to notify the light weight widgets that an event occurred * that it might be interested in. * * @param event Event type. * @param point Location of event. * @param value New value. * @return widget handled the event. */ boolean notify(int event, Point point, Object value); /** * Returns the hover detail object. This detail is used by the renderer to * determine which part or piece of the rendered image is hovered over. * * @return string identifying which part of the image is being hovered over. */ String getHoverDetail(); /** * Sets a string object that represents which part of the rendered image is currently under the * mouse pointer. * * @param detail identifying string. */ void setHoverDetail(String detail); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy