eDriven Framework API
DisplayListMember Class
Namespaces ► eDriven.Gui.Components ► DisplayListMember
eDriven Framework API
Display object that could be added to display list
Declaration Syntax

C# | Visual Basic | Visual C++

    public abstract class DisplayListMember : DisplayObject,
    	IVisualElement, IEventDispatcher, IGlobalLocal

    Public MustInherit Class DisplayListMember _
    	Inherits DisplayObject _
    	Implements IVisualElement, IEventDispatcher, IGlobalLocal

    public ref class DisplayListMember abstract : public DisplayObject,
    	IVisualElement, IEventDispatcher, IGlobalLocal

Members

All Members | Constructors | Methods | Properties | Fields
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| DisplayListMember()()()() | Initializes a new instance of the DisplayListMember class
| _depth |
| AddEventListener(String, EventHandler) | AddEventListener Overload Assumes that useCapturePhase is false (Overrides EventDispatcher.AddEventListener(String, EventHandler).)
| AddEventListener(String, EventHandler, EventPhase, Int32) | Adds the event listener (Inherited from EventDispatcher.)
| AddEventListener(String, EventHandler, EventPhase) | Adds the event listener (Inherited from EventDispatcher.)
| AddEventListener(String, EventHandler, Int32) | Adds the event listener (Inherited from EventDispatcher.)
| Alpha | Alpha (Inherited from DisplayObject.)
| AutoDisposeData | (Inherited from DisplayObject.)
| Bounds | Bounds relative to Owner (bakes rect) (Inherited from DisplayObject.)
| BringToFront()()()() | Bring to front
| ColorEnd()()()() | (Inherited from DisplayObject.)
| ColorStart()()()() | (Inherited from DisplayObject.)
| ContainsPoint(Point, Boolean) | Works with global coordinates (*RARE*) Returns true if bounds of this display object (or it's children if recursive) contains point This could be overriden and for instance checked against circle bounds, or by GlobalBounds but slightly expanded (for mobile) e.g. return GlobalBounds.Expand(20).Contains(point); (Inherited from DisplayObject.)
| Content | GUIContent This is the content used by Unity when rendering pieces of GUI GUIContent consists of icon and label (Inherited from DisplayObject.)
| Data | The arbitrary data attached to this piece of GUI (Inherited from DisplayObject.)
| DecreaseSkipFrameCount()()()() | (Inherited from DisplayObject.)
| Defer(DisplayObject..::..DeferedCall, Int32, array<Object>[]()[][]) | Defers the function call for a given number of frames (Inherited from DisplayObject.)
| Depth | Crutial for fixing ScrollView and TextField click-throughs
| DispatchEvent(Event, Boolean) | Dispatches an event with the option of late processing (immediate = TRUE/FALSE) (Inherited from EventDispatcher.)
| DispatchEvent(Event) | Dispatches an event immediatelly (Inherited from EventDispatcher.)
| Dispose()()()() | (Inherited from DisplayObject.)
| Draw()()()() | (Inherited from DisplayObject.)
| EnqueueEvent(Event) | Adds an event to the queue The queue will be processed when ProcessQueue() manually executed (Inherited from EventDispatcher.)
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| ExecuteListeners(Event) | Executes event handlers listening for a particular event type (Inherited from EventDispatcher.)
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| FirstShow | The event that fires when the component is shown for the first time (Inherited from DisplayObject.)
| FocusRender()()()() | Post-draw logic Renders focus rectangle (Inherited from DisplayObject.)
| FocusRenderSignal | The signal that emits just before the focus render (Inherited from DisplayObject.)
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.)
| GlobalToLocal(Point) |
| GlobalToLocal(Rectangle) |
| HasBubblingEventListener(String) | IMPORTANT Here we plug in the event traverser for GUI components (Overrides EventDispatcher.HasBubblingEventListener(String).)
| HasEventListener(String) | Returns true if EventDispatcher has any registered listeners for a specific type and phase (Inherited from EventDispatcher.)
| Height | The Height of the component (Inherited from DisplayObject.)
| HideHandler | The event that fires when the component is hidden (Inherited from DisplayObject.)
| Id | Component identifier
| IncludeInLayout | True for including in layout
| Initialize()()()() | Initializes the component Called by the parent upon first addition Sets child's Owner and reference to Stage Sets Skin (Inherited from DisplayObject.)
| InitializeContent()()()() | Initializes GUI content (Inherited from DisplayObject.)
| InitializeStyle()()()() | Initializes Style (Inherited from DisplayObject.)
| InitTransform()()()() | (Inherited from DisplayObject.)
| InvalidateTransform()()()() | A lifecycle method Invalidates position (Inherited from DisplayObject.)
| IsDefaultPrevented(String, Boolean) | Exposes the cancelable event to the outside if there are listeners for that event type If default prevented, returns false If not, returns true (Inherited from EventDispatcher.)
| IsDefaultPrevented(String) | No-bubbling version (Inherited from EventDispatcher.)
| LocalRenderingRect | The rendering Rect This is the optimization technique: since we are using Rectangle class for internal calculations, and Unity uses Rects to render components, To avoid constant conversions from Rectangle to Rect, we are converting only when needed (when coordinates or size change) We update this variable on change (Inherited from DisplayObject.)
| LocalToGlobal(Point) | Overriding Y If parent is container, then the position internals will be updated via InvalidationManager But if parent is not a container (it's only a component, like ComboBox) we have to update position internals here
| LocalToGlobal(Rectangle) |
| MappedToAnyPhase(String, EventHandler, EventPhase) | Returns true if handler is mapped to any of the specified phases (Inherited from EventDispatcher.)
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.)
| OverlayRender()()()() | Post-draw logic Renders component overlay layer (Inherited from DisplayObject.)
| OverlayRenderSignal | The signal that emits just before the overlay render (Inherited from DisplayObject.)
| Owner | The owner of this component
| Parent | A parent container Set by framework Has to be set for every component on stage except Stage
| Position | Position (Inherited from DisplayObject.)
| PostRender()()()() | Post-draw logic Switching off Alpha, scrollbars and clipping (Inherited from DisplayObject.)
| PostRenderSignal | The signal that emits after render (Inherited from DisplayObject.)
| PreRender()()()() | Pre-draw logic Switching on Alpha, scrollbars and clipping (Inherited from DisplayObject.)
| PreRenderSignal | The signal that emits before before render (Inherited from DisplayObject.)
| ProcessEvent(Event) | Override of processing events (Overrides EventDispatcher.ProcessEvent(Event).)
| ProcessQueue()()()() | If events are added to queue, they are waiting to be fired in the same order they are added (Inherited from EventDispatcher.)
| QVisible | Note: never make this property virtual and override it This property reflects the true nature of component visibility This is important because the components are being hidden during the instantiation, and shown on creation complete This is the way to find out the desired visibility state (some of them might want to be hidden) (Inherited from DisplayObject.)
| RemoveAllListeners(String) | Removes all listeners for the spacified event type (both capture and bubbling phase) (Inherited from EventDispatcher.)
| RemoveAllListeners(String, EventPhase) | Removes all listeners for the spacified event type and phases (Inherited from EventDispatcher.)
| RemoveEventListener(String, EventHandler) | (Overrides EventDispatcher.RemoveEventListener(String, EventHandler).)
| RemoveEventListener(String, EventHandler, EventPhase) | Removes the event listener (Inherited from EventDispatcher.)
| Render()()()() | Actual draw logic (Inherited from DisplayObject.)
| RenderDoneSignal | The signal that emits after the render is complete (Inherited from DisplayObject.)
| RenderingRect | The rendering Rect This is the optimization technique: since we are using Rectangle class for internal calculations, and Unity uses Rects to render components, To avoid constant conversions from Rectangle to Rect, we are converting only when needed (when coordinates or size change) We update this variable on change (Inherited from DisplayObject.)
| RenderSignal | The signal that emits before render (Inherited from DisplayObject.)
| Rotation | Rotation The pivot point is the center of the component (Inherited from DisplayObject.)
| RotationEnd()()()() | (Inherited from DisplayObject.)
| RotationPivot | Rotation pivot (Inherited from DisplayObject.)
| RotationStart()()()() | (Inherited from DisplayObject.)
| Scale | Scale The pivot point is the center of the component (Inherited from DisplayObject.)
| ScaleEnd()()()() | (Inherited from DisplayObject.)
| ScaleStart()()()() | (Inherited from DisplayObject.)
| SendToBack()()()() | Send to back
| ShowHandler | The event that fires when the component is shown (Inherited from DisplayObject.)
| SkipRender(Int32) | This is the approach of skipping the rendering process for N frames Needed by effects which start tweening one frame too late TODO: Investigate! (Inherited from DisplayObject.)
| Stage | Stage of which the component is ancestor Set by framework in stage propagation
| Tooltip | Tooltip (Inherited from DisplayObject.)
| ToString()()()() | (Overrides Object.ToString()()()().)
| Transform | (Inherited from DisplayObject.)
| TriggerEffect(String) | Note: this has to go here because the container should be able to run children effects And we don't want to use too much castinh in the code
| TriggerEffect(String, Object) | Note: this has to go here because the container should be able to run children effects And we don't want to use too much castinh in the code
| Visible | Is component Visible If not, isn't processed by draw routine (Inherited from DisplayObject.)
| Width | The Width of the component (Inherited from DisplayObject.)
| X | X coordinate (Inherited from DisplayObject.)
| Y | Y coordinate (Inherited from DisplayObject.)

Inheritance Hierarchy

Object
| EventDispatcher
|  | DisplayObject
|  |  | DisplayListMember
|  |  |  | DisplayObjectContainer

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)