Skip to main content

Cocos2D.CCFocusManager


Class CCFocusManager

Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll

public class CCFocusManager

Inheritance

objectCCFocusManager

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Fields

MenuScrollDelay

Scrolling focus delay used to slow down automatic focus changes when the dpad is held.

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

Scrolling focus delay used to slow down automatic focus changes when the dpad is held.

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

MenuScrollDelay

public static float MenuScrollDelay

Field Value

float

Properties

Enabled

When false, the focus will not traverse on the keyboard or dpad events.

public bool Enabled { get; set; }

Property Value

bool

Enabled

When false, the focus will not traverse on the keyboard or dpad events.

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

Instance

public static CCFocusManager Instance { get; }

Property Value

CCFocusManager

ItemWithFocus

Returns the item with the current focus. This test will create a copy of the master item list.

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

Returns the item with the current focus. This test will create a copy of the master item list.

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

ItemWithFocus

public ICCFocusable ItemWithFocus { get; }

Property Value

ICCFocusable

Methods

Add(ICCFocusable)

Adds the given node to the list of focus nodes. If the node has the focus, then it is given the current focused item status. If there is already a focused item and the given node has focus, the focus is disabled.

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

Adds the given node to the list of focus nodes. If the node has the focus, then it is given the current focused item status. If there is already a focused item and the given node has focus, the focus is disabled.

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

Add(ICCFocusable)

public void Add(ICCFocusable f)

Parameters

f ICCFocusable

FocusNextItem()

Scroll to the next item in the focus list.

public void FocusNextItem()

FocusNextItem()

Scroll to the next item in the focus list.

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusNextItem()

public void FocusNextItem()

FocusPreviousItem()

Scroll to the previous item in the focus list.

public void FocusPreviousItem()

FocusPreviousItem()

Scroll to the previous item in the focus list.

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

FocusPreviousItem()

public void FocusPreviousItem()

Remove(ICCFocusable)

Removes the given focusable node

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

Removes the given focusable node

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

Remove(ICCFocusable)

public void Remove(ICCFocusable f)

Parameters

f ICCFocusable

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

OnFocusChanged

public event CCFocusChangeDelegate OnFocusChanged

Event Type

CCFocusChangeDelegate

  • Fields
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
    • MenuScrollDelay
  • Properties
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Enabled
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • Instance
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
    • ItemWithFocus
  • Methods
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • Add(ICCFocusable)
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusNextItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • FocusPreviousItem()
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • Remove(ICCFocusable)
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged
    • OnFocusChanged