Packagecom.dwuser.ss4.ui.controls
Classpublic class PagingControlSizer
InheritancePagingControlSizer Inheritance HSlider Inheritance mx.controls.sliderClasses.Slider

The PagingControlSizer element is a control which allows the user to resize the tiles in any element which extends PagingControlHolder, specifically the NumberBar and Thumbnails elements. It is often used in conjunction with the <PagingControls>...</PagingControls> child element of the NumberBar or Thumbnails element as shown below in the example. For more on this use, see the PagingControls pseudo-property on the PagingControlHolder class. However, it can be used independently as long as the pagingOwner property has been set.

Set the toolTip property on the element if you wish to display a tooltip on the sizer, such as 'Drag to Resize Thumbnails'.

Layout XML Syntax Example:

The PagingControlSizer class inherits all of the tag attributes of its superclass.

PagingControls implementation example:

   <Thumbnails|NumberBar ... >
      ...
      <PagingControls>
         ...
         <PagingControlSizer
            Properties
            pagingOwner="Reference to Thumbnails or NumberBar element"
        
            Styles
            smallIconSkin="Default embedded icon"
            largeIconSkin="Default embedded icon"
            minTileWidth="20"
            minTileHeight="20"
            maxTileWidth="100"
            maxTileHeight="100"
         />
         ...
      </PagingControls>
      ...
   </Thumbnails|NumberBar>
   

The following example shows how a standalone implementation is created:

   Assumes prior existence of an element such as the following: 
   <Thumbnails ... id="thumbDisplay" ... />
   
   <PagingControlSizer pagingOwner="Eval{thumbDisplay}" />
   

Element Pictorial Example:

See also

com.dwuser.ss4.ui.PagingControlHolder
com.dwuser.ss4.ui.PagingControlHolder.PagingControls
com.dwuser.ss4.ui.NumberBar
com.dwuser.ss4.ui.Thumbnails


Public Properties
 PropertyDefined by
  pagingOwner : PagingControlHolder
This provides an optional reference to the PagingControlHolder subclass element which should be controlled by this slider; specifically, a reference to a Thumbnails or NumberBar element.
PagingControlSizer
Public Methods
 MethodDefined by
  
PagingControlSizer
Protected Methods
 MethodDefined by
  
PagingControlSizer
  
updateDisplayList(w:Number, h:Number):void
PagingControlSizer
Styles
 StyleDescriptionDefined by
 Inherited Type: String   CSS Inheritance: no
The location of the data tip relative to the thumb.
HSlider
  
largeIconSkin
Type: Class   CSS Inheritance: no
Specifies the large-tile icon which is displayed on the right edge of the slider. By default, the embedded default icon is used. The default value is Embedded default icon.
PagingControlSizer
  
maxTileHeight
Type: Number   Format: Length   CSS Inheritance: no
Specifies the maximum tile height, in pixels, which the slider can apply to the associated PagingControlHolder element. The default value is 100.
PagingControlSizer
  
maxTileWidth
Type: Number   Format: Length   CSS Inheritance: no
Specifies the maximum tile width, in pixels, which the slider can apply to the associated PagingControlHolder element. The default value is 100.
PagingControlSizer
  
minTileHeight
Type: Number   Format: Length   CSS Inheritance: no
Specifies the minimum tile height, in pixels, which the slider can apply to the associated PagingControlHolder element. The default value is 20.
PagingControlSizer
  
minTileWidth
Type: Number   Format: Length   CSS Inheritance: no
Specifies the minimum tile width, in pixels, which the slider can apply to the associated PagingControlHolder element. The default value is 20.
PagingControlSizer
  
smallIconSkin
Type: Class   CSS Inheritance: no
Specifies the small-tile icon which is displayed on the left edge of the slider. By default, the embedded default icon is used. The default value is Embedded default icon.
PagingControlSizer
Property detail
pagingOwnerproperty
pagingOwner:PagingControlHolder  [read-write]

This provides an optional reference to the PagingControlHolder subclass element which should be controlled by this slider; specifically, a reference to a Thumbnails or NumberBar element. If not specified, then this element must be used within the <PagingControls>...</PagingControls> child node in a NumberBar or Thumbnails element.

Layout XML Example of Standalone Usage (assumes that a <Thumbnails ... id="thumbDisplay" ... /> element already exists):

    <PagingControl pagingOwner="Eval{thumbDisplay}" />
    

For an example of the PagingControls child node implementation, see the class description above.

Implementation
    public function get pagingOwner():PagingControlHolder
    public function set pagingOwner(value:PagingControlHolder):void
Constructor detail
PagingControlSizer()constructor
public function PagingControlSizer()
Method detail
createChildren()method
protected override function createChildren():void
updateDisplayList()method 
protected override function updateDisplayList(w:Number, h:Number):voidParameters
w:Number
 
h:Number