/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.openzen.drawablegui; import live.LiveBool; import live.LiveObject; /** * * @author Hoofdgebruiker */ public interface DUIWindow { LiveObject getWindowBounds(); DUIContext getContext(); boolean hasTitleBar(); void close(); void maximize(); void restore(); void minimize(); LiveObject getWindowState(); LiveBool getActive(); void focus(DComponent component); DUIWindow openModal(String title, DComponent root); enum State { NORMAL, MAXIMIZED, MINIMIZED }; }