how can i change the background image of a field manager while focus change in blackberry java


HOME ยป Java

I'm a newbie to blackberry and creating menu with options. Each option contains a bitmap image and label.


This is the code for the first menu item:


hmf1_vfm1 = new VerticalFieldManager(Field.FIELD_HCENTER | VErrticalFieldManager.USE_ALL_WIDTH | VerticalFieldManager.FIELD_HCENTER | VerticalFieldManager.FOCUSABLE | Field.FOCUSABLE)
{
boolean isFocus;
//Bitmap bmp1 = Bitmap.getBitmapResource("mnu_tile1.png");
protected void sublayout(int maxWidth, int maxHeight)
{
super.sublayout(100,125);
setExtent(100,125);
}
protected void paint(Graphics g) {
try
{
//g

Related to : how can i change the background image of a field manager while focus change in blackberry java
Blackberry change color of child fields on horizontal manager focus
Java

I have an array of horizontal manager which consist of editfield, dropdown, label and a button. I place all these array of horizontalfield manager in one vertical manager to make a table like grid like structure. I can make it but I want to do that if we get focus on horizontal manager then all components in the horizontal manager should give a same color I don't know how to make this.


BlackBerry-how to change Manager background image?
Java

I am trying to create a tool bar with background color different from the screen background,
i am using the following code


getMainManager().add(mToolbarManager = new HorizontalFieldManager());
mToolbarManager.add(mBtn = new BitmapButtonField(mBmpNor, mBmpFoc,
mBmpAct));
Background bg = BackgroundFactory.createSolidBackground(Color.BLACK);
mToolbarManager.setBackground(bg);
mToolbarManager.add(mBtn = new BitmapButtonField(mBmpNor, mBmpFoc,
mBmpAct));


but it doesn't effect the background of toolbarmanager, while setting the background of mai

Button HorizontalFieldManager, change background image on focus?
Java

I want a horizontal field manager to act as a button, changing the background image on focus:



set background image for HorizontalFieldManager and it should change onfocus(select) and it should act as a button to push some other screen...


Under that HorizontalFieldManager I want to add an image and labels to display some information...


I want it exactly like in the screen shot, there are no edit fields..


how can i change the background image of a field manager while focus change in blackberry java
Java

I'm a newbie to blackberry and creating menu with options. Each option contains a bitmap image and label.


This is the code for the first menu item:


hmf1_vfm1 = new VerticalFieldManager(Field.FIELD_HCENTER | VErrticalFieldManager.USE_ALL_WIDTH | VerticalFieldManager.FIELD_HCENTER | VerticalFieldManager.FOCUSABLE | Field.FOCUSABLE)
{
boolean isFocus;
//Bitmap bmp1 = Bitmap.getBitmapResource("mnu_tile1.png");
protected void sublayout(int maxWidth, int maxHeight)
{
super.sublayout(100,125);
setExtent(100,125);
}
protected void paint(Graphics g) {
try
{
//g
Customize background image on BlackBerry field or manager
Java

How do I draw a background image with round corners and a shadow on a BlackBerry?


scrolling text field to change background image
Java
scrolling text field to change background image
 
I would love some help on this one. I have a scrollable text field of about 100 lines that are controlled with an up and down button. What I want to do is when you get to a certain point in the text, I want the background image to change. Can anyone suggest the best way to do this?
Thanks in advance!


HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .