Tag: field

Tooltips class for BlackBerry

here is the copy of tooltips class for BlackBerry,
with 2 different approach.

first: [1]
Easy solution to create popup style tooltips on BlackBerry.
Extend TooltipScreen instead of the usual MainScreen, usage:

add(new ButtonField(“myButton”), “My Tooltip text”);
and the source:

import java.util.Timer;
import java.util.TimerTask;
import java.util.Vector;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.XYRect;
import net.rim.device.api.ui.container.MainScreen;

public class TooltipScreen extends MainScreen {

    TooltipScreen screen = this;
    boolean doRedraw = false;//prevent infinte redrawing
    Vector tooltips = new Vector();//vector to hold tooltip strings
    private Timer tooltipTimer = new Timer();
    private TimerTask tooltipTask;
    boolean alive = false;//is the tooltip alive? used to pop it after our timeout
    int count = 0;//used to calculate time tooltip is displayed
    //tooltip popup colours:
    int backgroundColour = 0xeeeeee;
    int borderColour = 0xaaaaaa;
    int fontColour = 0x666666;
    //the tooltip:
    String tooltip;
    int tooltipWidth;
    int yCoord;
    int xCoord;
    //region parameters:
    XYRect contentArea;
    int contentBottom;
    int contentRight;

    public TooltipScreen() {
        super();

        //when timeout reaches 100ms*20 ie. 2seconds set alive to false and redraw screen:
        tooltipTask = new TimerTask() {

            public void run() {
                if (alive) {
                    count++;
                    if (count == 20) {
                        alive = false;
                        invalidate();
                    }
                }
            }
        };

        tooltipTimer.scheduleAtFixedRate(tooltipTask, 100, 100);

    }

    //override add method adds an empty string to tooltip vector:
    public void add(Field field) {
        tooltips.addElement("");
        super.add(field);
    }

    //custom add method for fields with tooltip: add(myField, "myTooltip");
    public void add(Field field, String tooltip) {
        super.add(field);
        tooltips.addElement(tooltip);
    }

    public void setColours(int backgroundColour, int borderColour, int fontColour) {
        this.backgroundColour = backgroundColour;
        this.borderColour = borderColour;
        this.fontColour = fontColour;
    }

    //reset everything when user changes focus,
    //possibly needs logic to check field has actually changed (for listfields, objectchoicefields etc etc)
    protected boolean navigationMovement(int dx, int dy, int status, int time) {
        count = 0;
        alive = true;
        doRedraw = true;
        return super.navigationMovement(dx, dy, status, time);
    }

    protected void paint(Graphics graphics) {
        super.paint(graphics);
        if (alive) {
            Field focusField = getFieldWithFocus();
            tooltip = (String) tooltips.elementAt(screen.getFieldWithFocusIndex());

            //don't do anything outside the norm unless this field has a tooltip:
            if (!tooltip.equals("")) {
                //get the field content region, this may fall inside the field actual region/coordinates:
                contentArea = focusField.getContentRect();
                contentBottom = contentArea.y + contentArea.height;
                contentRight = contentArea.x + contentArea.width;

                //+4 to accomodate 2 pixel padding on either side:
                tooltipWidth = graphics.getFont().getAdvance(tooltip) + 4;

                yCoord = contentBottom - focusField.getManager().getVerticalScroll();
                //check the tooltip is being drawn fully inside the screen height:
                if (yCoord > (getHeight() - 30)) {
                    yCoord = getHeight() - 30;
                }

                //check the tooltip doesn't get drawn off the right side of the screen:
                if (contentRight + tooltipWidth < getWidth()) {
                    xCoord = contentRight;
                } else {
                    xCoord = getWidth() - tooltipWidth;
                }

                //draw the tooltip
                graphics.setColor(backgroundColour);
                graphics.fillRect(xCoord, yCoord, tooltipWidth, 30);
                graphics.setColor(borderColour);
                graphics.drawRect(xCoord, yCoord, tooltipWidth, 30);
                graphics.setColor(fontColour);
                graphics.drawText(tooltip, xCoord + 2, yCoord);
            }
        }
        //doRedraw logic prevents infinite loop
        if (doRedraw) {
            //System.out.println("redrawing screen: " + System.currentTimeMillis());
            screen.invalidate();
            doRedraw = false;
        }
    }
}

second: [2]

package ..;

/*

Display a 'Tooltip" (String) at a specified location for s specified time
This Tooltip can also be removed.
Note that in my testing, the display time is not consistent.

Following example shows it being added and removed using focus events.

ButtonField bf = new ButtonField("Test") {
    MyTooltip _tooltip;
    protected void onFocus(int direction) {
        if ( _tooltip != null ) {
            _tooltip.removeToolTip();
            _tooltip = null;
        }
        // Display tooltip at 50,50 for 5 seconds
        _tooltip = MyTooltip.addToolTip(UiApplication.getUiApplication(), "Press to test", 50, 50, 5);;
    }
    protected void onUnfocus() {
        if ( _tooltip != null ) {
            // We have displayed a Tooltip - remove it
            _tooltip.removeToolTip();
            _tooltip = null;
        }
    }
 };

*/

import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.Manager;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.Screen;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.container.VerticalFieldManager;
import net.rim.device.api.ui.container.PopupScreen;

class MyTooltip extends PopupScreen{
    int _x;
    int _y;
    TooltipThread _tooltipThread;

    private MyTooltip(Manager manager) {
        super(manager);
     }
    public void sublayout(int width, int height)    {
        super.sublayout(width,height);
        setPosition(_x,_y);
        System.out.println("Tooltip x: " + Integer.toString(_x) + ", y: " + Integer.toString(_y));
    }
    protected void applyTheme() {
        // Overriden to suppress Border etc.
    }
    public void removeToolTip() {
        if ( _tooltipThread != null ) {
            _tooltipThread.dismiss();
        }
    }
    private void display(UiApplication uiApp, int x, int y, int displayTime) {
        _x = x;
        _y = y;
        _tooltipThread = new TooltipThread(uiApp, this, displayTime);
        _tooltipThread.start();
    }

    public static MyTooltip addToolTip(UiApplication uiApp, String toolTipString, int x, int y, int displayTime) {
        VerticalFieldManager manager = new VerticalFieldManager(Manager.FIELD_VCENTER|Manager.NON_FOCUSABLE) {
            protected void paint(Graphics graphics) {
                graphics.setColor(0x00FFFFFF); // White
                graphics.fillRect(0,0,getWidth(),getHeight());
                graphics.setColor(0x00000000); // Black
                graphics.drawRect(0,0,getWidth(),getHeight());
                super.paint(graphics);
            }
        };
        MyTooltip toolTip = new MyTooltip(manager);
        LabelField label = new LabelField(' ' + toolTipString + ' ', LabelField.NON_FOCUSABLE);
        label.setFont(Font.getDefault().derive(Font.PLAIN, 16));
        toolTip.add(label);
        toolTip.display(uiApp, x, y, displayTime);
        return toolTip;
    }

    class TooltipThread extends Thread {

        Object _notifyObject = new Object(); // Used to allow user to dismiss this Tooltip
        PopupScreen _tooltip; // Screen we are going to display
        UiApplication _ourApplication; // access to pushGlobalScreen and dismissStatus from our Application
        int _displayTime; // in seconds

        public TooltipThread(UiApplication ourApplication, PopupScreen tooltip, int displayTime) {
            _tooltip = tooltip;
            _ourApplication = ourApplication;
            _displayTime = displayTime;
        }

        public void run() {
            _ourApplication.pushGlobalScreen(_tooltip, 999, false);
            synchronized(_notifyObject) {
                try {
                    _notifyObject.wait(_displayTime * 1000);
                } catch (Exception e) {
                }
            };
            _ourApplication.dismissStatus(_tooltip);
        }

        public void dismiss() {
            // notify the waiting object to stop the Thread waiting
            synchronized(_notifyObject) {
                _notifyObject.notify();
            }
        }

    }

}

[1] http://www.naviina.eu/wp/blackberry/390/
[2] http://supportforums.blackberry.com/t5/Java-Development/Problem-with-Tooltip/td-p/102847


Old and New at JDE 4.6

New classes in the BlackBerry Java Development Environment version 4.6.0

net.rim.blackberry.api.messagelist.ApplicationIcon
net.rim.blackberry.api.messagelist.ApplicationIndicator
net.rim.blackberry.api.messagelist.ApplicationIndicatorRegistry
net.rim.blackberry.api.messagelist.ApplicationMessageFolder
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties
net.rim.blackberry.api.mms.MMS
net.rim.blackberry.api.sms.SMS
net.rim.device.api.lbs.Locator
net.rim.device.api.lbs.LocatorException
net.rim.device.api.notification.NotificationProviderRegistry
net.rim.device.api.system.Sensor
net.rim.device.api.ui.decor.Background
net.rim.device.api.ui.decor.BackgroundFactory
net.rim.device.api.ui.decor.Border
net.rim.device.api.ui.decor.BorderFactory
net.rim.device.api.util.LongVector
net.rim.device.api.util.TimeZoneUtilities

New interfaces in the BlackBerry Java Development Environment version 4.6.0

net.rim.blackberry.api.messagelist.ApplicationMessage
net.rim.blackberry.api.messagelist.ApplicationMessage$Status
net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener
net.rim.blackberry.api.mms.SendListener
net.rim.blackberry.api.pdap.BlackBerryEventList
net.rim.blackberry.api.pdap.BlackBerryToDoList
net.rim.blackberry.api.pdap.ListChangeListener
net.rim.blackberry.api.sms.SendListener
net.rim.device.api.system.SensorListener

New fields in the BlackBerry Java Development Environment version 4.6.0

net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository.MENUITEM_MUSIC_SERVICE_ITEM
net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository.MENUITEM_VIDEO_SERVICE_ITEM
net.rim.blackberry.api.messagelist.ApplicationIndicator.VALUE_LIMIT
net.rim.blackberry.api.messagelist.ApplicationMessage$Status.DRAFT
net.rim.blackberry.api.messagelist.ApplicationMessage$Status.INCOMING
net.rim.blackberry.api.messagelist.ApplicationMessage$Status.OPENED
net.rim.blackberry.api.messagelist.ApplicationMessage$Status.OUTGOING
net.rim.blackberry.api.messagelist.ApplicationMessage$Status.UNOPENED
net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener.MESSAGE_DELETED
net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener.MESSAGE_MARKED_OPENED
net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener.MESSAGE_MARKED_UNOPENED
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_INPUT_SIMULATION
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_INTERNET
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_LOCATION_DATA
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_ORGANIZER_DATA
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_RECORDING
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_SECURITY_DATA
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_SERVER_NETWORK
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_THEMES
net.rim.device.api.applicationcontrol.ApplicationPermissions.PERMISSION_USB
net.rim.device.api.i18n.Locale.LOCALE_th
net.rim.device.api.io.http.HttpProtocolConstants.CONTENT_TYPE_APPLICATION_VND_OMA_LOC_SUPL_INIT
net.rim.device.api.lbs.Locator.REQUEST_TIMEOUT
net.rim.device.api.lbs.LocatorException.AMBIGUOUS_ADDRESS
net.rim.device.api.lbs.LocatorException.CITY_AMBIGUOUS_PLEASE_SPECIFY_STATE
net.rim.device.api.lbs.LocatorException.CITY_NOT_FOUND
net.rim.device.api.lbs.LocatorException.CITY_NOT_SPECIFIED
net.rim.device.api.lbs.LocatorException.CITY_POSTAL_CODE_MISMATCH
net.rim.device.api.lbs.LocatorException.DATA_UNAVAILABLE
net.rim.device.api.lbs.LocatorException.DATA_UNAVAILABLE_FOR_SPECIFIED_ADMIN_LEVEL
net.rim.device.api.lbs.LocatorException.INVALID_ADDRESS_NUMBER
net.rim.device.api.lbs.LocatorException.INVALID_ADMIN_LEVEL
net.rim.device.api.lbs.LocatorException.INVALID_COORDINATE
net.rim.device.api.lbs.LocatorException.INVALID_COUNTRY
net.rim.device.api.lbs.LocatorException.INVALID_POSTAL_CODE
net.rim.device.api.lbs.LocatorException.INVALID_REQUEST
net.rim.device.api.lbs.LocatorException.INVALID_STATE
net.rim.device.api.lbs.LocatorException.INVALID_STATE_AND_COUNTRY
net.rim.device.api.lbs.LocatorException.ITEM_NOT_FOUND
net.rim.device.api.lbs.LocatorException.MALFORMED_INTERSECTION_ADDRESS
net.rim.device.api.lbs.LocatorException.MAX_LIMIT_EXCEEDED
net.rim.device.api.lbs.LocatorException.REDIRECT
net.rim.device.api.lbs.LocatorException.SERVER_INTERNAL_ERROR
net.rim.device.api.lbs.LocatorException.SPECIFY_CITY
net.rim.device.api.lbs.LocatorException.SPECIFY_COUNTRY
net.rim.device.api.lbs.LocatorException.SPECIFY_STATE_PROVINCE
net.rim.device.api.lbs.LocatorException.STATE_POSTAL_CODE_MISMATCH
net.rim.device.api.lbs.LocatorException.TOO_MANY_ITEMS
net.rim.device.api.lbs.LocatorException.UNSUPPORTED_ADDRESS_TYPE
net.rim.device.api.lbs.LocatorException.UNSUPPORTED_CHARACTER
net.rim.device.api.system.CoverageInfo.COVERAGE_BIS_B
net.rim.device.api.system.Sensor.FLIP
net.rim.device.api.system.Sensor.HOLSTER
net.rim.device.api.system.Sensor.STATE_FLIP_CLOSED
net.rim.device.api.system.Sensor.STATE_FLIP_OPEN
net.rim.device.api.system.Sensor.STATE_IN_HOLSTER
net.rim.device.api.system.Sensor.STATE_OUT_OF_HOLSTER
net.rim.device.api.ui.Field.FIELD_LEADING
net.rim.device.api.ui.Field.FIELD_TRAILING
net.rim.device.api.ui.Field.VISUAL_STATE_ACTIVE
net.rim.device.api.ui.Field.VISUAL_STATE_DISABLED
net.rim.device.api.ui.Field.VISUAL_STATE_DISABLED_FOCUS
net.rim.device.api.ui.Field.VISUAL_STATE_FOCUS
net.rim.device.api.ui.Field.VISUAL_STATE_NORMAL
net.rim.device.api.ui.decor.Background CONSTRUCTOR
net.rim.device.api.ui.decor.Background.POSITION_X_CENTER
net.rim.device.api.ui.decor.Background.POSITION_X_INHERIT
net.rim.device.api.ui.decor.Background.POSITION_X_LEFT
net.rim.device.api.ui.decor.Background.POSITION_X_RIGHT FIELD
net.rim.device.api.ui.decor.Background.POSITION_Y_BOTTOM
net.rim.device.api.ui.decor.Background.POSITION_Y_CENTER
net.rim.device.api.ui.decor.Background.POSITION_Y_INHERIT
net.rim.device.api.ui.decor.Background.POSITION_Y_TOP
net.rim.device.api.ui.decor.Background.REPEAT_BOTH
net.rim.device.api.ui.decor.Background.REPEAT_HORIZONTAL
net.rim.device.api.ui.decor.Background.REPEAT_INHERIT
net.rim.device.api.ui.decor.Background.REPEAT_NONE
net.rim.device.api.ui.decor.Background.REPEAT_SCALE_TO_FIT
net.rim.device.api.ui.decor.Background.REPEAT_VERTICAL
net.rim.device.api.ui.decor.Border.STYLE_DASHED
net.rim.device.api.ui.decor.Border.STYLE_DOTTED
net.rim.device.api.ui.decor.Border.STYLE_FILLED
net.rim.device.api.ui.decor.Border.STYLE_SOLID
net.rim.device.api.ui.decor.Border.STYLE_TRANSPARENT
net.rim.device.api.util.LongVector.capacityIncrement
net.rim.device.api.util.LongVector.elementCount
net.rim.device.api.util.LongVector.elementData
net.rim.device.api.util.TimeZoneUtilities.LONG
net.rim.device.api.util.TimeZoneUtilities.SHORT

New methods in the Blackberry Java Development Environment version 4.6.0

net.rim.blackberry.api.mail.Transport.send ( net.rim.blackberry.api.mail.Message net.rim.blackberry.api.mail.ServiceConfiguration )
net.rim.blackberry.api.messagelist.ApplicationIcon ( net.rim.device.api.system.EncodedImage )
net.rim.blackberry.api.messagelist.ApplicationIcon ( net.rim.device.api.system.EncodedImage boolean )
net.rim.blackberry.api.messagelist.ApplicationIndicator.getValue ()
net.rim.blackberry.api.messagelist.ApplicationIndicator.isVisible ()
net.rim.blackberry.api.messagelist.ApplicationIndicator.set ( net.rim.blackberry.api.messagelist.ApplicationIcon int )
net.rim.blackberry.api.messagelist.ApplicationIndicator.setIcon ( net.rim.blackberry.api.messagelist.ApplicationIcon )
net.rim.blackberry.api.messagelist.ApplicationIndicator.setValue ( int )
net.rim.blackberry.api.messagelist.ApplicationIndicator.setVisible ( boolean )
net.rim.blackberry.api.messagelist.ApplicationIndicatorRegistry.getApplicationIndicator ()
net.rim.blackberry.api.messagelist.ApplicationIndicatorRegistry.getInstance ()
net.rim.blackberry.api.messagelist.ApplicationIndicatorRegistry.register ( net.rim.blackberry.api.messagelist.ApplicationIcon boolean boolean )
net.rim.blackberry.api.messagelist.ApplicationIndicatorRegistry.unregister ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getContact ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getCookie ( int )
net.rim.blackberry.api.messagelist.ApplicationMessage.getPreviewPicture ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getPreviewText ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getStatus ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getSubject ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getTimestamp ()
net.rim.blackberry.api.messagelist.ApplicationMessage.getType ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.addListener ( net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener )
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.addListener ( net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener int net.rim.device.api.system.ApplicationDescriptor )
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.fireElementAdded ( net.rim.blackberry.api.messagelist.ApplicationMessage )
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.fireElementRemoved ( net.rim.blackberry.api.messagelist.ApplicationMessage )
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.fireElementUpdated ( net.rim.blackberry.api.messagelist.ApplicationMessage net.rim.blackberry.api.messagelist.ApplicationMessage )
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.fireReset ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.getId ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.getMessages ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.getName ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.getSearchProperties ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.removeListener ( net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener )
net.rim.blackberry.api.messagelist.ApplicationMessageFolder.setSearchProperties ( net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderListener.actionPerformed ( int net.rim.blackberry.api.messagelist.ApplicationMessage[] net.rim.blackberry.api.messagelist.ApplicationMessageFolder )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.getApplicationFolder ( long )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.getRootFolderName ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.getInstance ()
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.registerFolder ( long java.lang.String net.rim.device.api.collection.ReadableList )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.registerFolder ( long java.lang.String net.rim.device.api.collection.ReadableList boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.registerMessageIcon ( int int net.rim.blackberry.api.messagelist.ApplicationIcon )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.registerMessageMenuItems ( int int net.rim.blackberry.api.menuitem.ApplicationMenuItem[] )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.registerMessageMenuItems ( int int net.rim.blackberry.api.menuitem.ApplicationMenuItem[] net.rim.device.api.system.ApplicationDescriptor )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.setBulkMarkOperationsSupport ( int int boolean boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.setRootFolderName ( java.lang.String )
net.rim.blackberry.api.messagelist.ApplicationMessageFolderRegistry.unregisterFolder ( long )
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties ( boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.isSearchByNameSupported ()
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.isSearchByPreviewTextSupported ()
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.isSearchByStatusSupported ()
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.isSearchBySubjectSupported ()
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.isSearchSupported ()
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.setSearchByNameSupported ( boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.setSearchByPreviewTextSupported ( boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.setSearchByStatusSupported ( boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.setSearchBySubjectSupported ( boolean )
net.rim.blackberry.api.messagelist.ApplicationMessageSearchProperties.setSearchSupported ( boolean )
net.rim.blackberry.api.mms.MMS.addSendListener ( net.rim.blackberry.api.mms.SendListener )
net.rim.blackberry.api.mms.MMS.removeSendListener ( net.rim.blackberry.api.mms.SendListener )
net.rim.blackberry.api.mms.SendListener.sendMessage ( javax.wireless.messaging.Message )
net.rim.blackberry.api.pdap.BlackBerryContactList.getByUID ( java.lang.String int )
net.rim.blackberry.api.pdap.BlackBerryContactList.getByUID ( java.lang.String )
net.rim.blackberry.api.pdap.BlackBerryEventList.getByUID ( java.lang.String )
net.rim.blackberry.api.pdap.BlackBerryMemoList.getByUID ( java.lang.String )
net.rim.blackberry.api.pdap.BlackBerryPIM.addListChangeListener ( net.rim.blackberry.api.pdap.ListChangeListener )
net.rim.blackberry.api.pdap.BlackBerryPIM.removeListChangeListener ( net.rim.blackberry.api.pdap.ListChangeListener )
net.rim.blackberry.api.pdap.BlackBerryToDoList.getByUID net.rim.blackberry.api.pdap.BlackBerryToDo ( java.lang.String )
net.rim.blackberry.api.pdap.ListChangeListener.defaultListChanged ( int )
net.rim.blackberry.api.sms.SMS.addSendListener ( net.rim.blackberry.api.sms.SendListener )
net.rim.blackberry.api.sms.SMS.removeSendListener ( net.rim.blackberry.api.sms.SendListener )
net.rim.blackberry.api.sms.SendListener.sendMessage ( javax.wireless.messaging.Message )
net.rim.device.api.browser.field.RenderingSession.getBrowserContent ( javax.microedition.io.HttpConnection java.io.InputStream net.rim.device.api.browser.field.RenderingApplication int )
net.rim.device.api.browser.field.RenderingSession.getBrowserContent ( javax.microedition.io.InputConnection java.io.InputStream java.lang.String net.rim.device.api.browser.field.RenderingApplication int )
net.rim.device.api.lbs.Locator.cancel ()
net.rim.device.api.lbs.Locator.geocode ( java.lang.String javax.microedition.location.Coordinates )
net.rim.device.api.lbs.Locator.geocode ( javax.microedition.location.AddressInfo javax.microedition.location.Coordinates )
net.rim.device.api.lbs.LocatorException ( int java.lang.String int )
net.rim.device.api.lbs.LocatorException.getErrorCode ()
net.rim.device.api.lbs.LocatorException.getHTTPCode ()
net.rim.device.api.servicebook.ServiceBook.getRecordByCidAndSid ( java.lang.String long boolean boolean )
net.rim.device.api.system.Bitmap.getRGB565 ( byte[] int int int int int int )
net.rim.device.api.system.Device.setTimeZone ( java.util.TimeZone )
net.rim.device.api.system.Sensor.addListener ( net.rim.device.api.system.Application net.rim.device.api.system.SensorListener int )
net.rim.device.api.system.Sensor.getState ( int )
net.rim.device.api.system.Sensor.isSupported ( int )
net.rim.device.api.system.Sensor.removeListener ( net.rim.device.api.system.Application net.rim.device.api.system.SensorListener )
net.rim.device.api.system.SensorListener.onSensorUpdate ( int int )
net.rim.device.api.ui.Field.getBackground net.rim.device.api.ui.decor.Background ( int )
net.rim.device.api.ui.Field.getBackground net.rim.device.api.ui.decor.Background ()
net.rim.device.api.ui.Field.getBorder net.rim.device.api.ui.decor.Border ( int )
net.rim.device.api.ui.Field.getBorder net.rim.device.api.ui.decor.Border ()
net.rim.device.api.ui.Field.getBorder ( net.rim.device.api.ui.XYEdges )
net.rim.device.api.ui.Field.getVisualState ()
net.rim.device.api.ui.Field.setBackground ( int net.rim.device.api.ui.decor.Background )
net.rim.device.api.ui.Field.setBackground ( net.rim.device.api.ui.decor.Background )
net.rim.device.api.ui.Field.setBorder ( int net.rim.device.api.ui.decor.Border )
net.rim.device.api.ui.Field.setBorder ( int net.rim.device.api.ui.decor.Border boolean )
net.rim.device.api.ui.Field.setBorder ( net.rim.device.api.ui.decor.Border )
net.rim.device.api.ui.Field.setBorder ( net.rim.device.api.ui.decor.Border boolean )
net.rim.device.api.ui.Field.setVisualState ( int )
net.rim.device.api.ui.XYPoint.reset ()
net.rim.device.api.ui.XYRect.reset ()
net.rim.device.api.ui.component.ActiveAutoTextEditField.invokeAction ( int )
net.rim.device.api.ui.component.ActiveRichTextField.invokeAction ( int )
net.rim.device.api.ui.decor.Background ()
net.rim.device.api.ui.decor.Background.draw ( net.rim.device.api.ui.Graphics net.rim.device.api.ui.XYRect )
net.rim.device.api.ui.decor.Background.isTransparent ()
net.rim.device.api.ui.decor.BackgroundFactory.createBitmapBackground ( net.rim.device.api.system.Bitmap )
net.rim.device.api.ui.decor.BackgroundFactory.createBitmapBackground ( net.rim.device.api.system.Bitmap int int int )
net.rim.device.api.ui.decor.BackgroundFactory.createLinearGradientBackground ( int int int int )
net.rim.device.api.ui.decor.BackgroundFactory.createSolidBackground ( int )
net.rim.device.api.ui.decor.BackgroundFactory.createSolidTransparentBackground ( int int )
net.rim.device.api.ui.decor.Border ( net.rim.device.api.ui.XYEdges int )
net.rim.device.api.ui.decor.Border.getBackground ()
net.rim.device.api.ui.decor.Border.getBottom int
net.rim.device.api.ui.decor.Border.getEdges ()
net.rim.device.api.ui.decor.Border.getEdges ( net.rim.device.api.ui.XYEdges )
net.rim.device.api.ui.decor.Border.getLeft ()
net.rim.device.api.ui.decor.Border.getRight ()
net.rim.device.api.ui.decor.Border.getStyle ()
net.rim.device.api.ui.decor.Border.getTop ()
net.rim.device.api.ui.decor.Border.isTransparent ()
net.rim.device.api.ui.decor.Border.paint ( net.rim.device.api.ui.Graphics net.rim.device.api.ui.XYRect )
net.rim.device.api.ui.decor.BorderFactory.createBevelBorder ( net.rim.device.api.ui.XYEdges )
net.rim.device.api.ui.decor.BorderFactory.createBevelBorder ( net.rim.device.api.ui.XYEdges net.rim.device.api.ui.XYEdges net.rim.device.api.ui.XYEdges )
net.rim.device.api.ui.decor.BorderFactory.createBitmapBorder ( net.rim.device.api.ui.XYEdges net.rim.device.api.system.Bitmap )
net.rim.device.api.ui.decor.BorderFactory.createBitmapBorder ( net.rim.device.api.ui.XYEdges net.rim.device.api.ui.XYEdges net.rim.device.api.system.Bitmap )
net.rim.device.api.ui.decor.BorderFactory.createRoundedBorder ( net.rim.device.api.ui.XYEdges )
net.rim.device.api.ui.decor.BorderFactory.createRoundedBorder ( net.rim.device.api.ui.XYEdges int )
net.rim.device.api.ui.decor.BorderFactory.createRoundedBorder ( net.rim.device.api.ui.XYEdges int int )
net.rim.device.api.ui.decor.BorderFactory.createSimpleBorder ( net.rim.device.api.ui.XYEdges )
net.rim.device.api.ui.decor.BorderFactory.createSimpleBorder ( net.rim.device.api.ui.XYEdges int )
net.rim.device.api.ui.decor.BorderFactory.createSimpleBorder ( net.rim.device.api.ui.XYEdges net.rim.device.api.ui.XYEdges int )
net.rim.device.api.ui.decor.BorderFactory.createSimpleBorder ( net.rim.device.api.ui.XYEdges net.rim.device.api.ui.XYEdges net.rim.device.api.ui.XYEdges )
net.rim.device.api.util.Arrays.copy ( boolean[] )
net.rim.device.api.util.Arrays.copy ( boolean[] int int )
net.rim.device.api.util.IntIntHashtable.keysToArray ( int[] )
net.rim.device.api.util.IntLongHashtable.keysToArray ( int[] )
net.rim.device.api.util.LongIntHashtable.keysToArray ( long[] )
net.rim.device.api.util.LongVector ( int )
net.rim.device.api.util.LongVector ( int int )
net.rim.device.api.util.LongVector ()
net.rim.device.api.util.LongVector.addElement ( long )
net.rim.device.api.util.LongVector.addElements ( long[] int int )
net.rim.device.api.util.LongVector.capacity ()
net.rim.device.api.util.LongVector.contains ( long )
net.rim.device.api.util.LongVector.copyInto ( int int long[] int )
net.rim.device.api.util.LongVector.elementAt ( int )
net.rim.device.api.util.LongVector.ensureCapacity ( int )
net.rim.device.api.util.LongVector.firstElement ()
net.rim.device.api.util.LongVector.getArray ()
net.rim.device.api.util.LongVector.indexOf ( long )
net.rim.device.api.util.LongVector.indexOf ( long int )
net.rim.device.api.util.LongVector.insertElementAt ( long int )
net.rim.device.api.util.LongVector.isEmpty ()
net.rim.device.api.util.LongVector.lastElement ()
net.rim.device.api.util.LongVector.lastIndexOf ( long )
net.rim.device.api.util.LongVector.lastIndexOf ( long int )
net.rim.device.api.util.LongVector.removeAllElements
net.rim.device.api.util.LongVector.removeElement ( long )
net.rim.device.api.util.LongVector.removeElementAt ( int )
net.rim.device.api.util.LongVector.setElementAt ( long int )
net.rim.device.api.util.LongVector.setSize ( int )
net.rim.device.api.util.LongVector.size ()
net.rim.device.api.util.LongVector.toArray ()
net.rim.device.api.util.LongVector.trimToSize ()
net.rim.device.api.util.MathUtilities.acos ( double )
net.rim.device.api.util.MathUtilities.asin ( double )
net.rim.device.api.util.MathUtilities.atan ( double )
net.rim.device.api.util.MathUtilities.atan2 ( double double )
net.rim.device.api.util.MathUtilities.ldexp ( double int )
net.rim.device.api.util.MathUtilities.pow ( double double )
net.rim.device.api.util.MathUtilities.round ( float )
net.rim.device.api.util.MathUtilities.round ( double )
net.rim.device.api.util.StringUtilities.toLowerCase ( java.lang.StringBuffer int int int )
net.rim.device.api.util.TimeZoneUtilities.getAvailableTimeZones ()
net.rim.device.api.util.TimeZoneUtilities.getDisplayName ( java.util.TimeZone int )
net.rim.device.api.util.TimeZoneUtilities.getDisplayNames ( int )

Removed fields in the Blackberry Java Development Environment version 4.6.0

net.rim.device.api.ui.component.TextField.NO_IM_SWITCHING

Removed methods in the BlackBerry Java Development Environment version 4.6.0

net.rim.device.api.ui.container.VerticalFieldManager.add ( net.rim.device.api.ui.Field )
net.rim.device.api.ui.container.VerticalFieldManager.delete ( net.rim.device.api.ui.Field )
net.rim.device.api.ui.container.VerticalFieldManager.deleteRange ( int int )
net.rim.device.api.ui.container.VerticalFieldManager.insert ( net.rim.device.api.ui.Field int )

[1] http://docs.blackberry.com/en/developers/deliverables/3825/


  • Copyright © 1996-2010 vaks.in. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress