O'Reilly logo

Enterprise Curl by Paul Sheehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sheet

The Sheet class is used to represent a window contained within AppCanvas, and it supports the basic functions of a window, including resizing, moving, minimizing, maximizing, and selecting. The Sheet class also maintains the state of the window through the helper class SheetState, which will be discussed later in this chapter. Sheet has an API that consists of {constructor}, {close}, {minimize}, {maximize}, {restore}, {on-pointer-press}, and {draw}. The specific processing in each of these methods will be discussed in the following sections.

Figure 5-5. AppCanvas.on-drag-over code listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || Method: on-drag-over || Purpose: Process the drag event ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required