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

org.beanfabrics.model.IBooleanPM Maven / Gradle / Ivy

Go to download

Beanfabrics is a component framework for building Java desktop applications according to the Presentation Model Pattern with Swing.

There is a newer version: 1.5.0
Show newest version
/*
 * 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