Lines Matching refs:frame

46  * The size of the frame includes any area designated for the
50 * value cannot be obtained until the frame is made displayable
53 * frame, the border effectively obscures a portion of the frame,
60 * The default layout for a frame is <code>BorderLayout</code>.
62 * A frame may have its native decorations (i.e. <code>Frame</code>
64 * with <code>setUndecorated</code>. This can only be done while the frame
229 * frame state with all state bits cleared.
236 * This state bit indicates that frame is iconified.
243 * This state bit indicates that frame is maximized in the
252 * This state bit indicates that frame is maximized in the
261 * This state bit mask indicates that frame is fully maximized
266 * <p>Note that the correct test for frame being fully maximized is
271 * <p>To test is frame is maximized in <em>some</em> direction use
283 * Maximized bounds for this frame.
293 * This is the title of the frame. It can be changed
305 * the frame will not have a menubar.
314 * This field indicates whether the frame is resizable.
316 * <code>resizable</code> will be true if the frame is
325 * This field indicates whether the frame is undecorated.
326 * This property can only be changed while the frame is not displayable.
327 * <code>undecorated</code> will be true if the frame is
358 private static final String base = "frame";
410 * @param title the title to be displayed in the frame's border.
428 * @param title the title to be displayed in the frame's border.
467 * a native screen resource. Making a frame displayable will
492 * Gets the title of the frame. The title is displayed in the
493 * frame's border.
494 * @return the title of this frame, or an empty string ("")
495 * if this frame doesn't have a title.
503 * Sets the title for this frame to the specified string.
504 * @param title the title to be displayed in the frame's border.
527 * Returns the image to be displayed as the icon for this frame.
535 * @return the icon image for this frame, or <code>null</code>
536 * if this frame doesn't have an icon image.
559 * Gets the menu bar for this frame.
560 * @return the menu bar for this frame, or <code>null</code>
561 * if this frame doesn't have a menu bar.
569 * Sets the menu bar for this frame to the specified menu bar.
572 * existing menu bar on this frame is removed.
602 * Indicates whether this frame is resizable by the user.
604 * @return <code>true</code> if the user can resize this frame;
613 * Sets whether this frame is resizable by the user.
614 * @param resizable <code>true</code> if this frame is resizable;
643 * Sets the state of this frame (obsolete).
645 * In older versions of JDK a frame state could only be NORMAL or
646 * ICONIFIED. Since JDK 1.4 set of supported frame states is
647 * expanded and frame state is represented as a bitwise mask.
653 * state of the frame is only changed, other aspects
654 * of frame state are not affected by this method. If
664 * <p><b>If the frame is currently visible on the
673 * <p><b>If the frame is not visible on the
678 * setVisible(true)} method is invoked, the frame
700 * Sets the state of this frame. The state is
718 * <p><b>If the frame is currently visible on the
727 * <p><b>If the frame is not visible on the
732 * setVisible(true)} method is invoked, the frame
738 * @param state a bitwise mask of frame state constants
774 * Gets the state of this frame (obsolete).
776 * In older versions of JDK a frame state could only be NORMAL or
777 * ICONIFIED. Since JDK 1.4 set of supported frame states is
778 * expanded and frame state is represented as a bitwise mask.
782 * it only reports the iconic state of the frame, other aspects of
783 * frame state are not reported by this method.
795 * Gets the state of this frame. The state is
808 * @return a bitwise mask of frame state constants
821 public void setExtendedState(Frame frame, int state) {
822 synchronized(frame.getObjectLock()) {
823 frame.state = state;
826 public int getExtendedState(Frame frame) {
827 synchronized(frame.getObjectLock()) {
828 return frame.state;
831 public Rectangle getMaximizedBounds(Frame frame) {
832 synchronized(frame.getObjectLock()) {
833 return frame.maximizedBounds;
841 * Sets the maximized bounds for this frame.
843 * When a frame is in maximized state the system supplies some
856 * provided values do not affect the appearance of the frame in the
874 * Gets maximized bounds for this frame.
878 * @return maximized bounds for this frame; may be <code>null</code>
890 * Disables or enables decorations for this frame.
892 * This method can only be called while the frame is not displayable. To
893 * make this frame decorated, it must be opaque and have the default shape,
898 * @param undecorated {@code true} if no frame decorations are to be
899 * enabled; {@code false} if frame decorations are to be enabled
901 * @throws IllegalComponentStateException if the frame is displayable
903 * {@code false}, and this frame does not have the default shape
905 * {@code false}, and this frame opacity is less than {@code 1.0f}
907 * {@code false}, and the alpha value of this frame background
923 throw new IllegalComponentStateException("The frame is displayable.");
927 throw new IllegalComponentStateException("The frame is not opaque");
930 throw new IllegalComponentStateException("The frame does not have a default shape");
934 throw new IllegalComponentStateException("The frame background color is not opaque");
942 * Indicates whether this frame is undecorated.
944 * @return <code>true</code> if frame is undecorated;
960 throw new IllegalComponentStateException("The frame is decorated");
973 throw new IllegalComponentStateException("The frame is decorated");
986 throw new IllegalComponentStateException("The frame is decorated");
993 * Removes the specified menu bar from this frame.
1060 * @return the parameter string of this frame
1118 * as a shared, hidden frame which is used by Swing. Applications
1155 * windows that are "owned" by this frame.
1281 * Java Accessibility API appropriate to frame user-interface elements.