Class: GDWidgetInstanceCell

GDWidgetInstanceCell()

Objects of this class represent an inner cell of an widget. The top-level cell of a widget is of class GDWidgetInstanceRootCell superclass GDCompositeFigure

Constructor

new GDWidgetInstanceCell()

Source:

Members

deepOrderedComponents

an array of itself an all children (recursively)
Source:

definition

the corresponding GDWidgetCellDefinition of this cell.
Source:

isBasicCell

returns true if this cell is a basic cell.
Source:

widget

the widget of this cell. GDWidget
Source:

Methods

ownValueForKeyInStateWithIdentifier(key, stateIdentifier)

if a property value is either overwritten or an individual property the value is stored in the cell. Return null if the property is not defined in the cell (overwritten or individual)
Parameters:
Name Type Description
key String name of the property
stateIdentifier String identifier of the state
Source:

setValueForKeyInStateWithIdentifier(value, key, stateIdentifier)

sets the value inside this cell. This method does not update the visual representation. Use AntetypeWeb#cellSetProperty to change the value and update the display
Parameters:
Name Type Description
value Object the value of the property
key String name of the property (see documentation)
stateIdentifier String the identifier of the state GDState.
Source:

valueForKeyInStateWithIdentifier(key, stateIdentifier) → {Object}

Used to get a value for a given property-name and cell. This method returns the value, no matter if it is defined in the cell itself (overwritten or individual.
Parameters:
Name Type Description
key String the name of the property
stateIdentifier String the identifier of the state used.
Source:
Returns:
the value of this property in the given state
Type
Object