| Package | com.addicted2flash.layout.component |
| Class | public class StaticGridBox |
| Inheritance | StaticGridBox AbstractGridBox UIContainer UIComponent flash.display.Sprite |
StaticGridLayout.
See also
| Method | Defined by | ||
|---|---|---|---|
|
StaticGridBox(rows:int, columns:int, hgap:Number = 0, vgap:Number = 0)
Creates a new
StaticGridBox. | StaticGridBox | ||
![]() |
Adds a component to the container with a given constraint.
| UIContainer | |
![]() |
Adds a component to the container, at a spcific index, with a given constraint.
| UIContainer | |
![]() |
addLayoutObserver(o:ILayoutObserver):void
Adds an
ILayoutObserver to the set of observers for this object,
provided that it is not the same as some observer already in the set. | UIComponent | |
![]() |
containsComponent(c:IUIComponent):Boolean
Returns true if given component exists within containers list.
| UIContainer | |
![]() |
dispose():void
free memory for garbage collection.
| AbstractGridBox | |
![]() |
findComponent(x:Number, y:Number):IUIComponent
Returns the component at the given position.
| UIContainer | |
![]() |
getAt(i:int):IUIComponent
Returns the component at the given index.
| UIContainer | |
![]() |
indexOfComponent(c:IUIComponent):int
Returns the index of the given component.
| UIContainer | |
![]() |
invalidate():void
Component will be measured and rearranged.
| UIComponent | |
![]() |
lock():void
Locks invalidation lifecycle when adding/removing components (no internal
invalidate()
calls after add/remove). | UIContainer | |
![]() |
move(x:Number, y:Number):Boolean
Sets the position of the component and returns true if position has changed.
| UIComponent | |
![]() |
notifyLayoutObservers(type:int):void
Registered
ILayoutObserver will be notified. | UIComponent | |
![]() |
Removes a component from the container.
| UIContainer | |
![]() |
removeAll():void
Removes all components from the container.
| UIContainer | |
![]() |
removeAt(i:int):IUIComponent
Removes a component from the container, at a specific index.
| UIContainer | |
![]() |
removeLayoutObserver(o:ILayoutObserver):void
Deletes an
ILayoutObserver from the set of observers of this object. | UIComponent | |
![]() |
resize(w:Number, h:Number):Boolean
Sets the size of the bounds and the desired size (pixel values)
of the component.
| UIComponent | |
![]() |
Replaces a component at a given index.
| UIContainer | |
![]() |
setLayoutSize(w:Number, h:Number):Boolean
This method is used for updating the size of the bounds
within a validation lifecycle (in
arrange process
within a container). | UIComponent | |
|
toString():String
Returns the string representation of the
StaticGridBox. | StaticGridBox | ||
![]() |
unlock():void
Unlocks invalidation lifecycle and calls
invalidate() if container is not valid. | UIContainer | |
| StaticGridBox | () | constructor |
public function StaticGridBox(rows:int, columns:int, hgap:Number = 0, vgap:Number = 0)
Creates a new StaticGridBox.
rows:int |
|
columns:int |
|
hgap:Number (default = 0) |
|
vgap:Number (default = 0) |
| toString | () | method |
public override function toString():String
Returns the string representation of the StaticGridBox.
String — the string representation of the StaticGridBox
|