going virtual

15
Going Virtual Virtual Widget Framework for qooxdoo Fabian Jakobs Jonathan Weiß colorstrip.gif T THE NEW ERA OF WEB DEVELOPMENT

Upload: fabian-jakobs

Post on 18-Dec-2014

1.793 views

Category:

Technology


2 download

DESCRIPTION

A short overview of the first ideas for a framework for virtual widgets in qooxdoo

TRANSCRIPT

Page 1: Going Virtual

Going VirtualVirtual Widget Framework for qooxdoo

Fabian JakobsJonathan Weiß

colorstrip.gifT

THE NEW ERA OF WEB DEVELOPMENT

Page 2: Going Virtual

Table in qooxdoo 0.8

Page 3: Going Virtual

Virtual WidgetUse Cases

Page 4: Going Virtual

Design Principles

• Low dependencies

• No policies

• No implicit actions

• Small API

• Pluggable components

• Customized widgets on top

Page 5: Going Virtual

Core:Virtual Pane

Page 6: Going Virtual

Core:Virtual Pane

virtual scrolling

Page 7: Going Virtual

Core:Virtual Pane

virtual scrolling

variablecell sizes

Page 8: Going Virtual

Pane ArchitecturePane

Layer Container

Layer #1

Layer #2

Layer #3

Page 9: Going Virtual

Pane

• Renders window of virtual grid

• variable row/column sizes

• Layers are widgets

Pane

Layer Container

Layer #1

Layer #2

Layer #3

Page 10: Going Virtual

Axis

• Converts virtual pixel coordinates into:

• Cell indexes

• Cell Offsets

• Allows custom cell sizes

Page 11: Going Virtual

Layer Examples

• Row Color

• Grid Line

• HTML Cell

• Widget Cell

Page 12: Going Virtual

Row Layer

Page 13: Going Virtual

Scroller

• Provides scroll bars for the pane

• Extends qx.ui.core.AbstractScrollArea

Page 14: Going Virtual

Wish list

Selection

Focus

Cell Renderer

Cell Editor

Header GroupingRow/Columnspan

ColumnSorting

ColumnResizing

FrozenColumns

...

Page 15: Going Virtual

DEMO