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

Last change on this file since 831 was 831, checked in by sherbold, 12 years ago
  • code documentation and clean-up
File size: 792 bytes
Line 
1package de.ugoe.cs.quest.eventcore.guimodel;
2
3/**
4 * <p>
5 * Common interface for GUI element factories.
6 * </p>
7 *
8 * @version 1.0
9 * @author Patrick Harms
10 */
11public interface IGUIElementFactory {
12
13    /**
14     * <p>
15     * Instantiates a new {@link IGUIElement} from a given specification.
16     * </p>
17     *
18     * @param specification
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
25     */
26    public IGUIElement instantiateGUIElement(IGUIElementSpec specification, IGUIElement parent)
27        throws GUIModelConfigurationException;
28   
29}
Note: See TracBrowser for help on using the repository browser.