亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? frame.java

?? gcc的組建
?? JAVA
字號:
/* Frame.java -- AWT toplevel window   Copyright (C) 1999, 2000, 2002, 2004, 2005  Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.awt;import java.awt.peer.FramePeer;import java.lang.ref.WeakReference;import java.util.ArrayList;import java.util.Iterator;import java.util.Vector;import javax.accessibility.AccessibleContext;import javax.accessibility.AccessibleRole;import javax.accessibility.AccessibleState;import javax.accessibility.AccessibleStateSet;/**  * This class is a top-level window with a title bar and window  * decorations.  *  * @author Aaron M. Renn (arenn@urbanophile.com)  */public class Frame extends Window implements MenuContainer{/**  * Constant for the default cursor.  * @deprecated Replaced by <code>Cursor.DEFAULT_CURSOR</code> instead.  */public static final int DEFAULT_CURSOR = Cursor.DEFAULT_CURSOR;/**  * Constant for a cross-hair cursor.  * @deprecated Use <code>Cursor.CROSSHAIR_CURSOR</code> instead.  */public static final int CROSSHAIR_CURSOR = Cursor.CROSSHAIR_CURSOR;/**  * Constant for a cursor over a text field.  * @deprecated Use <code>Cursor.TEXT_CURSOR</code> instead.  */public static final int TEXT_CURSOR = Cursor.TEXT_CURSOR;/**  * Constant for a cursor to display while waiting for an action to complete.  * @deprecated Use <code>Cursor.WAIT_CURSOR</code>.  */public static final int WAIT_CURSOR = Cursor.WAIT_CURSOR;/**  * Cursor used over SW corner of window decorations.  * @deprecated Use <code>Cursor.SW_RESIZE_CURSOR</code> instead.  */public static final int SW_RESIZE_CURSOR = Cursor.SW_RESIZE_CURSOR;/**  * Cursor used over SE corner of window decorations.  * @deprecated Use <code>Cursor.SE_RESIZE_CURSOR</code> instead.  */public static final int SE_RESIZE_CURSOR = Cursor.SE_RESIZE_CURSOR;/**  * Cursor used over NW corner of window decorations.  * @deprecated Use <code>Cursor.NW_RESIZE_CURSOR</code> instead.  */public static final int NW_RESIZE_CURSOR = Cursor.NW_RESIZE_CURSOR;/**  * Cursor used over NE corner of window decorations.  * @deprecated Use <code>Cursor.NE_RESIZE_CURSOR</code> instead.  */public static final int NE_RESIZE_CURSOR = Cursor.NE_RESIZE_CURSOR;/**  * Cursor used over N edge of window decorations.  * @deprecated Use <code>Cursor.N_RESIZE_CURSOR</code> instead.  */public static final int N_RESIZE_CURSOR = Cursor.N_RESIZE_CURSOR;/**  * Cursor used over S edge of window decorations.  * @deprecated Use <code>Cursor.S_RESIZE_CURSOR</code> instead.  */public static final int S_RESIZE_CURSOR = Cursor.S_RESIZE_CURSOR;/**  * Cursor used over E edge of window decorations.  * @deprecated Use <code>Cursor.E_RESIZE_CURSOR</code> instead.  */public static final int E_RESIZE_CURSOR = Cursor.E_RESIZE_CURSOR;/**  * Cursor used over W edge of window decorations.  * @deprecated Use <code>Cursor.W_RESIZE_CURSOR</code> instead.  */public static final int W_RESIZE_CURSOR = Cursor.W_RESIZE_CURSOR;/**  * Constant for a hand cursor.  * @deprecated Use <code>Cursor.HAND_CURSOR</code> instead.  */public static final int HAND_CURSOR = Cursor.HAND_CURSOR;/**  * Constant for a cursor used during window move operations.  * @deprecated Use <code>Cursor.MOVE_CURSOR</code> instead.  */public static final int MOVE_CURSOR = Cursor.MOVE_CURSOR;public static final int ICONIFIED = 1;public static final int MAXIMIZED_BOTH = 6;public static final int MAXIMIZED_HORIZ = 2;public static final int MAXIMIZED_VERT = 4;public static final int NORMAL = 0;// Serialization version constantprivate static final long serialVersionUID = 2673458971256075116L;/**  * @serial The version of the class data being serialized  * // FIXME: what is this value?  */private int frameSerializedDataVersion;/**  * @serial Image used as the icon when this frame is minimized.  */private Image icon;/**  * @serial Constant used by the JDK Motif peer set.  Not used in  * this implementation.  */private boolean mbManagement;/**  * @serial The menu bar for this frame.  *///private MenuBar menuBar = new MenuBar();private MenuBar menuBar;/**  * @serial A list of other top-level windows owned by this window.  */Vector ownedWindows = new Vector();/**  * @serial Indicates whether or not this frame is resizable.  */private boolean resizable = true;/**  * @serial The state of this frame.  * // FIXME: What are the values here?  * This is package-private to avoid an accessor method.  */int state;/**  * @serial The title of the frame.  */private String title = "";  /**   * Maximized bounds for this frame.   */  private Rectangle maximizedBounds;  /**   * This field indicates whether the frame is undecorated or not.   */  private boolean undecorated = false;  /*   * The number used to generate the name returned by getName.   */  private static transient long next_frame_number;/**  * Initializes a new instance of <code>Frame</code> that is not visible  * and has no title.  */publicFrame(){  this("");  noteFrame(this);}/**  * Initializes a new instance of <code>Frame</code> that is not visible  * and has the specified title.  *  * @param title The title of this frame.  */publicFrame(String title){  super();  this.title = title;  // Top-level frames are initially invisible.  visible = false;  noteFrame(this);}publicFrame(GraphicsConfiguration gc){  super(gc);  visible = false;  noteFrame(this);}publicFrame(String title, GraphicsConfiguration gc){  super(gc);  setTitle(title);  visible = false;  noteFrame(this);}/**  * Returns this frame's title string.  *  * @return This frame's title string.  */public StringgetTitle(){  return(title);}/* * Sets this frame's title to the specified value. * * @param title The new frame title. */public synchronized voidsetTitle(String title){  this.title = title;  if (peer != null)    ((FramePeer) peer).setTitle(title);}/**  * Returns this frame's icon.  *  * @return This frame's icon, or <code>null</code> if this frame does not  * have an icon.  */public ImagegetIconImage(){  return(icon);}/**  * Sets this frame's icon to the specified value.  *  * @icon The new icon for this frame.  */public synchronized voidsetIconImage(Image icon){  this.icon = icon;  if (peer != null)    ((FramePeer) peer).setIconImage(icon);}/**  * Returns this frame's menu bar.  *  * @return This frame's menu bar, or <code>null</code> if this frame  * does not have a menu bar.  */public MenuBargetMenuBar(){  return(menuBar);}/**  * Sets this frame's menu bar.  *  * @param menuBar The new menu bar for this frame.  */public synchronized voidsetMenuBar(MenuBar menuBar){  if (peer != null)  {    if (this.menuBar != null)      this.menuBar.removeNotify();      if (menuBar != null)      menuBar.addNotify();    invalidateTree ();    ((FramePeer) peer).setMenuBar(menuBar);  }  this.menuBar = menuBar;}/**  * Tests whether or not this frame is resizable.  This will be   * <code>true</code> by default.  *  * @return <code>true</code> if this frame is resizable, <code>false</code>  * otherwise.  */public booleanisResizable(){  return(resizable);}/**  * Sets the resizability of this frame to the specified value.  *  * @param resizable <code>true</code> to make the frame resizable,  * <code>false</code> to make it non-resizable.  */public synchronized voidsetResizable(boolean resizable){  this.resizable = resizable;  if (peer != null)    ((FramePeer) peer).setResizable(resizable);}/**  * Returns the cursor type of the cursor for this window.  This will  * be one of the constants in this class.  *  * @return The cursor type for this frame.  *  * @deprecated Use <code>Component.getCursor()</code> instead.  */public intgetCursorType(){  return(getCursor().getType());}/**  * Sets the cursor for this window to the specified type.  The specified  * type should be one of the constants in this class.  *  * @param type The cursor type.  *  * @deprecated Use <code>Component.setCursor(Cursor)</code> instead.  */public voidsetCursor(int type){  setCursor(new Cursor(type));}/**  * Removes the specified component from this frame's menu.  *  * @param menu The menu component to remove.  */public voidremove(MenuComponent menu){  menuBar.remove(menu);}public voidaddNotify(){  if (menuBar != null)    menuBar.addNotify();  if (peer == null)    peer = getToolkit ().createFrame (this);  super.addNotify();}public void removeNotify(){  if (menuBar != null)    menuBar.removeNotify();  super.removeNotify();}  /**   * Returns a debugging string describing this window.   *   * @return A debugging string describing this window.   */  protected String paramString ()  {    String title = getTitle ();    String resizable = "";    if (isResizable ())      resizable = ",resizable";    String state = "";    switch (getState ())      {      case NORMAL:        state = ",normal";        break;      case ICONIFIED:        state = ",iconified";        break;      case MAXIMIZED_BOTH:        state = ",maximized-both";        break;      case MAXIMIZED_HORIZ:        state = ",maximized-horiz";        break;      case MAXIMIZED_VERT:        state = ",maximized-vert";        break;      }    return super.paramString () + ",title=" + title + resizable + state;  }private static ArrayList weakFrames = new ArrayList();private static void noteFrame(Frame f){  weakFrames.add(new WeakReference(f));}public static Frame[] getFrames(){  int n = 0;  synchronized (weakFrames)    {      Iterator i = weakFrames.iterator();      while (i.hasNext())        {          WeakReference wr = (WeakReference) i.next();          if (wr.get() != null)            ++n;        }      if (n == 0)        return new Frame[0];      else        {          Frame[] frames = new Frame[n];          n = 0;          i = weakFrames.iterator();          while (i.hasNext())            {              WeakReference wr = (WeakReference) i.next();              if (wr.get() != null)                frames[n++] = (Frame) wr.get();            }          return frames;        }    }}  public void setState (int state)  {    int current_state = getExtendedState ();    if (state == NORMAL        && (current_state & ICONIFIED) != 0)      setExtendedState (current_state | ICONIFIED);        if (state == ICONIFIED        && (current_state & ~ICONIFIED) == 0)      setExtendedState (current_state & ~ICONIFIED);  }  public int getState ()  {    /* FIXME: State might have changed in the peer... Must check. */      return (state & ICONIFIED) != 0 ? ICONIFIED : NORMAL;  }  /**   * @since 1.4   */  public void setExtendedState (int state)  {    this.state = state;  }  /**   * @since 1.4   */  public int getExtendedState ()  {    return state;  }  /**   * @since 1.4   */  public void setMaximizedBounds (Rectangle maximizedBounds)  {    this.maximizedBounds = maximizedBounds;  }  /**   * Returns the maximized bounds of this frame.   *   * @return the maximized rectangle, may be null.   *   * @since 1.4   */  public Rectangle getMaximizedBounds ()  {    return maximizedBounds;  }  /**   * Returns whether this frame is undecorated or not.   *    * @since 1.4   */  public boolean isUndecorated ()  {    return undecorated;  }  /**   * Disables or enables decorations for this frame. This method can only be   * called while the frame is not displayable.   *    * @exception IllegalComponentStateException If this frame is displayable.   *    * @since 1.4   */  public void setUndecorated (boolean undecorated)  {    if (isDisplayable ())      throw new IllegalComponentStateException ();    this.undecorated = undecorated;  }  /**   * Generate a unique name for this frame.   *   * @return A unique name for this frame.   */  String generateName ()  {    return "frame" + getUniqueLong ();  }  private static synchronized long getUniqueLong ()  {    return next_frame_number++;  }    protected class AccessibleAWTFrame extends AccessibleAWTWindow  {    private static final long serialVersionUID = -6172960752956030250L;    public AccessibleRole getAccessibleRole()    {      return AccessibleRole.FRAME;    }        public AccessibleStateSet getAccessibleState()    {      AccessibleStateSet states = super.getAccessibleStateSet();      if (isResizable())        states.add(AccessibleState.RESIZABLE);      if ((state & ICONIFIED) != 0)        states.add(AccessibleState.ICONIFIED);      return states;    }  }    /**   * Gets the AccessibleContext associated with this <code>Frame</code>.   * The context is created, if necessary.   *   * @return the associated context   */  public AccessibleContext getAccessibleContext()  {    /* Create the context if this is the first request */    if (accessibleContext == null)      accessibleContext = new AccessibleAWTFrame();    return accessibleContext;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线免费亚洲电影| 日韩一区二区免费高清| 中文一区在线播放| 激情欧美一区二区| 日韩视频在线永久播放| 日韩和欧美的一区| 7777精品伊人久久久大香线蕉 | 欧美精品 日韩| 亚洲午夜视频在线观看| 欧洲精品一区二区| 亚洲在线一区二区三区| 欧美在线一区二区三区| 亚洲一级在线观看| 欧美三片在线视频观看| 亚洲va中文字幕| 欧美日本国产一区| 日韩av不卡在线观看| 欧美一级xxx| 捆绑变态av一区二区三区| 欧美大片一区二区三区| 久久er99精品| 国产亚洲精品资源在线26u| 国产成人免费在线视频| 亚洲国产精品激情在线观看| 国产91精品一区二区麻豆亚洲| 欧美激情一区二区三区蜜桃视频 | 欧美色综合天天久久综合精品| 亚洲自拍欧美精品| 欧美日韩午夜在线视频| 男男成人高潮片免费网站| 精品久久久久久亚洲综合网| 国产久卡久卡久卡久卡视频精品| 久久久精品国产免大香伊| 成人精品小蝌蚪| 亚洲人成网站精品片在线观看| 在线观看av一区二区| 日日骚欧美日韩| xf在线a精品一区二区视频网站| 国产精品911| ...xxx性欧美| 欧美日产国产精品| 激情综合色综合久久| 国产精品人成在线观看免费| 色综合久久天天| 日韩专区在线视频| 久久久噜噜噜久久人人看 | 91久久精品日日躁夜夜躁欧美| 亚洲成人久久影院| 欧美成人国产一区二区| 成人免费视频一区| 亚洲一区电影777| 日韩一区二区在线观看视频播放| 国产精品正在播放| 亚洲欧美另类小说| 日韩西西人体444www| 成人午夜大片免费观看| 亚洲国产日韩精品| 久久综合久久鬼色中文字| 91蝌蚪国产九色| 日本成人在线不卡视频| 中文字幕久久午夜不卡| 欧美人妖巨大在线| 国产乱码字幕精品高清av| 亚洲精品写真福利| 日韩欧美国产综合一区| aaa亚洲精品| 青草av.久久免费一区| 国产精品成人在线观看| 91精品久久久久久久99蜜桃| 成人福利电影精品一区二区在线观看| 亚洲成人精品一区| 国产日韩三级在线| 欧美日韩国产a| 成人av在线观| 蜜桃视频一区二区| 亚洲免费观看高清完整| xvideos.蜜桃一区二区| 欧美视频自拍偷拍| 国产不卡视频一区| 石原莉奈一区二区三区在线观看| 国产精品久久久一本精品 | 91国偷自产一区二区三区成为亚洲经典 | 懂色av一区二区三区免费看| 亚洲v中文字幕| 中文字幕一区免费在线观看 | 在线影院国内精品| 国产在线视频精品一区| 亚洲成a人在线观看| 国产精品欧美综合在线| 日韩一区二区三区视频在线观看 | 99re亚洲国产精品| 精品一区二区三区免费毛片爱 | 一区二区久久久| 久久精品视频免费| 日韩三级精品电影久久久| 在线精品视频免费观看| 粉嫩嫩av羞羞动漫久久久| 麻豆国产欧美日韩综合精品二区| 亚洲图片欧美视频| 国产精品美女久久久久久| 精品乱人伦小说| 欧美日韩国产综合视频在线观看 | 国产在线精品一区在线观看麻豆| 亚洲国产精品视频| 亚洲人成亚洲人成在线观看图片| 国产亚洲欧美色| 欧美xxxx在线观看| 91精品国产aⅴ一区二区| 在线观看国产一区二区| av日韩在线网站| 国产成a人亚洲| 国产麻豆精品95视频| 九一九一国产精品| 日韩va欧美va亚洲va久久| 亚洲国产综合91精品麻豆| 一区二区三区四区蜜桃 | 国产精品水嫩水嫩| 久久久另类综合| 久久久夜色精品亚洲| 精品国产乱码久久久久久图片| 91精品福利在线一区二区三区| 欧美日韩极品在线观看一区| 欧美性做爰猛烈叫床潮| 91福利精品视频| 日本精品视频一区二区三区| 91首页免费视频| 99在线精品一区二区三区| eeuss鲁一区二区三区| www.欧美日韩| 99精品久久久久久| 91亚洲国产成人精品一区二区三| av一本久道久久综合久久鬼色| 99久久夜色精品国产网站| 9人人澡人人爽人人精品| 99re这里都是精品| 色婷婷久久综合| 在线观看91视频| 欧美福利一区二区| 制服.丝袜.亚洲.另类.中文| 欧美一区二区三区成人| 日韩欧美国产成人一区二区| 日韩欧美一级片| 久久综合色天天久久综合图片| 日韩一区二区三区电影| 欧美v国产在线一区二区三区| 日韩欧美国产一区二区在线播放| 久久先锋影音av鲁色资源| 久久久久久免费网| 欧美激情中文字幕一区二区| 亚洲图片激情小说| 悠悠色在线精品| 五月婷婷欧美视频| 久久精品国产在热久久| 国产精品一区二区久久精品爱涩| 国产成人aaa| 色综合色狠狠天天综合色| 在线视频国内一区二区| 欧美精品在线观看播放| 精品国产一区二区亚洲人成毛片| 亚洲精品一线二线三线| 国产精品五月天| 一区二区三区在线免费| 首页国产丝袜综合| 韩国欧美国产1区| www.亚洲免费av| 欧美日韩三级在线| 精品国产91亚洲一区二区三区婷婷| 国产午夜精品一区二区三区四区| 中文字幕一区二区在线播放| 亚洲国产中文字幕在线视频综合| 日韩国产在线一| 国产毛片精品视频| 色综合亚洲欧洲| 日韩一级黄色片| 中文字幕av一区二区三区高| 亚洲自拍与偷拍| 蓝色福利精品导航| av亚洲精华国产精华精| 欧美男男青年gay1069videost | 久久久久久夜精品精品免费| 亚洲视频狠狠干| 日韩成人一区二区| 国产99一区视频免费| 在线观看视频欧美| 精品美女在线播放| 亚洲乱码日产精品bd| 久久99热这里只有精品| 一本色道久久综合亚洲91| 日韩欧美不卡一区| 亚洲欧美在线另类| 麻豆精品国产传媒mv男同| 99久精品国产| 欧美成va人片在线观看| 亚洲精品视频在线| 韩国欧美一区二区| 欧美丝袜丝交足nylons图片| 欧美激情艳妇裸体舞| 丝袜诱惑亚洲看片| www.亚洲在线| 精品福利视频一区二区三区|