Packagecom.jwopitz.containers
Classpublic class FieldSet
InheritanceFieldSet Inheritance mx.containers.Box

The FieldSet is a container class that is modeled after the html fieldSet version. It can layout its children in either a vertical (default) or horizontal.

The <jwo_lib:FieldSet> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:

  <jwo_lib:FieldSet
   Properties
    title=""
     
    Styles
    titleAlign="left|center|right"
    titleGap="2"
    titleStyleName="bold"
   >
    ...
      child tags
    ...
   </jwo_lib:FieldSet>
   

See also

mx.containers.Box


Public Properties
 PropertyDefined by
  title : String
The string value of the FieldSet's title.
FieldSet
Protected Methods
 MethodDefined by
  
getTitlePoint():Point
Calculates the targeted origin pt of the title textField based on titleAlignment.
FieldSet
  
layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
FieldSet
Styles
 StyleDescriptionDefined by
  
titleAlign
Type: String   CSS Inheritance: no
Sets the horizontal alignment of the title. Values are "left, "center" and "right". The default value is left.
FieldSet
  
titleGap
Type: Number   CSS Inheritance: no
Sets the gap between the title and the drawn border endpoints on each side. The default value is 2.
FieldSet
  
titleStyleName
Type: String   CSS Inheritance: no
Sets the style for the title. The default value is bold.
FieldSet
Property detail
titleproperty
title:String  [read-write]

The string value of the FieldSet's title.

This property can be used as the source for data binding.

Implementation
    public function get title():String
    public function set title(value:String):void
Method detail
getTitlePoint()method
protected function getTitlePoint():Point

Calculates the targeted origin pt of the title textField based on titleAlignment.

Returns
Point — A point whose x and y coordinates are the location for the tilte textField.
layoutChrome()method 
protected override function layoutChrome(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number
 
unscaledHeight:Number