107 */ 108 public void emulateActivation(boolean activate) { 109 ((FramePeer)getPeer()).emulateActivation(activate); 110 } 111 112 /** 113 * Delegates the focus grab action to the client (embedding) application. 114 * The method is called by the AWT grab machinery. 115 * 116 * @see SunToolkit#grab(java.awt.Window) 117 */ 118 public abstract void grabFocus(); 119 120 /** 121 * Delegates the focus ungrab action to the client (embedding) application. 122 * The method is called by the AWT grab machinery. 123 * 124 * @see SunToolkit#ungrab(java.awt.Window) 125 */ 126 public abstract void ungrabFocus(); 127 } | 107 */ 108 public void emulateActivation(boolean activate) { 109 ((FramePeer)getPeer()).emulateActivation(activate); 110 } 111 112 /** 113 * Delegates the focus grab action to the client (embedding) application. 114 * The method is called by the AWT grab machinery. 115 * 116 * @see SunToolkit#grab(java.awt.Window) 117 */ 118 public abstract void grabFocus(); 119 120 /** 121 * Delegates the focus ungrab action to the client (embedding) application. 122 * The method is called by the AWT grab machinery. 123 * 124 * @see SunToolkit#ungrab(java.awt.Window) 125 */ 126 public abstract void ungrabFocus(); 127 128 /** 129 * Returns the scale factor set with the {@link #setScaleFactor} method. 130 * The default value is 1. 131 * 132 * @return the scale factor 133 */ 134 public abstract int getScaleFactor(); 135 136 /** 137 * Sets the scale factor which defines the HiDPI resolution 138 * of the offscreen buffer the frame is painted to. 139 * 140 * @param scale the factor 141 */ 142 public abstract void setScaleFactor(int scale); 143 } |