Lines Matching refs:target

123     XWindowPeer(Window target) {
125 TARGET, target,
147 target = (Component)params.get(TARGET);
148 windowType = ((Window)target).getType();
175 Font f = target.getFont();
178 target.setFont(f);
182 Color c = target.getBackground();
185 target.setBackground(background);
189 c = target.getForeground();
191 target.setForeground(SystemColor.windowText);
196 alwaysOnTop = ((Window)target).isAlwaysOnTop() && ((Window)target).isAlwaysOnTopSupported();
203 String name = target.getName();
224 Window t_window = (Window)target;
272 if (((Window)target).getWarningString() != null) {
275 if (!AWTAccessor.getWindowAccessor().isTrayIconWindow((Window)target)) {
276 warningWindow = new XWarningWindow((Window)target, getWindow(), this);
290 Window target = (Window)this.target;
291 java.util.List<Image> iconImages = ((Window)target).getIconImages();
295 //read icon images from target
324 //target.icons is empty or all icon images are broken
403 Window target = (Window)this.target;
404 Window[] children = target.getOwnedWindows();
445 // Shape shape = ((Window)target).getShape();
446 Shape shape = AWTAccessor.getWindowAccessor().getShape((Window)target);
453 // float opacity = ((Window)target).getOpacity();
454 float opacity = AWTAccessor.getWindowAccessor().getOpacity((Window)target);
463 targetMinimumSize = (((Component)target).isMinimumSizeSet()) ?
464 ((Component)target).getMinimumSize() : null;
533 postEvent(new WindowEvent((Window)target, WindowEvent.WINDOW_ICONIFIED));
539 postEvent(new WindowEvent((Window)target, WindowEvent.WINDOW_DEICONIFIED));
545 postEvent(new WindowEvent((Window)target,
559 return AWTAccessor.getWindowAccessor().isAutoRequestFocus((Window)target);
561 return ((Window)target).isAutoRequestFocus();
580 return peer != null ? (Window)peer.target : null;
588 return ((Window)target).isFocusableWindow();
612 return isSimpleWindow() || !(((Window)target).isFocusableWindow());
618 XKeyboardFocusManagerPeer.getInstance().setCurrentFocusedWindow((Window) target);
619 WindowEvent we = new WindowEvent((Window)target, WindowEvent.WINDOW_GAINED_FOCUS);
621 target.dispatchEvent(we);
626 WindowEvent we = new WindowEvent((Window)target, WindowEvent.WINDOW_GAINED_FOCUS);
627 XKeyboardFocusManagerPeer.getInstance().setCurrentFocusedWindow((Window) target);
633 WindowEvent we = new WindowEvent((Window)target, WindowEvent.WINDOW_GAINED_FOCUS);
635 XKeyboardFocusManagerPeer.getInstance().setCurrentFocusedWindow((Window) target);
642 WindowEvent we = new WindowEvent((Window)target, WindowEvent.WINDOW_LOST_FOCUS, oppositeWindow);
649 WindowEvent we = new WindowEvent((Window)target, WindowEvent.WINDOW_LOST_FOCUS, oppositeWindow);
719 setGraphicsConfiguration((Component)target, gc);
722 SunToolkit.executeOnEventHandlerThread((Component)target, dc);
787 Window target = (Window)this.target;
788 if (!target.isVisible() ||
789 !target.isEnabled() ||
790 !target.isFocusable())
995 this.alwaysOnTop = ((Window) this.target).isAlwaysOnTop();
1004 this.locationByPlatform = ((Window)target).isLocationByPlatform();
1075 return !(target instanceof Frame || target instanceof Dialog);
1078 return ((Window)target).getWarningString() != null;
1102 int x = compAccessor.getX(target);
1103 int y = compAccessor.getY(target);
1104 int width = compAccessor.getWidth(target);
1105 int height = compAccessor.getHeight(target);
1196 if (target == XKeyboardFocusManagerPeer.getInstance().getCurrentFocusedWindow()) {
1197 Window owner = getDecoratedOwner((Window)target);
1836 Window ownerWindow = XWindowPeer.getDecoratedOwner((Window)target);
2055 XBaseWindow target = XToolkit.windowToXWindow(xce.get_window());
2056 grabLog.finer(" - Grab event target {0}", target);
2057 if (target != null && target != this) {
2058 target.dispatchEvent(xev);
2085 XBaseWindow target = XToolkit.windowToXWindow(xme.get_window());
2086 if (dragging && pressTarget != target) {
2087 // for some reasons if we grab input MotionNotify for drag is reported with target
2092 target = pressTarget.isVisible() ? pressTarget : this;
2093 xme.set_window(target.getWindow());
2094 Point localCoord = target.toLocal(xme.get_x_root(), xme.get_y_root());
2098 grabLog.finer(" - Grab event target {0}", target);
2099 if (target != null) {
2100 if (target != getContentXWindow() && target != this) {
2101 target.dispatchEvent(xev);
2139 XBaseWindow target = XToolkit.windowToXWindow(xbe.get_window());
2141 grabLog.finer(" - Grab event target {0} (press target {1})", target, pressTarget);
2146 pressTarget = target;
2149 && pressTarget != target)
2154 target = pressTarget.isVisible() ? pressTarget : this;
2155 xbe.set_window(target.getWindow());
2156 Point localCoord = target.toLocal(xbe.get_x_root(), xbe.get_y_root());
2161 if (target != null && target != getContentXWindow() && target != this) {
2162 target.dispatchEvent(xev);
2166 if (target != null) {
2170 if ((target == this || target == getContentXWindow()) && !containsGlobal(xbe.get_x_root(), xbe.get_y_root())) {
2181 XWindowPeer toplevel = target.getToplevelXWindow();
2183 Window w = (Window)toplevel.target;
2190 if (w == null || (w != this.target && w instanceof Dialog)) {
2204 // target doesn't map to XAWT window - outside of hierarchy
2205 grabLog.fine("Generating UngrabEvent on because target is null {0}", this);
2217 Shape shape = AWTAccessor.getWindowAccessor().getShape((Window)target);