Packagecom.degrafa.skins
Classpublic class CSSSkin
InheritanceCSSSkin Inheritance mx.skins.Border

A Flex skin for applying advanced styling through W3C based CSS.



Public Properties
 PropertyDefined by
  borderMetrics : EdgeMetrics
[read-only]
CSSSkin
Public Methods
 MethodDefined by
  
CSSSkin
  
styleChanged(styleProp:String):void
CSSSkin
Protected Methods
 MethodDefined by
  
commitStyles():void
CSSSkin
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
CSSSkin
Styles
 StyleDescriptionDefined by
  
backgroundBlend

Sets the blend mode used to blend a given image layer with the layers behind it.
CSSSkin
  
backgroundColor

Sets the background color of an element.
CSSSkin
  
backgroundImage

Sets the background image(s) of an element, or 'none' for no image.. The 'background-color' is painted below all the images.
CSSSkin
  
backgroundPosition

If a background image has been specified, this property specifies its initial position.
CSSSkin
  
backgroundRepeat

Values have the following meanings:
repeat-x
Equivalent to 'repeat no-repeat'.
repeat-y
Equivalent to 'no-repeat repeat'
Otherwise, if there is one value, it sets both the horizontal and vertical repeat. If there are two, the first one is for the horizontal direction, the second for the vertical one. As follows:
repeat
The image is repeated in this direction as often as needed to cover the area. The image is clipped at the border or padding edge (depending on 'background-clip').
no-repeat
The image is not repeated in this direction. If it is too large, the image is clipped at the border or padding edge (depending on 'background-clip').
space
The image is repeated as often as it will fit without being clipped and then the images are spaced out to fill the area. The value of 'background-position' for this direction is ignored.
The default value is "repeat".
CSSSkin
  
borderBottomColor

CSSSkin
  
borderBottomLeftRadius

CSSSkin
  
borderBottomRightRadius

CSSSkin
  
borderBottomWidth

CSSSkin
  
borderColor

Shorthand for the four 'border-color' properties. The four values set the top, right, bottom and left border, respectively. A missing left is the same as right, a missing bottom is the same as top, and a missing right is also the same as top. Note: space delimited shorthand properties must be surrounded by quotation marks in Flex CSS.
CSSSkin
  
borderLeftColor

CSSSkin
  
borderLeftWidth

CSSSkin
  
borderRightColor

CSSSkin
  
borderRightWidth

CSSSkin
  
borderTopColor

CSSSkin
  
borderTopLeftRadius

CSSSkin
  
borderTopRightRadius

CSSSkin
  
borderTopWidth

CSSSkin
  
borderWidth

Shorthand that sets the four 'border-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.
CSSSkin
Property detail
borderMetricsproperty
borderMetrics:EdgeMetrics  [read-only]Implementation
    public function get borderMetrics():EdgeMetrics
Constructor detail
CSSSkin()constructor
public function CSSSkin()
Method detail
commitStyles()method
protected function commitStyles():void
styleChanged()method 
public override function styleChanged(styleProp:String):voidParameters
styleProp:String
updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number
 
unscaledHeight:Number