Home Reference Source
public class | source

ComponentInfo

Extends:

TypedObject → ComponentInfo

Creates an instance of ComponentInfo.

Constructor Summary

Public Constructor
public

constructor(component: *, x: *, row: *)

Member Summary

Public Members
public
public
public
public

x: *

public

y: *

Method Summary

Public Methods
public
public

getColIndex(): int

public

Returns true if we are a data cell or if we area a chrome cell at a nest depth of greater than 1.

public
public
public
public

If left locked, returns X, if right locked returns leftLockedWidth+unlockedWidth+x if unlocked returns leftLockedX + x

public
public
public

setX(val: *)

public

setY(val: *)

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Constructors

public constructor(component: *, x: *, row: *) source

Override:

TypedObject#constructor

Params:

NameTypeAttributeDescription
component *
x *
row *

Public Members

public component: * source

public inCornerAreas: Boolean source

Properties:

NameTypeAttributeDescription
inCornerAreas *

public row: RowInfo source

Properties:

NameTypeAttributeDescription
row *

public x: * source

public y: * source

Public Methods

public getClassNames(): Array source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

Array

public getColIndex(): int source

Return:

int

public getIsContentArea(): * source

Returns true if we are a data cell or if we area a chrome cell at a nest depth of greater than 1. These cells are all drawn in the content area, hence have to scroll

Return:

*

public getIsLeftLocked(): Boolean source

Return:

Boolean

public getIsLocked(): Boolean source

Return:

Boolean

public getIsRightLocked(): Boolean source

Return:

Boolean

public getPerceivedX(): Boolean source

If left locked, returns X, if right locked returns leftLockedWidth+unlockedWidth+x if unlocked returns leftLockedX + x

Return:

Boolean

public getX(): Number source

Return:

Number

public getY(): Number source

Return:

Number

public setX(val: *) source

Params:

NameTypeAttributeDescription
val *

public setY(val: *) source

Params:

NameTypeAttributeDescription
val *