List of all Iphone and Blackberry Development codes in a one click Iphone,objective C,xcode,blackberry Development,iOS Development
Showing posts with label EyelidFieldManager. Show all posts
Showing posts with label EyelidFieldManager. Show all posts

Tuesday, February 5, 2013

Auto Hide field (EyelidFieldManager) in Blackberry

         EyelidFieldManager manager = new EyelidFieldManager();
         manager.addTop(new LabelField("Hello World"));
         HorizontalFieldManager buttonPanel = new HorizontalFieldManager(Field.FIELD_HCENTER |            Field.USE_ALL_WIDTH);
         buttonPanel.add(new ButtonField("Button 1"));
         buttonPanel.add(new ButtonField("Button 2"));
         manager.addBottom(buttonPanel);
         manager.setEyelidDisplayTime(3000);
         add(manager);
The fields will automatically hide after the specified time .