12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*
- * 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<DIRectangle> getWindowBounds();
-
- DUIContext getContext();
-
- boolean hasTitleBar();
-
- void close();
-
- void maximize();
-
- void restore();
-
- void minimize();
-
- LiveObject<State> getWindowState();
-
- LiveBool getActive();
-
- void focus(DComponent component);
-
- DUIWindow openModal(String title, DComponent root);
-
- enum State {
- NORMAL,
- MAXIMIZED,
- MINIMIZED
- };
- }
|