Inherits from: java.lang.Object
Package: com.apple.yellow.application
<<Description Forthcoming.>>
public abstract boolean windowShouldClose (Object
sender)
false
to prevent sender from
closing.public abstract boolean windowShouldZoom (NSWindow
sender, NSRect newFrame)
false
to
prevent sender from zooming.See Also: - windowWillUseStandardFrame:defaultFrame:
public abstract NSSize windowWillResize (NSWindow
sender, NSSize) proposedFrameSize
While the user is resizing an NSWindow, the delegate is sent a series of windowWillResize:toSize: messages as the NSWindow's outline is dragged. The NSWindow's outline is displayed at the constrained size as set by this method.
public abstract Object windowWillReturnFieldEditor
(NSWindow sender, Object anObject)
null
, the NSWindow substitutes
it for the field editor and returns it to anObject.See Also: - fieldEditor:forObject:
public abstract NSRect windowWillUseStandardFrame
(NSWindow sender, NSRect defaultFrame)
The standard frame for a window should supply the size and location that are "best" for the type of information shown in the window, taking into account the available display or displays. For example, the best width for a window that displays a word-processing document is the width of a page or the width of the display, whichever is smaller. The best height can be determined similarly. On return from this method, the zoom: method modifies the returned standard frame, if necessary, to fit on the current screen.
To customize the standard state, you implement windowWillUseStandardFrame:defaultFrame: in the class of the window's delegate or, if necessary, in a window subclass. Your version should return a suitable standard frame, based on the currently displayed data or other factors.
See Also: - windowShouldZoom:toFrame:, - zoom: (NSWindow class)
public abstract NSUndoManager windowWillReturnUndoManager
(NSWindow sender)