GGroup
Namespace:FairyGUI
Source:Assets/Scripts/UI/GGroup.cs (line 11)
public class GGroup : GObject
GGroup class. 组对象,对应编辑器里的高级组。
Inheritance:EventDispatcher → GObject → GGroup
Inherited members
data, dragBounds, initHeight, initWidth, maxHeight, maxWidth, minHeight, minWidth, name, packageItem, sourceHeight, sourceWidth, underConstruct, AddRelation, Center, ConstructFromResource, CreateDisplayObject, Dispose, GetGear, GlobalToLocal, HandleControllerChanged, HandleGrayedChanged, HandlePositionChanged, HandleScaleChanged, HandleSizeChanged, InvalidateBatchingState, LocalToGlobal, LocalToRoot, MakeFullScreen, RemoveFromParent, RemoveRelation, RequestFocus, RootToLocal, SetHome, SetPivot, SetPosition, SetScale, SetSize, SetSizeDirectly, SetXY, StartDrag, StopDrag, TransformPoint, TransformRect, TweenFade, TweenMove, TweenMoveX, TweenMoveY, TweenResize, TweenRotate, TweenScale, TweenScaleX, TweenScaleY, UpdateGear, WorldToLocal, actualHeight, actualWidth, alpha, asButton, asComboBox, asCom, asGraph, asGroup, asImage, asLabel, asList, asLoader3D, asLoader, asMovieClip, asProgress, asRichTextField, asSlider, asTextField, asTextInput, asTree, blendMode, cursor, displayObject, dragStartPos, draggable, draggingObject, dragging, enabled, filter, focusable, focused, gameObjectName, gearLook, gearSize, gearXY, grayed, group, height, icon, id, inContainer, isDisposed, onAddedToStage, onClickLink, onClick, onDragEnd, onDragMove, onDragStart, onFocusIn, onFocusOut, onGearStop, onKeyDown, onPositionChanged, onRemovedFromStage, onRightClick, onRollOut, onRollOver, onSizeChanged, onStage, onTouchBegin, onTouchEnd, onTouchMove, parent, pivotAsAnchor, pivotX, pivotY, pivot, pixelSnapping, position, relations, resourceURL, root, rotationX, rotationY, rotation, scaleX, scaleY, scale, size, skew, sortingOrder, tabStop, text, tooltips, touchable, treeNode, visible, width, xMin, xy, x, yMin, y, z
AddCapture, AddEventListener, BroadcastEvent, BubbleEvent, DispatchEvent, RemoveCapture, RemoveEventListener, RemoveEventListeners, hasEventListeners, isDispatching
Constructors
GGroup()
public GGroup();
Source:UI/GGroup.cs (line 31)
Methods
EnsureBoundsCorrect()
public void EnsureBoundsCorrect();
Source:UI/GGroup.cs (line 175)
HandleAlphaChanged()
override protected void HandleAlphaChanged();
Source:UI/GGroup.cs (line 482)
HandleVisibleChanged()
override internal protected void HandleVisibleChanged();
Source:UI/GGroup.cs (line 499)
SetBoundsChangedFlag(bool)
public void SetBoundsChangedFlag(bool positionChangedOnly = false);
Update group bounds. 更新组的包围.
| Parameter | Type | Description |
|---|---|---|
positionChangedOnly | bool |
Source:UI/GGroup.cs (line 155)
Setup_AfterAdd(ByteBuffer, int)
override public void Setup_AfterAdd(ByteBuffer buffer, int beginPos);
| Parameter | Type | Description |
|---|---|---|
buffer | ByteBuffer | |
beginPos | int |
Source:UI/GGroup.cs (line 530)
Setup_BeforeAdd(ByteBuffer, int)
override public void Setup_BeforeAdd(ByteBuffer buffer, int beginPos);
| Parameter | Type | Description |
|---|---|---|
buffer | ByteBuffer | |
beginPos | int |
Source:UI/GGroup.cs (line 513)
Properties
autoSizeDisabled
public bool autoSizeDisabled { get; set; }
Source:UI/GGroup.cs (line 106)
columnGap
public int columnGap { get; set; }
Source:UI/GGroup.cs (line 74)
excludeInvisibles
public bool excludeInvisibles { get; set; }
Source:UI/GGroup.cs (line 90)
layout
public GroupLayoutType layout { get; set; }
Group layout type.
Source:UI/GGroup.cs (line 42)
lineGap
public int lineGap { get; set; }
Source:UI/GGroup.cs (line 58)
mainGridIndex
public int mainGridIndex { get; set; }
Source:UI/GGroup.cs (line 138)
mainGridMinSize
public int mainGridMinSize { get; set; }
Source:UI/GGroup.cs (line 122)