}
}
- public class Property : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
-
- internal Property(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
-
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
-
- ~Property() {
- Dispose();
- }
-
- public virtual void Dispose() {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- NDalicPINVOKE.delete_Popup_Property(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- global::System.GC.SuppressFinalize(this);
- }
- }
-
- public Property() : this(NDalicPINVOKE.new_Popup_Property(), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
+ public class Property
+ {
public static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
public static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
public static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
public static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
public static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
public static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
-
}
public Popup () : this (NDalicPINVOKE.Popup_New(), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true) {
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- public Popup Assign(Popup handle) {
- Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
public new static Popup DownCast(BaseHandle handle) {
Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
return ret;
}
- public VoidSignal OutsideTouchedSignal() {
+ internal VoidSignal OutsideTouchedSignal() {
VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public VoidSignal ShowingSignal() {
+ internal VoidSignal ShowingSignal() {
VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public VoidSignal ShownSignal() {
+ internal VoidSignal ShownSignal() {
VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public VoidSignal HidingSignal() {
+ internal VoidSignal HidingSignal() {
VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public VoidSignal HiddenSignal() {
+ internal VoidSignal HiddenSignal() {
VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public enum PropertyRange {
- PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
- PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000
- }
-
public enum DisplayStateType {
SHOWING,
SHOWN,
get
{
bool temp = false;
- GetProperty( Popup.Property.TOUCH_TRANSPARENT).Get( ref temp );
+ GetProperty( Popup.Property.TOUCH_TRANSPARENT).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( Popup.Property.TAIL_VISIBILITY).Get( ref temp );
+ GetProperty( Popup.Property.TAIL_VISIBILITY).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( Popup.Property.ANIMATION_DURATION).Get( ref temp );
+ GetProperty( Popup.Property.ANIMATION_DURATION).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( Popup.Property.AUTO_HIDE_DELAY).Get( ref temp );
+ GetProperty( Popup.Property.AUTO_HIDE_DELAY).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( Popup.Property.BACKING_ENABLED).Get( ref temp );
+ GetProperty( Popup.Property.BACKING_ENABLED).Get( out temp );
return temp;
}
set