Document Information

Last modified:
2008/11/18 12:03 by 172.17.12.171

Migration Notes (from 0.7.x)

Some notes about the things to be careful during the migration of the widgets for qooxdoo 0.8.

Simple Renamings

  • addEventListener()addListener()
  • HorizontalBoxLayoutHBox
  • VerticalBoxLayoutVBox
  • qx.ui.core.Borderqx.ui.decoration.Single
  • qx.ui.widget.Iframe.getContentDocument()qx.ui.widget.Iframe.getDocument()
  • createDispatchEvent()fireEvent()
  • createDispatchDataEvent()fireDataEvent()
  • qx.event.type.DataEventqx.event.type.Data
  • qx.core.Object.dispose()qx.core.ObjectRegistry.shutdown()
  • getParent()getLayoutParent()
  • qx.io.Aliasqx.util.AliasManager
  • qx.ui.embed.Iframe.getContentDocument()qx.ui.embed.Iframe.getDocument()
  • qx.ui.embed.Iframe.getContentWindow()qx.ui.embed.Iframe.getWindow()
  • qx.ui.basic.Label.setText()qx.ui.basic.Label.setContent()
  • #embed#asset
  • qx.application.???._postload()qx.application.???.finalize()
  • qx.ui.selection.RadioManagerqx.ui.form.RadioGroup

More Elaborate Changes

  • borderdecorator
  • Layout handling
  • edgeleft, top, right, bottom
  • User agent handling
    • qx.core.Client.getInstance().getEngine()qx.bom.client.Engine.NAME
  • Event handling:
    • qx.html.EventRegistrationqx.event.Manager
    • this.dispatchEvent(new qx.event.type.DataEvent(”name”, eventData), true)this.fireDataEvent(”name”, eventData)
  • mouse capture:
    • setCapture(true)capture()
    • setCapture(false)releaseCapture()
  • getElementgetContainerElement().getDomElement()
  • Layout properties
  • _renderRuntimeXXX()setUserBounds() or setLayoutProperties({left: 10, top: 10})
  • setLeft(12)setLayoutProperties({left: 12}) (in Canvas and Basic layouts)
  • setTop(12)setLayoutProperties({top: 12}) (in Canvas and Basic layouts)
  • setRight(12)setLayoutProperties({right: 12}) (in Canvas and Basic layouts)
  • setBottom(12)setLayoutProperties({bottom: 12}) (in Canvas and Basic layouts)
  • Tree does not generate a root folder by default anymore
  • SplitPane
    • addLeft(), addTop(), addRight(), addBottom() are removed. Use setFirst() and setSecond() to set widgets into the SplitView. The position of first and last is set by the SplitPane’s orientation property.
    • getLeftArea(), getTopArea(), getRightArea() and getBottomArea() are removed. Use getFirstArea() and getSecondArea() instead.
  • Appearance: Some states were renamed:
    • overhovered
    • focusfocused

Deprecated

  • Positions in the appearance
  • ClientDocument. Use this.getRoot() in qx.application.Standalone instead.
  • qx.util.Mime. Use strings explicitly
  • addToDocument(). Use application.getRoot() instead
  • qx.ui.SplitPaneKnob: style Splitter and Slider to show a knob
  • qx.ui.core.Widget.isMaterialized ⇒ not needed any longer
  • qx.ui.core.ClientDocument.isMaterialized ⇒ not needed any longer
  • qx.core.Version no longer exists

Missing

  • qx.io.local.CookieApi missing ⇒ Use native cookie handling. Wait for or collaborate on re-introducing cookie support?

Information

Last modified:
2008/11/18 12:03 by 172.17.12.171

Account

Not logged in

 
 

Job Offers

To further improve qooxdoo we are seeking javascript developers. Read more...

Rich Ajax Platform (RAP)

RAP uses qooxdoo, Java and the Eclipse development model to build rich web applications. Read more...

qooxdoo Web Toolkit (QWT)

Similar to GWT this framework allows to create impressive qooxdoo applications just using Java. Read more...

Pustefix

Pustefix is a MVC-based web application framework using Java and XML/XSLT. Read more...

 
SourceForge.net Logo

Bad Behavior has blocked 0 potential spam attempts in the last 7 days.