
org.beanfabrics.model.IBooleanPM Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beanfabrics-core Show documentation
Show all versions of beanfabrics-core Show documentation
Beanfabrics is a component framework for building Java desktop applications according to the Presentation Model Pattern with Swing.
/*
* Beanfabrics Framework Copyright (C) by Michael Karneim, beanfabrics.org
* Use is subject to license terms. See license.txt.
*/
package org.beanfabrics.model;
/**
* The {@link IBooleanPM} is the interface for PM components that support a
* {@link Boolean} value.
*
* @author Michael Karneim
*/
public interface IBooleanPM extends ITextPM {
/**
* Sets the value of this PM to the given value.
*
* @param value the new value.
* @see #setText(String)
*/
public void setBoolean(Boolean value);
/**
* Returns the value of this PM as a {@link Boolean}.
*
* @return the value of this PM as a {@link Boolean}
* @throws ConversionException if the text value can't be converted into a
* valid {@link Boolean}
*/
public Boolean getBoolean();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy