Difference between revisions of "Talk:Documentation/DevGuide/OfficeDev/Frames"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: I wonder what a frame does. Does it just pass a window reference on to the controller? Or, perhaps the controller says "Here's what needs to be drawn," and the frame issues the drawing c...)
 
 
Line 1: Line 1:
 
I wonder what a frame does.  Does it just pass a window reference on to the controller?  Or, perhaps the controller says "Here's what needs to be drawn," and the frame issues the drawing commands.  If that's what happens, perhaps the controller is operating-system-independent, and the frame is what gets changed for different operating systems.--[[User:Cking|Cking]] 22:09, 6 October 2008 (CEST)
 
I wonder what a frame does.  Does it just pass a window reference on to the controller?  Or, perhaps the controller says "Here's what needs to be drawn," and the frame issues the drawing commands.  If that's what happens, perhaps the controller is operating-system-independent, and the frame is what gets changed for different operating systems.--[[User:Cking|Cking]] 22:09, 6 October 2008 (CEST)
 +
 +
The frame is not involve in the drawing operations, but it does a lot more than just providing a window reference. Its main purpose is maintaing and arranging the "generic UI" for the controller (toolbars, menu etc.) and embed the controller and its UI into the dispatching framework. Both controller and frame are basically operation system independent, as the OS dependent part it implemented in the implementation classes of the different windows they are using. I hope I understood your questions correctly.--[[User:mba|mba]]

Latest revision as of 11:25, 11 March 2009

I wonder what a frame does. Does it just pass a window reference on to the controller? Or, perhaps the controller says "Here's what needs to be drawn," and the frame issues the drawing commands. If that's what happens, perhaps the controller is operating-system-independent, and the frame is what gets changed for different operating systems.--Cking 22:09, 6 October 2008 (CEST)

The frame is not involve in the drawing operations, but it does a lot more than just providing a window reference. Its main purpose is maintaing and arranging the "generic UI" for the controller (toolbars, menu etc.) and embed the controller and its UI into the dispatching framework. Both controller and frame are basically operation system independent, as the OS dependent part it implemented in the implementation classes of the different windows they are using. I hope I understood your questions correctly.--mba

Personal tools