equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-E0C21636-657A-413F-A905-A08608B60768" xml:lang="en"><title>Touch |
|
13 UI utilities API class structure</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The class structure consists of the class <codeph>CaknLongTapDetector</codeph>. |
|
15 The <codeph>MaknLongTapDetectorCallBack</codeph> interface is used for notifying |
|
16 clients about long tap events.</p> |
|
17 <fig id="GUID-9BC1E66F-A6EC-4976-BCDA-A80BD3B921DC"> |
|
18 <title>Touch UI utilities API class structure</title> |
|
19 <image href="GUID-5C1EC237-EBC3-474D-B58D-502B82911DCA_d0e80478_href.png" scale="70" placement="inline"/> |
|
20 </fig> |
|
21 <p>To receive long tap events in your application, implement the <codeph>MaknLongTapDetectorCallBack</codeph> interface. |
|
22 When the user makes long tap on the device screen, the framework sends events |
|
23 through this interface. Use the method <codeph>HandleLongTapEventL</codeph> to |
|
24 handle the events sent by the framework.</p> |
|
25 <p>You need to have a separate instance of this class for each client component |
|
26 using it to observe long taps in the component’s control area.</p> |
|
27 </conbody></concept> |