Property | Type | Description | |
---|---|---|---|
_boundsChanged | bool | ||
_margin | |||
_trackBounds | bool |
Method | Description | |
---|---|---|
AddChild ( |
Add a child to the component. It will be at the frontmost position.
|
|
AddChildAt ( |
Adds a child to the component at a certain index.
|
|
AddController ( FairyGUI.Controller controller ) : void |
Adds a controller to the container.
|
|
ConstructFromResource ( ) : void | ||
ConstructFromXML ( |
Method for extensions to override
|
|
Dispose ( ) : void | ||
EnsureBoundsCorrect ( ) : void |
Make sure the bounds of the component is correct. Bounds of the component is not updated on every changed. For example, you add a new child to the list, children in the list will be rearranged in next frame. If you want to access the correct child position immediatelly, call this function first.
|
|
GComponent ( ) : System | ||
GetChild ( string name ) : |
Returns a child object with a certain name.
|
|
GetChildAt ( int index ) : |
Returns a child object at a certain index. If index out of bounds, exception raised.
|
|
GetChildInGroup ( FairyGUI.GGroup group, string name ) : |
Returns a child object belong to a group with a certain name.
|
|
GetChildIndex ( |
Returns the index of a child within the container, or "-1" if it is not found.
|
|
GetChildren ( ) : FairyGUI.GObject[] |
Returns a copy of all children with an array.
|
|
GetController ( string name ) : FairyGUI.Controller |
Returns a controller object with a certain name.
|
|
GetControllerAt ( int index ) : FairyGUI.Controller |
Returns a controller object at a certain index.
|
|
GetFirstChildInView ( ) : int | ||
GetTransition ( string name ) : |
Returns a transition object at a certain name.
|
|
GetTransitionAt ( int index ) : |
Returns a transition object at a certain index.
|
|
GetVisibleChild ( string name ) : |
Returns a visible child object with a certain name.
|
|
InvalidateBatchingState ( bool childChanged ) : void | ||
IsAncestorOf ( |
|
|
IsChildInView ( |
Test if a child is in view.
|
|
RemoveChild ( |
Removes a child from the component. If the object is not a child, nothing happens.
|
|
RemoveChild ( |
Removes a child from the component. If the object is not a child, nothing happens.
|
|
RemoveChildAt ( int index ) : |
Removes a child at a certain index. Children above the child will move down.
|
|
RemoveChildAt ( int index, bool dispose ) : |
Removes a child at a certain index. Children above the child will move down.
|
|
RemoveChildren ( ) : void |
Remove all children.
|
|
RemoveChildren ( int beginIndex, int endIndex, bool dispose ) : void |
Removes a range of children from the container (endIndex included).
|
|
RemoveController ( FairyGUI.Controller c ) : void |
Removes a controller from the container.
|
|
SetBoundsChangedFlag ( ) : void |
Notify the component the bounds should recaculate.
|
|
SetChildIndex ( |
Moves a child to a certain index. Children at and after the replaced position move up.
|
|
SetChildIndexBefore ( |
Moves a child to a certain position which is in front of the child previously at given index. 与SetChildIndex不同的是,如果child原来在index的前面,那么child插入的位置是index-1,即保证排在原来占据index的对象的前面。
|
|
SwapChildren ( |
Swaps the indexes of two children.
|
|
SwapChildrenAt ( int index1, int index2 ) : void |
Swaps the indexes of two children.
|
Method | Description | |
---|---|---|
CreateDisplayObject ( ) : void | ||
GetSnappingPosition ( float &xValue, float &yValue ) : void | ||
HandleGrayedChanged ( ) : void | ||
HandleSizeChanged ( ) : void | ||
OnUpdate ( ) : void | ||
SetBounds ( float ax, float ay, float aw, float ah ) : void | ||
SetupOverflow ( OverflowType overflow ) : void | ||
SetupScroll ( |
||
UpdateBounds ( ) : void |
Method | Description | |
---|---|---|
AdjustRadioGroupDepth ( |
||
ApplyAllControllers ( ) : void | ||
ApplyController ( FairyGUI.Controller c ) : void | ||
BuildNativeDisplayList ( ) : void | ||
ChildSortingOrderChanged ( |
||
ChildStateChanged ( |
||
ConstructFromResource ( List |
||
GetChildById ( string id ) : |
||
GetInsertPosForSortingChild ( |
||
UpdateClipRect ( ) : void | ||
_SetChildIndex ( |
||
__addedToStage ( ) : void | ||
__removedFromStage ( ) : void |
public AddChild ( |
||
child | A child object | |
return |
public AddChildAt ( |
||
child | A child object | |
index | int | Index |
return |
public AddController ( FairyGUI.Controller controller ) : void | ||
controller | FairyGUI.Controller | Controller object |
return | void |
public ConstructFromXML ( |
||
xml | ||
return | void |
public GetChildInGroup ( FairyGUI.GGroup group, string name ) : |
||
group | FairyGUI.GGroup | A group object |
name | string | Name |
return |
public GetChildIndex ( |
||
child | A child object | |
return | int |
public GetController ( string name ) : FairyGUI.Controller | ||
name | string | Name |
return | FairyGUI.Controller |
public GetControllerAt ( int index ) : FairyGUI.Controller | ||
index | int | Index |
return | FairyGUI.Controller |
protected GetSnappingPosition ( float &xValue, float &yValue ) : void | ||
xValue | float | |
yValue | float | |
return | void |
public GetTransition ( string name ) : |
||
name | string | Name |
return |
public GetTransitionAt ( int index ) : |
||
index | int | Index |
return |
public GetVisibleChild ( string name ) : |
||
name | string | Name |
return |
public InvalidateBatchingState ( bool childChanged ) : void | ||
childChanged | bool | |
return | void |
public IsChildInView ( |
||
child | A child object | |
return | bool |
public RemoveChild ( |
||
child | A child object | |
return |
public RemoveChild ( |
||
child | A child object | |
dispose | bool | If true, the child will be disposed right away. |
return |
public RemoveChildAt ( int index ) : |
||
index | int | Index |
return |
public RemoveChildAt ( int index, bool dispose ) : |
||
index | int | Index |
dispose | bool | If true, the child will be disposed right away. |
return |
public RemoveChildren ( int beginIndex, int endIndex, bool dispose ) : void | ||
beginIndex | int | Begin index. |
endIndex | int | End index.(Included). |
dispose | bool | If true, the child will be disposed right away. |
return | void |
public RemoveController ( FairyGUI.Controller c ) : void | ||
c | FairyGUI.Controller | Controller object. |
return | void |
protected SetBounds ( float ax, float ay, float aw, float ah ) : void | ||
ax | float | |
ay | float | |
aw | float | |
ah | float | |
return | void |
public SetChildIndex ( |
||
child | A Child | |
index | int | Index |
return | void |
public SetChildIndexBefore ( |
||
child | ||
index | int | |
return | int |
protected SetupOverflow ( OverflowType overflow ) : void | ||
overflow | OverflowType | |
return | void |
protected SetupScroll ( |
||
scrollBarMargin | ||
scroll | ScrollType | |
scrollBarDisplay | ScrollBarDisplayType | |
flags | int | |
vtScrollBarRes | String | |
hzScrollBarRes | String | |
return | void |
public SwapChildren ( |
||
child1 | A child object | |
child2 | A child object | |
return | void |
public SwapChildrenAt ( int index1, int index2 ) : void | ||
index1 | int | index of first child |
index2 | int | index of second child |
return | void |