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

org.ioc.commons.ui.IsFocusable 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;

public interface IsFocusable {
	/**
	 * Explicitly focus/unfocus this widget. Only one widget can have focus at a
	 * time, and the widget that does will receive all keyboard events.
	 * 
	 * @param focused
	 *            whether this widget should take focus or release it
	 */
	void setFocus(boolean focused);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy