/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
namespace Dali
{
-
namespace Toolkit
{
-
-TextSelectionPopup TextSelectionPopup::New()
+TextSelectionPopup TextSelectionPopup::New(TextSelectionPopupCallbackInterface* callbackInterface)
{
- return Internal::TextSelectionPopup::New();
+ return Internal::TextSelectionPopup::New(callbackInterface);
}
TextSelectionPopup::TextSelectionPopup()
{
}
-TextSelectionPopup::TextSelectionPopup( const TextSelectionPopup& handle )
-: Control( handle )
+TextSelectionPopup::TextSelectionPopup(const TextSelectionPopup& handle) = default;
+
+TextSelectionPopup& TextSelectionPopup::operator=(const TextSelectionPopup& handle) = default;
+
+TextSelectionPopup::TextSelectionPopup(TextSelectionPopup&& handle) = default;
+
+TextSelectionPopup& TextSelectionPopup::operator=(TextSelectionPopup&& handle) = default;
+
+TextSelectionPopup::~TextSelectionPopup()
{
}
-TextSelectionPopup& TextSelectionPopup::operator=( const TextSelectionPopup& handle )
+TextSelectionPopup TextSelectionPopup::DownCast(BaseHandle handle)
{
- if( &handle != this )
- {
- Control::operator=( handle );
- }
- return *this;
+ return Control::DownCast<TextSelectionPopup, Internal::TextSelectionPopup>(handle);
}
-TextSelectionPopup::~TextSelectionPopup()
+void TextSelectionPopup::EnableButtons(Toolkit::TextSelectionPopup::Buttons buttonsToEnable)
{
+ GetImpl(*this).EnableButtons(buttonsToEnable);
}
-TextSelectionPopup TextSelectionPopup::DownCast( BaseHandle handle )
+void TextSelectionPopup::RaiseAbove(Actor target)
{
- return Control::DownCast<TextSelectionPopup, Internal::TextSelectionPopup>(handle);
+ GetImpl(*this).RaiseAbove(target);
}
-TextSelectionPopup::TextSelectionPopup( Internal::TextSelectionPopup& implementation )
-: Control(implementation)
+void TextSelectionPopup::ShowPopup()
{
+ GetImpl(*this).ShowPopup();
}
-TextSelectionPopup::TextSelectionPopup( Dali::Internal::CustomActor* internal )
-: Control( internal )
+void TextSelectionPopup::HidePopup()
{
- VerifyCustomActorPointer<Internal::TextSelectionPopup>( internal );
+ GetImpl(*this).HidePopup();
}
+void TextSelectionPopup::SetProperties(const Dali::Property::Map& properties)
+{
+ GetImpl(*this).SetProperties(properties);
+}
+
+void TextSelectionPopup::GetProperties(Dali::Property::Map& properties)
+{
+ GetImpl(*this).GetProperties(properties);
+}
+
+TextSelectionPopup::TextSelectionPopup(Internal::TextSelectionPopup& implementation)
+: Control(implementation)
+{
+}
+
+TextSelectionPopup::TextSelectionPopup(Dali::Internal::CustomActor* internal)
+: Control(internal)
+{
+ VerifyCustomActorPointer<Internal::TextSelectionPopup>(internal);
+}
} // namespace Toolkit