Main Page | Packages | Class Tree | Index | Help

xp.controls

class FormItem

MovieClip
  |
  +--xp.system.UIControl
        |
        +--xp.controls.Container
              |
              +--xp.controls.Box
                    |
                    +--xp.controls.VBox
                          |
                          +--xp.controls.FormItem


class FormItem
extends VBox

A container that holds a Label and related input controls


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public static
classInfo: Object
A static class information object

public
icon: Icon
the indicator icon *

public
label: String
The text to display in the FormLabel *

public
labelAlign: String
Sets the alignment of the label *

public
labelControl: Label
The FormLabel control object *

public
labelWidth: Number
the width of the label section *

public
required: Boolean
Is this item required *

public
styleClass: String
The name of the style class this instance will use.

Fields inherited from class xp.controls.VBox

classInfo, styleClass

Fields inherited from class xp.controls.Box

classInfo, styleClass

Fields inherited from class xp.controls.Container

__showStatusBar, __showTitleBar, acceptButton, cancelButton, children, classInfo, controlBar, controls, dataSource, enableBGMouseEvents, initialFocusControl, isRoot, lastFocus, layoutDescriptor, layoutId, layoutManager, rootContainer, styleClass, symbolId, tabList, tabModeWrap

Fields inherited from class xp.system.UIControl

__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment

Properties inherited from class xp.controls.Box

direction, horizontalAlignment, horizontalGap, verticalAlignment, verticalGap

Properties inherited from class xp.controls.Container

childCount, footerHeight, headerHeight, innerBackground, innerBackgroundVisible, innerBorderBrush, innerBorderRadius, innerBorderStyle, innerBorderThickness, numChildren, showStatusBar, showTitleBar, status, title

Properties inherited from class xp.system.UIControl

alpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y

Constructor

public
FormItem ( )
Constructor

Method Summary

public
addChild ( compDesc: Object ): Object
Adds a child control to a container

public
getClass ( ): Function
Returns a reference to the components static class

public
getViewMetrics ( ): Object
the margins or offsets for the body view used by the layout system*

Methods inherited from class xp.controls.VBox

getClass

Methods inherited from class xp.controls.Box

getClass

Methods inherited from class xp.controls.Container

addChild, addChildren, addControlBar, clearAll, createChild, destroyChildAt, getChild, getChildAt, getChildFromMouse, getClass, getFooterHeight, getHeaderHeight, getNextControl, getUIBuilder, getViewMetrics, initLayoutManager, onChildFocus, processEnterKey, processEscapeKey, registerChild, selectNextControl, setDataContext, setFocus, setMeasuredMinSize, setMeasuredSize, unregisterChild

Methods inherited from class xp.system.UIControl

addBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate



Field Documentation

classInfo

public static var classInfo: Object
A static class information object

Every class has an associated classInfo object that holds the version and other static information. The classInfo can be accessed either directly by referencing the static class or by calling getClass() on any class instance.

icon

public var icon: Icon
the indicator icon *

label

public var label: String
The text to display in the FormLabel *

labelAlign

public var labelAlign: String
Sets the alignment of the label *

labelControl

public var labelControl: Label
The FormLabel control object *

labelWidth

public var labelWidth: Number
the width of the label section *

required

public var required: Boolean
Is this item required *

styleClass

public var styleClass: String
The name of the style class this instance will use.


Constructor Documentation

FormItem

public function FormItem()
Constructor


Method Documentation

addChild

public function addChild(compDesc: Object): Object
Adds a child control to a container

Adds a child as defined in the component descriptor parameter to this container.

Overrides:

Parameters:
compDesc
A descriptor object defining the component to be added xp.system.CompDesc
Returns:
The newly added child

getClass

public function getClass(): Function
Returns a reference to the components static class

Overrides:

getViewMetrics

public function getViewMetrics(): Object
the margins or offsets for the body view used by the layout system*

Overrides:


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc