Packagecom.distriqt.extension.adverts
Classpublic class AdViewParams
InheritanceAdViewParams Inheritance Object

Controls settings of the advert, including position, alignment, width and height

The default setting will position the banner at 0,0 using the default smart banner size for the current device



Public Properties
 PropertyDefined By
  height : int
Unimplemented
AdViewParams
  horizontalAlign : String
Horizontal alignment type
AdViewParams
  verticalAlign : String
Vertical alignment type
AdViewParams
  width : int
Unimplemented
AdViewParams
  x : int
Position of the banner ad Note: Setting an alignment will override setting the x,y coordinate
AdViewParams
  y : int
Position of the banner ad Note: Setting an alignment will override setting the x,y coordinate
AdViewParams
Public Methods
 MethodDefined By
  
Constructor
AdViewParams
  
[static]
AdViewParams
  
toString():String
AdViewParams
Public Constants
 ConstantDefined By
  ALIGN_BOTTOM : String = bottom
[static]
AdViewParams
  ALIGN_CENTER : String = center
[static]
AdViewParams
  ALIGN_LEFT : String = left
[static]
AdViewParams
  ALIGN_NONE : String = none
[static]
AdViewParams
  ALIGN_RIGHT : String = right
[static]
AdViewParams
  ALIGN_TOP : String = top
[static]
AdViewParams
Property Detail
heightproperty
height:int

Unimplemented


Implementation
    public function get height():int
    public function set height(value:int):void
horizontalAlignproperty 
horizontalAlign:String

Horizontal alignment type

The default value is ALIGN_NONE.


Implementation
    public function get horizontalAlign():String
    public function set horizontalAlign(value:String):void
verticalAlignproperty 
verticalAlign:String

Vertical alignment type

The default value is ALIGN_NONE.


Implementation
    public function get verticalAlign():String
    public function set verticalAlign(value:String):void
widthproperty 
width:int

Unimplemented


Implementation
    public function get width():int
    public function set width(value:int):void
xproperty 
x:int

Position of the banner ad

Note: Setting an alignment will override setting the x,y coordinate


Implementation
    public function get x():int
    public function set x(value:int):void
yproperty 
y:int

Position of the banner ad

Note: Setting an alignment will override setting the x,y coordinate


Implementation
    public function get y():int
    public function set y(value:int):void
Constructor Detail
AdViewParams()Constructor
public function AdViewParams()

Constructor

Method Detail
fromObject()method
public static function fromObject(data:Object):AdViewParams

Parameters

data:Object

Returns
AdViewParams
toString()method 
public function toString():String

Returns
String — A string representation of the view params
Constant Detail
ALIGN_BOTTOMConstant
public static const ALIGN_BOTTOM:String = bottom

ALIGN_CENTERConstant 
public static const ALIGN_CENTER:String = center

ALIGN_LEFTConstant 
public static const ALIGN_LEFT:String = left

ALIGN_NONEConstant 
public static const ALIGN_NONE:String = none

ALIGN_RIGHTConstant 
public static const ALIGN_RIGHT:String = right

ALIGN_TOPConstant 
public static const ALIGN_TOP:String = top