1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
20 // This file was automatically generated by SWIG (http://www.swig.org).
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
27 namespace Tizen.NUI.UIComponents
31 using System.Runtime.InteropServices;
32 using Tizen.NUI.BaseComponents;
35 /// The Popup widget provides a configurable pop-up dialog with built-in layout of three main fields.
37 public class Popup : View
39 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
41 internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)
43 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
46 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
48 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
52 protected override void Dispose(DisposeTypes type)
59 if (type == DisposeTypes.Explicit)
62 //Release your own managed resources here.
63 //You should release all of your own disposable objects here.
67 //Release your own unmanaged resources here.
68 //You should not access any managed member here except static instance.
69 //because the execution order of Finalizes is non-deterministic.
71 if (swigCPtr.Handle != global::System.IntPtr.Zero)
76 NDalicPINVOKE.delete_Popup(swigCPtr);
78 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
88 /// Event arguments that passed via OutsideTouchedEvent
90 public class TouchedOutsideEventArgs : EventArgs
95 /// Event arguments that passed via ShowingEventArgs
97 public class ShowingEventArgs : EventArgs
102 /// Event arguments that passed via ShownEventArgs
104 public class ShownEventArgs : EventArgs
109 /// Event arguments that passed via HidingEventArgs
111 public class HidingEventArgs : EventArgs
116 /// Event arguments that passed via HiddenEventArgs
118 public class HiddenEventArgs : EventArgs
122 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
123 private delegate void OutsideTouchedEventCallbackDelegate();
124 private EventHandler<TouchedOutsideEventArgs> _popUpOutsideTouchedEventHandler;
125 private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
127 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
128 private delegate void ShowingEventCallbackDelegate();
129 private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;
130 private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
132 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
133 private delegate void ShownEventCallbackDelegate();
134 private EventHandler<ShownEventArgs> _popUpShownEventHandler;
135 private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
137 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
138 private delegate void HidingEventCallbackDelegate();
139 private EventHandler<HidingEventArgs> _popUpHidingEventHandler;
140 private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
142 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
143 private delegate void HiddenEventCallbackDelegate();
144 private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;
145 private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
148 /// Event is sent when user has touched outside of the Dialog.
150 public event EventHandler<TouchedOutsideEventArgs> TouchedOutside
154 if (_popUpOutsideTouchedEventHandler == null)
156 _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
157 OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
159 _popUpOutsideTouchedEventHandler += value;
163 _popUpOutsideTouchedEventHandler -= value;
164 if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
166 this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
171 // Callback for Popup OutsideTouchedSignal
172 private void OnOutsideTouched()
174 TouchedOutsideEventArgs e = new TouchedOutsideEventArgs();
176 if (_popUpOutsideTouchedEventHandler != null)
178 //here we send all data to user event handlers
179 _popUpOutsideTouchedEventHandler(this, e);
184 /// Event is sent when the Popup is starting to be shown.
186 public event EventHandler<ShowingEventArgs> Showing
190 if (_popUpShowingEventHandler == null)
192 _popUpShowingEventCallbackDelegate = (OnShowing);
193 ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
195 _popUpShowingEventHandler += value;
199 _popUpShowingEventHandler -= value;
200 if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
202 ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
207 // Callback for ShowingSignal
208 private void OnShowing()
210 ShowingEventArgs e = new ShowingEventArgs();
212 if (_popUpShowingEventHandler != null)
214 //here we send all data to user event handlers
215 _popUpShowingEventHandler(this, e);
221 /// Event is sent when the Popup has been fully displayed.
223 public event EventHandler<ShownEventArgs> Shown
227 if (_popUpShownEventHandler == null)
229 _popUpShownEventCallbackDelegate = (OnShown);
230 ShownSignal().Connect(_popUpShownEventCallbackDelegate);
232 _popUpShownEventHandler += value;
236 _popUpShownEventHandler -= value;
237 if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
239 ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
244 // Callback for ShownSignal
245 private void OnShown()
247 ShownEventArgs e = new ShownEventArgs();
249 if (_popUpShownEventHandler != null)
251 //here we send all data to user event handlers
252 _popUpShownEventHandler(this, e);
257 /// Event is sent when the Popup is starting to be hidden.
259 public event EventHandler<HidingEventArgs> Hiding
263 if (_popUpHidingEventHandler == null)
265 _popUpHidingEventCallbackDelegate = (OnHiding);
266 HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
268 _popUpHidingEventHandler += value;
272 _popUpHidingEventHandler -= value;
273 if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
275 HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
280 // Callback for HidingSignal
281 private void OnHiding()
283 HidingEventArgs e = new HidingEventArgs();
285 if (_popUpHidingEventHandler != null)
287 //here we send all data to user event handlers
288 _popUpHidingEventHandler(this, e);
293 /// Event is sent when the Popup has been completely hidden.
295 public event EventHandler<HiddenEventArgs> Hidden
299 if (_popUpHiddenEventHandler == null)
301 _popUpHiddenEventCallbackDelegate = (OnHidden);
302 HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
304 _popUpHiddenEventHandler += value;
308 _popUpHiddenEventHandler -= value;
309 if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
311 HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
316 // Callback for HiddenSignal
317 private void OnHidden()
319 HiddenEventArgs e = new HiddenEventArgs();
321 if (_popUpHiddenEventHandler != null)
323 //here we send all data to user event handlers
324 _popUpHiddenEventHandler(this, e);
328 internal class Property
330 internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
331 internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
332 internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
333 internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
334 internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
335 internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
336 internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
337 internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
338 internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
339 internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
340 internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
341 internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
342 internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
343 internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
344 internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
345 internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
346 internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
347 internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
348 internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
349 internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
350 internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
354 /// Create the Popup.
356 public Popup() : this(NDalicPINVOKE.Popup_New(), true)
358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
363 /// Sets a title for this Popup.
365 /// <param name="titleView">The actor to set a title</param>
366 public void SetTitle(View titleView)
368 NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
369 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
372 internal View GetTitle()
374 View ret = new View(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
375 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
380 /// Sets the content actor.
382 /// <param name="content">The actor to use</param>
383 public void SetContent(View content)
385 NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
386 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
389 internal View GetContent()
391 View ret = new View(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
397 /// Sets the actor to use for a footer in this Popup.
399 /// <param name="footer">The footer actor to be added to this Popup</param>
400 public void SetFooter(View footer)
402 NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
403 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
406 internal View GetFooter()
408 View ret = new View(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
414 /// Sets the display state of Popup.<br>
415 /// There are 4 total display states.<br>
416 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
418 /// The other two states are getable, but not setable and are there for consistency.<br>
420 /// | Value | Setting the state | Getting the state |<br>
421 /// |----------|--------------------------------|--------------------------------|<br>
422 /// | SHOWN | Show the popup | The popup is fully shown |<br>
423 /// | HIDDEN | Hide the popup | The popup is fully hidden |<br>
424 /// | SHOWING | | The popup is transitioning in |<br>
425 /// | HIDING | | The popup is transitioning out |<br>
427 /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
429 /// <param name="displayState">The desired display state to change to</param>
430 public void SetDisplayState(Popup.DisplayStateType displayState)
432 NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
436 internal Popup.DisplayStateType GetDisplayState()
438 Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
439 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
443 internal VoidSignal OutsideTouchedSignal()
445 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
446 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
450 internal VoidSignal ShowingSignal()
452 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
453 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
457 internal VoidSignal ShownSignal()
459 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
464 internal VoidSignal HidingSignal()
466 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
467 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
471 internal VoidSignal HiddenSignal()
473 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
474 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
479 /// The display states of the Popup.
481 public enum DisplayStateType
490 /// The animation mode within popup.<br>
491 /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
493 public enum AnimationModeType
502 /// Types of contextual layout.<br>
503 /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
504 /// NON_CONTEXTUAL disables any contextual positioning.<br>
506 public enum ContextualModeType
518 public PropertyMap Title
522 PropertyMap temp = new PropertyMap();
523 GetProperty(Popup.Property.TITLE).Get(temp);
528 SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
534 public PropertyMap Content
538 PropertyMap temp = new PropertyMap();
539 GetProperty(Popup.Property.CONTENT).Get(temp);
544 SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
550 public PropertyMap Footer
554 PropertyMap temp = new PropertyMap();
555 GetProperty(Popup.Property.FOOTER).Get(temp);
560 SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
564 /// Popup display state.
566 public DisplayStateType DisplayState
571 if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
573 NUILog.Error("DisplayState get error!");
578 return DisplayStateType.Showing;
580 return DisplayStateType.Shown;
582 return DisplayStateType.Hiding;
584 return DisplayStateType.Hidden;
586 return DisplayStateType.Hidden;
591 string valueToString = "";
594 case DisplayStateType.Showing:
596 valueToString = "SHOWING";
599 case DisplayStateType.Shown:
601 valueToString = "SHOWN";
604 case DisplayStateType.Hiding:
606 valueToString = "HIDING";
609 case DisplayStateType.Hidden:
611 valueToString = "HIDDEN";
616 valueToString = "HIDDEN";
620 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
624 /// Touch transparent.
626 public bool TouchTransparent
631 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(out temp);
636 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
640 /// Popup tail visibility.
642 public bool TailVisibility
647 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(out temp);
652 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
656 /// Popup tail position.
658 public Vector3 TailPosition
662 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
663 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
668 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
674 public ContextualModeType ContextualMode
679 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
681 NUILog.Error("ContextualMode get error!");
685 case "NON_CONTEXTUAL":
686 return ContextualModeType.NonContextual;
688 return ContextualModeType.Above;
690 return ContextualModeType.Rright;
692 return ContextualModeType.Below;
694 return ContextualModeType.Left;
696 return ContextualModeType.Below;
701 string valueToString = "";
704 case ContextualModeType.NonContextual:
706 valueToString = "NON_CONTEXTUAL";
709 case ContextualModeType.Above:
711 valueToString = "ABOVE";
714 case ContextualModeType.Rright:
716 valueToString = "RIGHT";
719 case ContextualModeType.Below:
721 valueToString = "BELOW";
724 case ContextualModeType.Left:
726 valueToString = "LEFT";
731 valueToString = "BELOW";
735 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
739 /// Animation duration.
741 public float AnimationDuration
746 GetProperty(Popup.Property.ANIMATION_DURATION).Get(out temp);
751 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
757 public AnimationModeType AnimationMode
762 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
764 NUILog.Error("AnimationMode get error!");
769 return AnimationModeType.None;
771 return AnimationModeType.Zoom;
773 return AnimationModeType.Fade;
775 return AnimationModeType.Custom;
777 return AnimationModeType.Fade;
782 string valueToString = "";
785 case AnimationModeType.None:
787 valueToString = "NONE";
790 case AnimationModeType.Zoom:
792 valueToString = "ZOOM";
795 case AnimationModeType.Fade:
797 valueToString = "FADE";
800 case AnimationModeType.Custom:
802 valueToString = "CUSTOM";
807 valueToString = "FADE";
811 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
817 public PropertyMap EntryAnimation
821 PropertyMap temp = new PropertyMap();
822 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
827 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
833 public PropertyMap ExitAnimation
837 PropertyMap temp = new PropertyMap();
838 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
843 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
849 public int AutoHideDelay
854 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(out temp);
859 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
865 public bool BackingEnabled
870 GetProperty(Popup.Property.BACKING_ENABLED).Get(out temp);
875 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
881 public Vector4 BackingColor
885 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
886 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
891 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
895 /// Background image.
897 public string PopupBackgroundImage
902 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
907 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
911 /// Background border.
913 public Rectangle PopupBackgroundBorder
917 Rectangle temp = new Rectangle(0, 0, 0, 0);
918 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
923 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
929 public string TailUpImage
934 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
939 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
945 public string TailDownImage
950 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
955 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
961 public string TailLeftImage
966 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
971 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
975 /// Tail right image.
977 public string TailRightImage
982 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
987 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));