source: trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/guimodel/IGUIElementFactory.java @ 846

Last change on this file since 846 was 831, checked in by sherbold, 12 years ago
  • code documentation and clean-up
File size: 792 bytes
RevLine 
[576]1package de.ugoe.cs.quest.eventcore.guimodel;
2
3/**
4 * <p>
[831]5 * Common interface for GUI element factories.
[576]6 * </p>
7 *
[831]8 * @version 1.0
9 * @author Patrick Harms
[576]10 */
11public interface IGUIElementFactory {
12
13    /**
14     * <p>
[831]15     * Instantiates a new {@link IGUIElement} from a given specification.
[576]16     * </p>
[831]17     *
[576]18     * @param specification
[831]19     *            specification of the new GUI element
20     * @param parent
21     *            parent of the new GUI element
22     * @return created GUI element
23     * @throws GUIModelConfigurationException
24     *             thrown if there is a problem during the creation of the GUI element
[576]25     */
[603]26    public IGUIElement instantiateGUIElement(IGUIElementSpec specification, IGUIElement parent)
[596]27        throws GUIModelConfigurationException;
[576]28   
29}
Note: See TracBrowser for help on using the repository browser.