namespace Dali {
-public class ViewImpl : CustomActorImpl {
+internal class ViewImpl : CustomActorImpl {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal ViewImpl(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ViewImpl_SWIGUpcast(cPtr), cMemoryOwn) {
return ret;
}
- public void SetKeyboardNavigationSupport(bool isSupported) {
+ public void SetFocusNavigationSupport(bool isSupported) {
NDalicPINVOKE.ViewImpl_SetKeyboardNavigationSupport(swigCPtr, isSupported);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public bool IsKeyboardNavigationSupported() {
+ public bool IsFocusNavigationSupported() {
bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardNavigationSupported(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public void SetKeyInputFocus() {
+ public void SetFocus() {
NDalicPINVOKE.ViewImpl_SetKeyInputFocus(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public bool HasKeyInputFocus() {
+ public bool HasFocus() {
bool ret = NDalicPINVOKE.ViewImpl_HasKeyInputFocus(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public void ClearKeyInputFocus() {
+ public void ClearFocus() {
NDalicPINVOKE.ViewImpl_ClearKeyInputFocus(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public void SetAsKeyboardFocusGroup(bool isFocusGroup) {
+ public void SetAsFocusGroup(bool isFocusGroup) {
NDalicPINVOKE.ViewImpl_SetAsKeyboardFocusGroup(swigCPtr, isFocusGroup);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public bool IsKeyboardFocusGroup() {
+ public bool IsFocusGroup() {
bool ret = NDalicPINVOKE.ViewImpl_IsKeyboardFocusGroup(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public void KeyboardEnter() {
+ public void FocusEnter() {
NDalicPINVOKE.ViewImpl_KeyboardEnter(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public ControlKeySignal KeyEventSignal() {
+ internal ControlKeySignal KeyEventSignal() {
ControlKeySignal ret = new ControlKeySignal(NDalicPINVOKE.ViewImpl_KeyEventSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public KeyInputFocusSignal KeyInputFocusGainedSignal() {
+ public KeyInputFocusSignal FocusGainedSignal() {
KeyInputFocusSignal ret = new KeyInputFocusSignal(NDalicPINVOKE.ViewImpl_KeyInputFocusGainedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- protected virtual new void OnChildAdd(Actor child) {
- if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, Actor.getCPtr(child));
+ protected virtual new void OnChildAdd(View child) {
+ if (SwigDerivedClassHasMethod("OnChildAdd", swigMethodTypes2)) NDalicPINVOKE.ViewImpl_OnChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildAdd(swigCPtr, View.getCPtr(child));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- protected virtual new void OnChildRemove(Actor child) {
- if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, Actor.getCPtr(child));
+ protected virtual new void OnChildRemove(View child) {
+ if (SwigDerivedClassHasMethod("OnChildRemove", swigMethodTypes3)) NDalicPINVOKE.ViewImpl_OnChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnChildRemove(swigCPtr, View.getCPtr(child));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return ret;
}
- protected virtual new float CalculateChildSize(Actor child, DimensionType dimension) {
- float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? NDalicPINVOKE.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child), (int)dimension) : NDalicPINVOKE.ViewImpl_CalculateChildSize(swigCPtr, Actor.getCPtr(child), (int)dimension));
+ protected virtual new float CalculateChildSize(View child, DimensionType dimension) {
+ float ret = (SwigDerivedClassHasMethod("CalculateChildSize", swigMethodTypes14) ? NDalicPINVOKE.ViewImpl_CalculateChildSizeSwigExplicitViewImpl(swigCPtr, View.getCPtr(child), (int)dimension) : NDalicPINVOKE.ViewImpl_CalculateChildSize(swigCPtr, View.getCPtr(child), (int)dimension));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public virtual void OnControlChildAdd(Actor child) {
- if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, Actor.getCPtr(child));
+ public virtual void OnControlChildAdd(View child) {
+ if (SwigDerivedClassHasMethod("OnControlChildAdd", swigMethodTypes22)) NDalicPINVOKE.ViewImpl_OnControlChildAddSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildAdd(swigCPtr, View.getCPtr(child));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public virtual void OnControlChildRemove(Actor child) {
- if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, Actor.getCPtr(child));
+ public virtual void OnControlChildRemove(View child) {
+ if (SwigDerivedClassHasMethod("OnControlChildRemove", swigMethodTypes23)) NDalicPINVOKE.ViewImpl_OnControlChildRemoveSwigExplicitViewImpl(swigCPtr, View.getCPtr(child)); else NDalicPINVOKE.ViewImpl_OnControlChildRemove(swigCPtr, View.getCPtr(child));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return ret;
}
- public virtual void OnKeyInputFocusGained() {
- if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusGained(swigCPtr);
+ public virtual void OnFocusGained() {
+ if (SwigDerivedClassHasMethod("OnFocusGained", swigMethodTypes30)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusGainedSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusGained(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public virtual void OnKeyInputFocusLost() {
- if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusLost(swigCPtr);
+ public virtual void OnFocusLost() {
+ if (SwigDerivedClassHasMethod("OnFocusLost", swigMethodTypes31)) NDalicPINVOKE.ViewImpl_OnKeyInputFocusLostSwigExplicitViewImpl(swigCPtr); else NDalicPINVOKE.ViewImpl_OnKeyInputFocusLost(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public virtual Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, View.KeyboardFocus.Direction direction, bool loopEnabled) {
- Actor ret = new Actor((SwigDerivedClassHasMethod("GetNextKeyboardFocusableActor", swigMethodTypes32) ? NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled) : NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, Actor.getCPtr(currentFocusedActor), (int)direction, loopEnabled)), true);
+ public virtual View GetNextFocusableView(View currentFocusedView, View.Focus.Direction direction, bool loopEnabled) {
+ View ret = new View((SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32) ? NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActorSwigExplicitViewImpl(swigCPtr, View.getCPtr(currentFocusedView), (int)direction, loopEnabled) : NDalicPINVOKE.ViewImpl_GetNextKeyboardFocusableActor(swigCPtr, View.getCPtr(currentFocusedView), (int)direction, loopEnabled)), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public virtual void OnKeyboardFocusChangeCommitted(Actor commitedFocusableActor) {
- if (SwigDerivedClassHasMethod("OnKeyboardFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, Actor.getCPtr(commitedFocusableActor)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, Actor.getCPtr(commitedFocusableActor));
+ public virtual void OnFocusChangeCommitted(View commitedFocusableView) {
+ if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33)) NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommittedSwigExplicitViewImpl(swigCPtr, View.getCPtr(commitedFocusableView)); else NDalicPINVOKE.ViewImpl_OnKeyboardFocusChangeCommitted(swigCPtr, View.getCPtr(commitedFocusableView));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public virtual bool OnKeyboardEnter() {
- bool ret = (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34) ? NDalicPINVOKE.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnKeyboardEnter(swigCPtr));
+ public virtual bool OnFocusEnter() {
+ bool ret = (SwigDerivedClassHasMethod("OnFocusEnter", swigMethodTypes34) ? NDalicPINVOKE.ViewImpl_OnKeyboardEnterSwigExplicitViewImpl(swigCPtr) : NDalicPINVOKE.ViewImpl_OnKeyboardEnter(swigCPtr));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
swigDelegate28 = new SwigDelegateViewImpl_28(SwigDirectorOnAccessibilityValueChange);
if (SwigDerivedClassHasMethod("OnAccessibilityZoom", swigMethodTypes29))
swigDelegate29 = new SwigDelegateViewImpl_29(SwigDirectorOnAccessibilityZoom);
- if (SwigDerivedClassHasMethod("OnKeyInputFocusGained", swigMethodTypes30))
- swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnKeyInputFocusGained);
- if (SwigDerivedClassHasMethod("OnKeyInputFocusLost", swigMethodTypes31))
- swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnKeyInputFocusLost);
- if (SwigDerivedClassHasMethod("GetNextKeyboardFocusableActor", swigMethodTypes32))
- swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextKeyboardFocusableActor);
- if (SwigDerivedClassHasMethod("OnKeyboardFocusChangeCommitted", swigMethodTypes33))
- swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnKeyboardFocusChangeCommitted);
- if (SwigDerivedClassHasMethod("OnKeyboardEnter", swigMethodTypes34))
- swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnKeyboardEnter);
+ if (SwigDerivedClassHasMethod("OnFocusGained", swigMethodTypes30))
+ swigDelegate30 = new SwigDelegateViewImpl_30(SwigDirectorOnFocusGained);
+ if (SwigDerivedClassHasMethod("OnFocusLost", swigMethodTypes31))
+ swigDelegate31 = new SwigDelegateViewImpl_31(SwigDirectorOnFocusLost);
+ if (SwigDerivedClassHasMethod("GetNextFocusableView", swigMethodTypes32))
+ swigDelegate32 = new SwigDelegateViewImpl_32(SwigDirectorGetNextFocusableView);
+ if (SwigDerivedClassHasMethod("OnFocusChangeCommitted", swigMethodTypes33))
+ swigDelegate33 = new SwigDelegateViewImpl_33(SwigDirectorOnFocusChangeCommitted);
+ if (SwigDerivedClassHasMethod("OnFocusEnter", swigMethodTypes34))
+ swigDelegate34 = new SwigDelegateViewImpl_34(SwigDirectorOnFocusEnter);
if (SwigDerivedClassHasMethod("OnPinch", swigMethodTypes35))
swigDelegate35 = new SwigDelegateViewImpl_35(SwigDirectorOnPinch);
if (SwigDerivedClassHasMethod("OnPan", swigMethodTypes36))
}
private void SwigDirectorOnChildAdd(global::System.IntPtr child) {
- OnChildAdd(new Actor(child, false));
+ OnChildAdd(new View(child, false));
}
private void SwigDirectorOnChildRemove(global::System.IntPtr child) {
- OnChildRemove(new Actor(child, false));
+ OnChildRemove(new View(child, false));
}
private void SwigDirectorOnPropertySet(int index, global::System.IntPtr propertyValue) {
}
private float SwigDirectorCalculateChildSize(global::System.IntPtr child, int dimension) {
- return CalculateChildSize(new Actor(child, false), (DimensionType)dimension);
+ return CalculateChildSize(new View(child, false), (DimensionType)dimension);
}
private float SwigDirectorGetHeightForWidth(float width) {
}
private void SwigDirectorOnControlChildAdd(global::System.IntPtr child) {
- OnControlChildAdd(new Actor(child, false));
+ OnControlChildAdd(new View(child, false));
}
private void SwigDirectorOnControlChildRemove(global::System.IntPtr child) {
- OnControlChildRemove(new Actor(child, false));
+ OnControlChildRemove(new View(child, false));
}
private void SwigDirectorOnStyleChange(global::System.IntPtr styleManager, int change) {
return OnAccessibilityZoom();
}
- private void SwigDirectorOnKeyInputFocusGained() {
- OnKeyInputFocusGained();
+ private void SwigDirectorOnFocusGained() {
+ OnFocusGained();
}
- private void SwigDirectorOnKeyInputFocusLost() {
- OnKeyInputFocusLost();
+ private void SwigDirectorOnFocusLost() {
+ OnFocusLost();
}
- private global::System.IntPtr SwigDirectorGetNextKeyboardFocusableActor(global::System.IntPtr currentFocusedActor, int direction, bool loopEnabled) {
- return Actor.getCPtr(GetNextKeyboardFocusableActor(new Actor(currentFocusedActor, true), (View.KeyboardFocus.Direction)direction, loopEnabled)).Handle;
+ private global::System.IntPtr SwigDirectorGetNextFocusableView(global::System.IntPtr currentFocusedView, int direction, bool loopEnabled) {
+ return View.getCPtr(GetNextFocusableView(new View(currentFocusedView, true), (View.Focus.Direction)direction, loopEnabled)).Handle;
}
- private void SwigDirectorOnKeyboardFocusChangeCommitted(global::System.IntPtr commitedFocusableActor) {
- OnKeyboardFocusChangeCommitted(new Actor(commitedFocusableActor, true));
+ private void SwigDirectorOnFocusChangeCommitted(global::System.IntPtr commitedFocusableView) {
+ OnFocusChangeCommitted(new View(commitedFocusableView, true));
}
- private bool SwigDirectorOnKeyboardEnter() {
- return OnKeyboardEnter();
+ private bool SwigDirectorOnFocusEnter() {
+ return OnFocusEnter();
}
private void SwigDirectorOnPinch(global::System.IntPtr pinch) {
private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(int) };
private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
- private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(Actor) };
- private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(Actor) };
+ private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { typeof(View) };
+ private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { typeof(View) };
private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(int), typeof(Property.Value) };
private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(Vector3) };
private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Animation), typeof(Vector3) };
private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { typeof(Vector2), typeof(RelayoutContainer) };
private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { typeof(ResizePolicyType), typeof(DimensionType) };
private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
- private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(Actor), typeof(DimensionType) };
+ private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { typeof(View), typeof(DimensionType) };
private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { typeof(float) };
private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { typeof(float) };
private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(DimensionType) };
private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { typeof(DimensionType) };
private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { typeof(float), typeof(DimensionType) };
private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
- private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(Actor) };
- private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(Actor) };
+ private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { typeof(View) };
+ private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(View) };
private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { typeof(StyleManager), typeof(StyleChangeType) };
private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { typeof(PanGesture) };
private static global::System.Type[] swigMethodTypes29 = new global::System.Type[] { };
private static global::System.Type[] swigMethodTypes30 = new global::System.Type[] { };
private static global::System.Type[] swigMethodTypes31 = new global::System.Type[] { };
- private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(Actor), typeof(View.KeyboardFocus.Direction), typeof(bool) };
- private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(Actor) };
+ private static global::System.Type[] swigMethodTypes32 = new global::System.Type[] { typeof(View), typeof(View.Focus.Direction), typeof(bool) };
+ private static global::System.Type[] swigMethodTypes33 = new global::System.Type[] { typeof(View) };
private static global::System.Type[] swigMethodTypes34 = new global::System.Type[] { };
private static global::System.Type[] swigMethodTypes35 = new global::System.Type[] { typeof(PinchGesture) };
private static global::System.Type[] swigMethodTypes36 = new global::System.Type[] { typeof(PanGesture) };