프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_boundsChanged | bool | ||
_margin | |||
_trackBounds | bool |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 |
public AddChildAt ( |
||
child | A child object | |
index | int | Index |
리턴 |
public AddController ( FairyGUI.Controller controller ) : void | ||
controller | FairyGUI.Controller | Controller object |
리턴 | void |
public GetChildInGroup ( FairyGUI.GGroup group, string name ) : |
||
group | FairyGUI.GGroup | A group object |
name | string | Name |
리턴 |
public GetChildIndex ( |
||
child | A child object | |
리턴 | int |
public GetController ( string name ) : FairyGUI.Controller | ||
name | string | Name |
리턴 | FairyGUI.Controller |
public GetControllerAt ( int index ) : FairyGUI.Controller | ||
index | int | Index |
리턴 | FairyGUI.Controller |
protected GetSnappingPosition ( float &xValue, float &yValue ) : void | ||
xValue | float | |
yValue | float | |
리턴 | void |
public GetTransition ( string name ) : |
||
name | string | Name |
리턴 |
public GetTransitionAt ( int index ) : |
||
index | int | Index |
리턴 |
public GetVisibleChild ( string name ) : |
||
name | string | Name |
리턴 |
public InvalidateBatchingState ( bool childChanged ) : void | ||
childChanged | bool | |
리턴 | void |
public IsChildInView ( |
||
child | A child object | |
리턴 | bool |
public RemoveChild ( |
||
child | A child object | |
리턴 |
public RemoveChild ( |
||
child | A child object | |
dispose | bool | If true, the child will be disposed right away. |
리턴 |
public RemoveChildAt ( int index, bool dispose ) : |
||
index | int | Index |
dispose | bool | If true, the child will be disposed right away. |
리턴 |
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. |
리턴 | void |
public RemoveController ( FairyGUI.Controller c ) : void | ||
c | FairyGUI.Controller | Controller object. |
리턴 | void |
protected SetBounds ( float ax, float ay, float aw, float ah ) : void | ||
ax | float | |
ay | float | |
aw | float | |
ah | float | |
리턴 | void |
public SetChildIndex ( |
||
child | A Child | |
index | int | Index |
리턴 | void |
public SetChildIndexBefore ( |
||
child | ||
index | int | |
리턴 | int |
protected SetupOverflow ( OverflowType overflow ) : void | ||
overflow | OverflowType | |
리턴 | void |
protected SetupScroll ( |
||
scrollBarMargin | ||
scroll | ScrollType | |
scrollBarDisplay | ScrollBarDisplayType | |
flags | int | |
vtScrollBarRes | String | |
hzScrollBarRes | String | |
리턴 | void |
public SwapChildren ( |
||
child1 | A child object | |
child2 | A child object | |
리턴 | void |
public SwapChildrenAt ( int index1, int index2 ) : void | ||
index1 | int | index of first child |
index2 | int | index of second child |
리턴 | void |