Packageorg.apache.flex.core
Interfacepublic interface IViewportModel extends IBead
Implementors ViewportModel

A Viewport is the area of a Container set aside for displaying content and any scrolling controls. The ViewportModel caches the offsets required to compute the size of the Viewport.



Public Properties
 PropertyDefined By
  borderMetrics : Rectangle
Size of the borders.
IViewportModel
  chromeMetrics : Rectangle
Size of the chrome.
IViewportModel
 Inheritedstrand : IStrand
[write-only] The host component for this bead.
IBead
Property Detail
borderMetricsproperty
borderMetrics:Rectangle

Size of the borders.


Implementation
    public function get borderMetrics():Rectangle
    public function set borderMetrics(value:Rectangle):void
chromeMetricsproperty 
chromeMetrics:Rectangle

Size of the chrome. A plain container doesn't have any chrome but a Panel's TitleBar and any ControlBar or StatusBar is considered chrome. Scrollbars used to scroll content are not factored into the viewport calculation. The Viewport is responsible for displaying any scrolling controls and deciding whether to further shrink the content area or have the scrollbars overlay the content.


Implementation
    public function get chromeMetrics():Rectangle
    public function set chromeMetrics(value:Rectangle):void