Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
Dali::Internal::Adaptor::ClipboardEventNotifier Class Reference

This class listens to Clipboard events. More...

#include <clipboard-event-notifier-impl.h>

Inheritance diagram for Dali::Internal::Adaptor::ClipboardEventNotifier:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::Adaptor::ClipboardEventNotifier:
Collaboration graph
[legend]

Public Types

typedef
Dali::ClipboardEventNotifier::ClipboardEventSignalType 
ClipboardEventSignalType
 
typedef
Dali::ClipboardEventNotifier::ClipboardEventSignalType 
ClipboardEventSignalType
 

Public Member Functions

const std::string & GetContent () const
  More...
 
void SetContent (const std::string &content)
 Sets the selected content. More...
 
void ClearContent ()
 Clears the stored content. More...
 
void EmitContentSelectedSignal ()
 Called when content is selected in the clipboard. More...
 
ClipboardEventSignalTypeContentSelectedSignal ()
  More...
 
const std::string & GetContent () const
 
void SetContent (const std::string &content)
 
void ClearContent ()
 
void EmitContentSelectedSignal ()
 
ClipboardEventSignalTypeContentSelectedSignal ()
 
- Public Member Functions inherited from Dali::BaseObject
template<class T >
bool ConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, const T &functor)
 Connects a void() functor to a specified signal. More...
 
bool DoAction (const std::string &actionName, const Property::Map &attributes)
 Perform action on this object with the given action name and attributes. More...
 
const std::string & GetTypeName () const
 Returns the type name for the Handle. More...
 
bool GetTypeInfo (Dali::TypeInfo &info) const
 Returns the type info for the Handle. More...
 
bool DoConnectSignal (ConnectionTrackerInterface *connectionTracker, const std::string &signalName, FunctorDelegate *functorDelegate)
 Not intended for application developers. More...
 
- Public Member Functions inherited from Dali::RefObject
void Reference ()
 Increment the object's reference count. More...
 
void Unreference ()
 Decrement the object's reference count. More...
 
int ReferenceCount ()
 Retrieve the object's reference count. More...
 

Static Public Member Functions

static Dali::ClipboardEventNotifier New ()
 Create a ClipboardEventNotifier. More...
 
static Dali::ClipboardEventNotifier Get ()
  More...
 
static
Internal::Adaptor::ClipboardEventNotifier
GetImplementation (Dali::ClipboardEventNotifier &detector)
 
static const
Internal::Adaptor::ClipboardEventNotifier
GetImplementation (const Dali::ClipboardEventNotifier &detector)
 
static Dali::ClipboardEventNotifier New ()
 
static Dali::ClipboardEventNotifier Get ()
 
static
Internal::Adaptor::ClipboardEventNotifier
GetImplementation (Dali::ClipboardEventNotifier &detector)
 
static const
Internal::Adaptor::ClipboardEventNotifier
GetImplementation (const Dali::ClipboardEventNotifier &detector)
 

Private Member Functions

 ClipboardEventNotifier ()
 Constructor. More...
 
virtual ~ClipboardEventNotifier ()
 Destructor. More...
 
 ClipboardEventNotifier (const ClipboardEventNotifier &)
 
ClipboardEventNotifieroperator= (ClipboardEventNotifier &)
 
 ClipboardEventNotifier ()
 
virtual ~ClipboardEventNotifier ()
 
 ClipboardEventNotifier (const ClipboardEventNotifier &)
 
ClipboardEventNotifieroperator= (ClipboardEventNotifier &)
 

Private Attributes

std::string mContent
 The current selected content. More...
 
ClipboardEventSignalType mContentSelectedSignal
 

Static Private Attributes

static Dali::ClipboardEventNotifier mToolkitClipboardEventNotifier
 

Additional Inherited Members

- Protected Member Functions inherited from Dali::BaseObject
 BaseObject ()
 Default constructor. More...
 
virtual ~BaseObject ()
 A reference counted object may only be deleted by calling Unreference(). More...
 
void RegisterObject ()
 Registers the object as created with the Object registry. More...
 
void UnregisterObject ()
 Unregisters the object from Object registry. More...
 

Detailed Description

This class listens to Clipboard events.

Definition at line 41 of file clipboard-event-notifier-impl.h.

Member Typedef Documentation

Definition at line 37 of file toolkit-clipboard-event-notifier.cpp.

Definition at line 45 of file clipboard-event-notifier-impl.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::ClipboardEventNotifier::ClipboardEventNotifier ( )
private

Constructor.

Definition at line 91 of file clipboard-event-notifier-impl.cpp.

Referenced by New().

Here is the caller graph for this function:

Dali::Internal::Adaptor::ClipboardEventNotifier::~ClipboardEventNotifier ( )
privatevirtual

Destructor.

Definition at line 96 of file clipboard-event-notifier-impl.cpp.

Dali::Internal::Adaptor::ClipboardEventNotifier::ClipboardEventNotifier ( const ClipboardEventNotifier )
private
Dali::Internal::Adaptor::ClipboardEventNotifier::ClipboardEventNotifier ( )
private
virtual Dali::Internal::Adaptor::ClipboardEventNotifier::~ClipboardEventNotifier ( )
privatevirtual
Dali::Internal::Adaptor::ClipboardEventNotifier::ClipboardEventNotifier ( const ClipboardEventNotifier )
private

Member Function Documentation

void Dali::Internal::Adaptor::ClipboardEventNotifier::ClearContent ( )
void Dali::Internal::Adaptor::ClipboardEventNotifier::ClearContent ( )

Clears the stored content.

Definition at line 77 of file clipboard-event-notifier-impl.cpp.

References mContent.

Referenced by Dali::ClipboardEventNotifier::ClearContent().

Here is the caller graph for this function:

ClipboardEventSignalType& Dali::Internal::Adaptor::ClipboardEventNotifier::ContentSelectedSignal ( )
inline

Definition at line 50 of file toolkit-clipboard-event-notifier.cpp.

References mContentSelectedSignal.

ClipboardEventSignalType& Dali::Internal::Adaptor::ClipboardEventNotifier::ContentSelectedSignal ( )
inline

Definition at line 88 of file clipboard-event-notifier-impl.h.

References mContentSelectedSignal.

Referenced by Dali::ClipboardEventNotifier::ContentSelectedSignal().

Here is the caller graph for this function:

void Dali::Internal::Adaptor::ClipboardEventNotifier::EmitContentSelectedSignal ( )
void Dali::Internal::Adaptor::ClipboardEventNotifier::EmitContentSelectedSignal ( )

Called when content is selected in the clipboard.

Definition at line 82 of file clipboard-event-notifier-impl.cpp.

References mContentSelectedSignal.

Referenced by Dali::ClipboardEventNotifier::EmitContentSelectedSignal().

Here is the caller graph for this function:

static Dali::ClipboardEventNotifier Dali::Internal::Adaptor::ClipboardEventNotifier::Get ( )
static
Dali::ClipboardEventNotifier Dali::Internal::Adaptor::ClipboardEventNotifier::Get ( )
static

Definition at line 43 of file clipboard-event-notifier-impl.cpp.

References Dali::Internal::Adaptor::SingletonService::Get(), Dali::BaseHandle::GetObjectPtr(), Dali::SingletonService::GetSingleton(), New(), and Dali::SingletonService::Register().

Referenced by Dali::ClipboardEventNotifier::Get().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string& Dali::Internal::Adaptor::ClipboardEventNotifier::GetContent ( ) const
const std::string & Dali::Internal::Adaptor::ClipboardEventNotifier::GetContent ( ) const

Definition at line 67 of file clipboard-event-notifier-impl.cpp.

References mContent.

Referenced by Dali::ClipboardEventNotifier::GetContent().

Here is the caller graph for this function:

static Internal::Adaptor::ClipboardEventNotifier& Dali::Internal::Adaptor::ClipboardEventNotifier::GetImplementation ( Dali::ClipboardEventNotifier detector)
inlinestatic

Definition at line 75 of file toolkit-clipboard-event-notifier.cpp.

References DALI_ASSERT_ALWAYS, and Dali::BaseHandle::GetBaseObject().

Here is the call graph for this function:

static const Internal::Adaptor::ClipboardEventNotifier& Dali::Internal::Adaptor::ClipboardEventNotifier::GetImplementation ( const Dali::ClipboardEventNotifier detector)
inlinestatic

Definition at line 84 of file toolkit-clipboard-event-notifier.cpp.

References DALI_ASSERT_ALWAYS, and Dali::BaseHandle::GetBaseObject().

Here is the call graph for this function:

static Internal::Adaptor::ClipboardEventNotifier& Dali::Internal::Adaptor::ClipboardEventNotifier::GetImplementation ( Dali::ClipboardEventNotifier detector)
inlinestatic
static const Internal::Adaptor::ClipboardEventNotifier& Dali::Internal::Adaptor::ClipboardEventNotifier::GetImplementation ( const Dali::ClipboardEventNotifier detector)
inlinestatic

Definition at line 130 of file clipboard-event-notifier-impl.h.

References DALI_ASSERT_ALWAYS, and Dali::BaseHandle::GetBaseObject().

Here is the call graph for this function:

static Dali::ClipboardEventNotifier Dali::Internal::Adaptor::ClipboardEventNotifier::New ( )
static
Dali::ClipboardEventNotifier Dali::Internal::Adaptor::ClipboardEventNotifier::New ( )
static

Create a ClipboardEventNotifier.

Returns
A newly allocated clipboard-event-notifier.

Definition at line 36 of file clipboard-event-notifier-impl.cpp.

References ClipboardEventNotifier().

Referenced by Get().

Here is the call graph for this function:

Here is the caller graph for this function:

ClipboardEventNotifier& Dali::Internal::Adaptor::ClipboardEventNotifier::operator= ( ClipboardEventNotifier )
private
ClipboardEventNotifier& Dali::Internal::Adaptor::ClipboardEventNotifier::operator= ( ClipboardEventNotifier )
private
void Dali::Internal::Adaptor::ClipboardEventNotifier::SetContent ( const std::string &  content)
void Dali::Internal::Adaptor::ClipboardEventNotifier::SetContent ( const std::string &  content)

Sets the selected content.

Parameters
[in]contentA string that represents the content that has been selected.

Definition at line 72 of file clipboard-event-notifier-impl.cpp.

References mContent.

Referenced by Dali::ClipboardEventNotifier::SetContent().

Here is the caller graph for this function:

Member Data Documentation

std::string Dali::Internal::Adaptor::ClipboardEventNotifier::mContent
private

The current selected content.

Definition at line 113 of file clipboard-event-notifier-impl.h.

Referenced by ClearContent(), GetContent(), and SetContent().

ClipboardEventSignalType Dali::Internal::Adaptor::ClipboardEventNotifier::mContentSelectedSignal
private
Dali::ClipboardEventNotifier Dali::Internal::Adaptor::ClipboardEventNotifier::mToolkitClipboardEventNotifier
staticprivate

Definition at line 69 of file toolkit-clipboard-event-notifier.cpp.


The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali