The base "view" class. Views are the components that make up a WFPage. Each page has a root view, and then is made up of various subviews in a view hierarchy. There is also a well-defined class hierarchy for WFView that contains all components that are used in creating a web page.
WFView - Views are just generalized components for displaying on screen. NSView is abstract.
|
`-WFTabView - A tabbed view containing other pages. (NOT YET IMPLEMENTED)
`-WFBoxView - A simple box containing content from another page. (NOT YET IMPLEMENTED)
|
`-WFWidget - A specialized view for dealing with displaying editale values or actionable controls.
| Also abstract. Adds data get/set methods.
| Add support for editable, error tracking, and formatters.
`-WFForm - A Form object.
`-WFTextField - A textfield item.
`-WFCheckbox - A checkbox item.
`-WFLabel - For displaying uneditable text, but can use bindings and formatters.
(etc)Since we're a web framework, all views eventually know how to render themselves into HTML.
Views have no maintained state. Anything that needs to maintain state should be a WFWidget subclass.
WFView contains the basic infrastructure support the YUI library, which is PHOCOA's Javascript and AJAX layer.
Located in /framework/widgets/WFTableView.php (line 177)
WFObject | --WFView | --WFTableColumn
Inherited from WFView
WFView::$children
WFView::$cssImports
WFView::$enabled
WFView::$id
WFView::$importInHead
WFView::$jsActions
WFView::$jsEvents
WFView::$jsImports
WFView::$page
WFView::$parent
To implement our columns functionality, we need to detect when a child objects have been added.
Inherited From WFView
WFView::__construct()
WFView::addChild()
WFView::allConfigFinishedLoading()
WFView::children()
WFView::cloneWithID()
WFView::enabled()
WFView::exposedProperties()
WFView::getForm()
WFView::getJSActions()
WFView::getListenerJS()
WFView::getListenerJSInScriptTag()
WFView::getWidgetDir()
WFView::getWidgetWWWDir()
WFView::id()
WFView::importCSS()
WFView::importJS()
WFView::jsEndHTML()
WFView::jsStartHTML()
WFView::page()
WFView::parent()
WFView::removeChild()
WFView::render()
WFView::setEnabled()
WFView::setId()
WFView::setJSonBlur()
WFView::setJSonClick()
WFView::setListener()
WFView::setOnEvent()
WFView::setParent()
WFView::yuiPath()
Inherited From WFObject
WFObject::__construct()
WFObject::exposedProperties()
WFObject::getClass()
WFObject::keyPathToTargetAndKey()
WFObject::setValueForKey()
WFObject::setValueForKeyPath()
WFObject::validateValueForKey()
WFObject::validateValueForKeyPath()
WFObject::valueForKey()
WFObject::valueForKeyPath()
WFObject::valueForUndefinedKey()
WFObject::__toString()
Documentation generated on Thu, 17 Apr 2008 13:52:10 -0400 by phpDocumentor 1.4.1