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

org.ioc.commons.ui.IsWidget Maven / Gradle / Ivy

Go to download

This project defines a set of useful java interfaces for helping you in the definition of the structure of your developments in Java-projects which are designed using a Inversion-Of-Control (IOC) pattern. Useful for MVP-Pattern designs in applications coded on GWT, SWT, Android, etc.

There is a newer version: 1.2.1
Show newest version
package org.ioc.commons.ui;

/**
 * Elements which inherite from this interface represent a widget.
 * 
 * Normally every API has its own implementation for a widget, therefore with
 * this interface you can get the properly implementation instance if you need
 * to use something especific from it.
 * 
 * @author Jesús Lunar Pérez
 * 
 */
public interface IsWidget {

	/**
	 * 
	 * @return The real implementation for the widget.
	 */
	Object asWidget();

	/**
	 * 
	 * @return The widget parent if exists; null otherwise
	 */
	IsWidget getWidgetParent();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy