
org.beanfabrics.View 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.
*/
// TODO javadoc - remove this comment only when the class and all non-public
// methods and fields are documented
package org.beanfabrics;
import org.beanfabrics.model.PresentationModel;
/**
* The {@link View} is the interface for classes that can be bound to a
* (specific, see M) {@link PresentationModel}.
*
* That doesn't imply that an implementor must be visual at any kind.
*
* @author Michael Karneim
* @param the concrete {@link PresentationModel} type
*/
public interface View {
/**
* Returns the {@link PresentationModel} of this view.
*
* @return the {@link PresentationModel}
*/
public M getPresentationModel();
/**
* Sets the {@link PresentationModel} of this view.
*
* @param pModel the PresentationModel
*/
public void setPresentationModel(M pModel);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy