001package org.vishia.gral.base;
002
003public interface GralWindow_setifc
004{
005  /**Version, history and license.
006   * <ul>2012-04-22 Hartmut new {@link #setFullScreen(boolean)}.
007   * <li>2012-01-00 Hartmut created.
008   * </ul>
009   * <b>Copyright/Copyleft</b>:
010   * For this source the LGPL Lesser General Public License,
011   * published by the Free Software Foundation is valid.
012   * It means:
013   * <ol>
014   * <li> You can use this source without any restriction for any desired purpose.
015   * <li> You can redistribute copies of this source to everybody.
016   * <li> Every user of this source, also the user of redistribute copies
017   *    with or without payment, must accept this license for further using.
018   * <li> But the LPGL ist not appropriate for a whole software product,
019   *    if this source is only a part of them. It means, the user
020   *    must publish this part of source,
021   *    but don't need to publish the whole source of the own product.
022   * <li> You can study and modify (improve) this source
023   *    for own using or for redistribution, but you have to license the
024   *    modified sources likewise under this LGPL Lesser General Public License.
025   *    You mustn't delete this Copyright/Copyleft inscription in this source file.
026   * </ol>
027   * If you are intent to use this sources without publishing its usage, you can get
028   * a second license subscribing a special contract with the author. 
029   * 
030   * @author Hartmut Schorrig = hartmut.schorrig@vishia.de
031   * 
032   * 
033   */
034  public final static int version = 0x20120303;
035
036  
037  /**Controls whether the whole window, which contains this panel, should be visible or not.
038   * It is proper for such panels especially, which are the only one in a window. 
039   * If a window is setting visible with this method, it is arranged in the foreground.
040   * @param visible
041   * @return
042   */
043  void setWindowVisible(boolean visible);
044
045  void setFullScreen(boolean full);
046
047  //void repaintGthread();
048  
049  void closeWindow();
050
051
052}