BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 02-19-2010, 06:25 PM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Resource Question, or how high is up?

Please Login to Remove!

I need to implement a grid of 14 cols by 4 rows. Each cell will contain a one or two characters. I also need some eye candy - colored cells, borders of different styles and colors, different fonts and text color, etc. The characters in the cells change over time based on user input, but this part of the ui does not have any input capability - it is purely for display. No selection of cells is needed.

At first I thought I would use a TableLayoutManager and a bunch of LabelFields. But then I got to thinking....56 cells => 56 LabelField objects have to be instantiated. I wonder if I just put in a LayoutManager of some kind and override paint to create all the boarders and text, would I end up with a better design from a CLDC standpoint? Fewer objects, but a more complicated paint method, so perhaps slower response for the user? Or, create a bitmap image of the grid and colors, and just paint the text, and those backgrounds that change color.

Without coding and testing all three approaches, I am curious if the more experienced folks would have a perspective on these design trade offs.

Thanks!

Mark
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

760mm/Hg Vacuum Glycerin Filled Gauge - Made in UK
$50.0
760mm/Hg Vacuum Glycerin Filled Gauge - Made in UK pictureNew Oca Film 7" Built In Vacuum Pump Laminating Machine Protective Film K
$511.62
New Oca Film 7Airtrol Vacuum Electric Switch F-4200-X4W Warranty $25
$25.0
Airtrol Vacuum Electric Switch F-4200-X4W   Warranty    $25 pictureDC 12V 5L/min 120kpa Mini Micro Vacuum Pump Negative Pressure Suction w/ Holder
$12.65
DC 12V 5L/min 120kpa Mini Micro Vacuum Pump Negative Pressure Suction w/ Holder picture^RARE^ ANTIQUE Ashcroft Vacuum Steam Gauge Steampunk Industrial 10" HUGE
$349.0
^RARE^ ANTIQUE Ashcroft Vacuum Steam Gauge Steampunk Industrial 10






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