Ext.data.JsonP.Ext_layout_SizeModel({"mixins":[],"code_type":"assignment","inheritable":false,"component":false,"meta":{"protected":true},"mixedInto":[],"uses":[],"aliases":{},"parentMixins":[],"superclasses":[],"members":{"event":[],"property":[{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"auto","id":"property-auto"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"calculated","id":"property-calculated"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"calculatedFromConfigured","id":"property-calculatedFromConfigured"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"calculatedFromNatural","id":"property-calculatedFromNatural"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"calculatedFromShrinkWrap","id":"property-calculatedFromShrinkWrap"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"configured","id":"property-configured"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"constrainedMax","id":"property-constrainedMax"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"constrainedMin","id":"property-constrainedMin"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"fixed","id":"property-fixed"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"name","id":"property-name"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"names","id":"property-names"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"natural","id":"property-natural"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"ordinal","id":"property-ordinal"},{"meta":{},"owner":"Ext.layout.SizeModel","tagname":"property","name":"pairsByHeightOrdinal","id":"property-pairsByHeightOrdinal"},{"meta":{"readonly":true},"owner":"Ext.layout.SizeModel","tagname":"property","name":"shrinkWrap","id":"property-shrinkWrap"}],"css_var":[],"method":[],"css_mixin":[],"cfg":[]},"tagname":"class","extends":null,"html":"
Files
This class describes a size determination strategy or algorithm used by the layout\nsystem. There are special instances of this class stored as static properties to\navoid needless object instantiation. These instances should be treated as readonly.
\n\ncalculated
configured
constrainedMax
constrainedMin
natural
shrinkWrap
calculatedFromConfigured
calculatedFromNatural
calculatedFromShrinkWrap
Using one of these instances is simply:
\n\n var calculated = Ext.layout.SizeModel.calculated;\n
\nTrue if the size is either natural
or shrinkWrap
, otherwise false.
True if the size is either natural
or shrinkWrap
, otherwise false.
True if the size is calculated by the ownerLayout
.
Defaults to: false
True if the size is calculated by the ownerLayout
based on a configured size.
Defaults to: false
True if the size is calculated by the ownerLayout
based on natural
size model\nresults.
Defaults to: false
True if the size is calculated by the ownerLayout
based on shrinkWrap
size model\nresults.
Defaults to: false
True if the size is configured (e.g., by a width
or minWidth
). The names of\nconfiguration properties can be found in the names property.
Defaults to: false
True if the size is constrained by a maxWidth
or maxHeight
configuration. This\nis a flavor of configured
(since maxWidth
and maxHeight
are config options).\nIf true, the names property will be defined as well.
Defaults to: false
True if the size is constrained by a minWidth
or minHeight
configuration. This\nis a flavor of configured
(since minWidth
and minHeight
are config options).\nIf true, the names property will be defined as well.
Defaults to: false
True if the size is either calculated
or configured
, otherwise false.
True if the size is either calculated
or configured
, otherwise false.
The name of this size model (e.g., \"calculated\").
\nThe name of this size model (e.g., \"calculated\").
\nTrue if the size is determined by CSS and not by content. Such sizes are assumed to\nbe dependent on the container box and measurement occurs on the outer-most element.
\nDefaults to: false
@prop {Number} ordinal\nThe 0-based ordinal for this SizeModel
instance.
@prop {Number} ordinal\nThe 0-based ordinal for this SizeModel
instance.
An array of objects indexed by the ordinal of a height SizeModel
on\na width SizeModel
to yield an object describing both height and width size\nmodels.
Used like this:
\n\n widthModel.pairsByHeightOrdinal[heightModel.ordinal]\n
\n\nThis provides a reusable object equivalent to the following:
\n\n {\n width: widthModel,\n height: heightModel\n }\n
\nThe SizeModel
for\nthe width.
The SizeModel
for\nthe height.
True if the size is determined by content irrespective of the container box.
\nDefaults to: false