Main Page | Packages | Class Tree | Index | Help

xp.controls

class RowHeaderPanel

MovieClip
  |
  +--xp.system.UIControl
        |
        +--xp.controls.Container
              |
              +--xp.controls.RowPanel
                    |
                    +--xp.controls.RowHeaderPanel


class RowHeaderPanel
extends RowPanel

RowHeaderPanel
A container that lays out children component in a horizontal row according to a set of column widths, and updates itself to reflect selected or highlighted states and can draw a grid cell around each child


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
selectMode: String


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

Fields inherited from class xp.controls.RowPanel

cells, classInfo, columns, indent, indicator, indicatorWidth, isEditing, isInserting, selectMode, showItemIndex, 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.RowPanel

hPosition, itemIndex

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
RowHeaderPanel ( )
Constructor - This should not be called directly.


Method Summary

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

public
sortRows ( sortColumn: Number, sortOption: Number ): Void
Called by the items host when rows have been sorted

Methods inherited from class xp.controls.RowPanel

addCells, getCell, getCellCount, getClass, internalMeasure, resizeColumns, setDataContext, updateIndicatorState

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.

selectMode

public var selectMode: String

styleClass

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


Constructor Documentation

RowHeaderPanel

public function RowHeaderPanel()
Constructor - This should not be called directly.

Panel are usually instantiated by a items control


Method Documentation

getClass

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

Overrides:

sortRows

public function sortRows(sortColumn: Number,
 sortOption: Number): Void
Called by the items host when rows have been sorted

After rows have been sorted the HeaderRowGroup host notifies the HeaderRowGroup. The HeaderRowGroup displays a sort arrow over the column sorted on and based on the sortOption displays the arrow pointingup or down.

Parameters:
sortColumn
The index of the column that was sorted on
sortOption
The sort options applied to the sort

The documentation was generated from the following file:


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