BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 02-14-2007, 04:22 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question what is a Manager delegate

Please Login to Remove!

I was trying extend the Screen class in my app.but its constructor asks for Manaer delegate.could someone pls tell me what it is.maybe some example of it.

thanks
Meenal
Omni-Bridge
Offline  
Old 02-15-2007, 07:07 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Mumbai, India
Model: 8100
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Meenal,

When u extending a Screen class, u need to provide a Layout Manager in a Constructor; is a delegate manager for a Screen.

Simple Sample Code is here for ur understanding....

Code:
public class TempScreen extends Screen {
   public TempScreen() {
      super(new VerticalFieldManager()); //is a delegate manager for a screen.
      // Your Code
   }
   public void sublayout(int width, int height) {
      // Your Code
   }
   // Your Code
}
Hope this will help u..

--
Chetan Sawant
Offline  
Old 02-15-2007, 08:19 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Hi

Thanks ,i had tried that....but now i realise that the syntax was not right.
Meenal
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

2 NEW ATMEL CMOS FLASH MEMORY AT29C512-12PC
$14.99
2 NEW ATMEL CMOS FLASH MEMORY AT29C512-12PC picture1PCS USED SIEMENS 6ES5374-1FH21 6ES5 374-1FH21 MEMORY CARD, SHORT TYPE
$640.0
1PCS USED SIEMENS 6ES5374-1FH21 6ES5 374-1FH21 MEMORY CARD, SHORT TYPE  picture1GB flash memory chip, DDR memory, NT5TU64M16GG-BE memory particle BGA new
$5.0
1GB flash memory chip, DDR memory, NT5TU64M16GG-BE memory particle BGA new  picture1PCS Used Siemens 6ES5374-2KG21 6ES5 374-2KG21 MEMORY CARD LONG TYPE
$565.0
1PCS Used Siemens 6ES5374-2KG21 6ES5 374-2KG21 MEMORY CARD LONG TYPE pictureMITSUBISHI MEMORY MODULE MC433 MEM-A MC433 MC841 PL686 BN634A245G61 MC841
$95.0
MITSUBISHI MEMORY MODULE  MC433 MEM-A MC433 MC841 PL686 BN634A245G61  MC841 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.