Свойство | Type | Description | |
---|---|---|---|
_boundsChanged | bool | ||
_margin | |||
_trackBounds | bool |
Méthode | 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.
|
Méthode | 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 |
Méthode | 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 | |
Résultat |
public AddChildAt ( |
||
child | A child object | |
index | int | Index |
Résultat |
public AddController ( FairyGUI.Controller controller ) : void | ||
controller | FairyGUI.Controller | Controller object |
Résultat | void |
public ConstructFromXML ( |
||
xml | ||
Résultat | void |
public GetChild ( string name ) : |
||
name | string | Name |
Résultat |
public GetChildAt ( int index ) : |
||
index | int | Index |
Résultat |
public GetChildInGroup ( FairyGUI.GGroup group, string name ) : |
||
group | FairyGUI.GGroup | A group object |
name | string | Name |
Résultat |
public GetChildIndex ( |
||
child | A child object | |
Résultat | int |
public GetChildren ( ) : FairyGUI.GObject[] | ||
Résultat | FairyGUI.GObject[] |
public GetController ( string name ) : FairyGUI.Controller | ||
name | string | Name |
Résultat | FairyGUI.Controller |
public GetControllerAt ( int index ) : FairyGUI.Controller | ||
index | int | Index |
Résultat | FairyGUI.Controller |
protected GetSnappingPosition ( float &xValue, float &yValue ) : void | ||
xValue | float | |
yValue | float | |
Résultat | void |
public GetTransition ( string name ) : |
||
name | string | Name |
Résultat |
public GetTransitionAt ( int index ) : |
||
index | int | Index |
Résultat |
public GetVisibleChild ( string name ) : |
||
name | string | Name |
Résultat |
public InvalidateBatchingState ( bool childChanged ) : void | ||
childChanged | bool | |
Résultat | void |
public IsChildInView ( |
||
child | A child object | |
Résultat | bool |
public RemoveChild ( |
||
child | A child object | |
Résultat |
public RemoveChild ( |
||
child | A child object | |
dispose | bool | If true, the child will be disposed right away. |
Résultat |
public RemoveChildAt ( int index ) : |
||
index | int | Index |
Résultat |
public RemoveChildAt ( int index, bool dispose ) : |
||
index | int | Index |
dispose | bool | If true, the child will be disposed right away. |
Résultat |
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. |
Résultat | void |
public RemoveController ( FairyGUI.Controller c ) : void | ||
c | FairyGUI.Controller | Controller object. |
Résultat | void |
protected SetBounds ( float ax, float ay, float aw, float ah ) : void | ||
ax | float | |
ay | float | |
aw | float | |
ah | float | |
Résultat | void |
public SetChildIndex ( |
||
child | A Child | |
index | int | Index |
Résultat | void |
public SetChildIndexBefore ( |
||
child | ||
index | int | |
Résultat | int |
protected SetupOverflow ( OverflowType overflow ) : void | ||
overflow | OverflowType | |
Résultat | void |
protected SetupScroll ( |
||
scrollBarMargin | ||
scroll | ScrollType | |
scrollBarDisplay | ScrollBarDisplayType | |
flags | int | |
vtScrollBarRes | String | |
hzScrollBarRes | String | |
Résultat | void |
public SwapChildren ( |
||
child1 | A child object | |
child2 | A child object | |
Résultat | void |
public SwapChildrenAt ( int index1, int index2 ) : void | ||
index1 | int | index of first child |
index2 | int | index of second child |
Résultat | void |