Packagecom.adobe.portfolio.components.details
Classpublic class DetailsField
InheritanceDetailsField Inheritance Object

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The DetailsField class represents the IField of an IAttachment and adds Details specific information.



Public Properties
 PropertyDefined By
  calculatedWidth : Number
The calculated width of the field.
DetailsField
  displayName : String
[read-only] The display name of the field.
DetailsField
  editable : Boolean
[read-only] The editability of the field.
DetailsField
  explicitWidth : Number
The explicit width of the field.
DetailsField
  field : IField
[read-only] The IAttachment field.
DetailsField
  name : String
[read-only] The name of the field.
DetailsField
  resizable : Boolean
Whether a field can be resized or not.
DetailsField
  type : String
[read-only] The type of the field.
DetailsField
  visible : Boolean
[read-only] The visibility of the field.
DetailsField
  width : Number
[read-only] The width, in pixels, of the field.
DetailsField
Public Methods
 MethodDefined By
  
Constructor.
DetailsField
Property Detail
calculatedWidthproperty
calculatedWidth:Number

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The calculated width of the field. This is usually set by the Details class, based on the width of the header and first few items in a column.


Implementation
    public function get calculatedWidth():Number
    public function set calculatedWidth(value:Number):void
displayNameproperty 
displayName:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The display name of the field.


Implementation
    public function get displayName():String

See also

editableproperty 
editable:Boolean  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The editability of the field.


Implementation
    public function get editable():Boolean

See also

explicitWidthproperty 
explicitWidth:Number

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The explicit width of the field. This is usually set by the Details class when the user resizes a column.


Implementation
    public function get explicitWidth():Number
    public function set explicitWidth(value:Number):void
fieldproperty 
field:IField  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The IAttachment field.


Implementation
    public function get field():IField

See also

nameproperty 
name:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The name of the field.


Implementation
    public function get name():String

See also

resizableproperty 
resizable:Boolean

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Whether a field can be resized or not.


Implementation
    public function get resizable():Boolean
    public function set resizable(value:Boolean):void
typeproperty 
type:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The type of the field.


Implementation
    public function get type():String

See also

visibleproperty 
visible:Boolean  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The visibility of the field.


Implementation
    public function get visible():Boolean

See also

widthproperty 
width:Number  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The width, in pixels, of the field. If the field is not visible the width is zero. If the explicitWidth has been set, that is returned, otherwise the calculatedWidth is returned.


Implementation
    public function get width():Number

See also

Constructor Detail
DetailsField()Constructor
public function DetailsField(field:IField)

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor.

Parameters
field:IField — A field of an IAttachment.