![JAR search and dependency download from the Maven repository](/logo.png)
org.ioc.commons.ui.HasEnabled Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ioc-commons Show documentation
Show all versions of ioc-commons Show documentation
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.
package org.ioc.commons.ui;
/**
* Feature for a component which can be put in an enabled or disabled state.
*
* @author Jesús Lunar Pérez
*/
public interface HasEnabled {
/**
* Returns true if the widget is enabled, false if not.
*/
boolean isEnabled();
/**
* Sets whether this widget is enabled.
*
* @param enabled
* true
to enable the component, false
to
* disable it
*/
void setEnabled(boolean enabled);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy