Class and Description |
---|
com.codename1.charts.compat.Canvas |
com.codename1.util.CStringBuilder
we will be moving to the proper string builder very soon
|
java.text.DateFormat
this class has many issues in iOS and other platforms, please use the L10NManager
|
com.codename1.ui.html.HTMLComponent
this component includes some customizability advantages but its probably better for 99% of the use
cases to use the WebBrowser Component from the Components package. That component works with the native
browser when applicable which is a far superior approach.
|
com.codename1.maker.MakerPlugin
this class is no longer supported and will be removed in an upcoming revision
|
com.codename1.ui.layouts.mig.MigLayout
this is currently an experimental integration and has known bugs
do not rely on this layout for production
|
com.codename1.charts.compat.Paint |
com.codename1.charts.compat.PathMeasure |
java.text.SimpleDateFormat
this class has many issues in iOS and other platforms, please use the L10NManager
|
com.codename1.io.gzip.ZStream
Not for public use in the future.
|
Method and Description |
---|
com.codename1.io.ConnectionRequest.addArgument(String, byte[])
use the version that accepts a string instead
|
com.codename1.ui.Font.addContrast(byte)
bitmap font functionality is now deprecated
|
com.codename1.ui.Tabs.addTab(Button, Component)
should use radio button as an argument
|
com.codename1.ui.Tabs.addTabsFocusListener(FocusListener)
use addSelectionListener instead
|
com.codename1.charts.renderers.XYMultipleSeriesRenderer.addTextLabel(double, String)
use addXTextLabel instead
|
com.codename1.io.Oauth2.authenticate()
use createAuthComponent or showAuthentication which work asynchronously and adapt better
to different platforms
|
com.codename1.ui.Font.clearBitmapCache()
bitmap font functionality is now deprecated
|
com.codename1.charts.renderers.XYMultipleSeriesRenderer.clearTextLabels()
use clearXTextLabels instead
|
com.codename1.util.MathUtil.copysign(double, double)
Please update your code to use copySign
|
com.codename1.components.FileEncodedImageAsync.create(String, byte[], int, int)
use the version that accepts a name and a placeholderImage
|
com.codename1.ui.Font.createBitmapFont(Image, int[], int[], String)
bitmap font functionality is now deprecated
|
com.codename1.ui.Font.createBitmapFont(String, Image, int[], int[], String)
bitmap font functionality is now deprecated
|
com.codename1.ui.Image.createImage(Object)
this method is deprecated as a warning! Don't use this method unless you actually
know what you are doing, if you are invoking this method without understanding the distinction
between native image and Codename One image then you are using the wrong method.
|
com.codename1.ui.Image.createIndexed(int, int, int[], byte[])
try to avoid using indexed images explicitly
|
com.codename1.media.MediaManager.createMediaRecorder(String)
see createMediaRecorder(String path, String mimeType) instead
|
com.codename1.ui.Display.createMediaRecorder(String) |
com.codename1.ui.EncodedImage.createMulti(int[], byte[][])
this method is meant for internal use only, it would be very expensive to use
this method for real applications. Its here for simulators and development purposes where
screen DPI/resolution can vary significantly in runtime (something that just doesn't happen on devices).
|
com.codename1.ui.tree.Tree.createNodeComponent(Object, int)
replaced with createNode, bindNodeListener and setNodeIcon
|
com.codename1.ui.plaf.Border.createRoundBorder(int, int)
the performance of round rect borders is REALLY slow, we recommend people use image borders
which are faster, more portable and better looking
|
com.codename1.ui.plaf.Border.createRoundBorder(int, int, boolean)
the performance of round rect borders is REALLY slow, we recommend people use image borders
which are faster, more portable and better looking
|
com.codename1.ui.plaf.Border.createRoundBorder(int, int, int)
the performance of round rect borders is REALLY slow, we recommend people use image borders
which are faster, more portable and better looking
|
com.codename1.ui.plaf.Border.createRoundBorder(int, int, int, boolean)
the performance of round rect borders is REALLY slow, we recommend people use image borders
which are faster, more portable and better looking
|
com.codename1.io.Util.encodeBody(byte[])
use encodeUrl(char[]) instead
|
com.codename1.io.Util.encodeUrl(byte[])
use encodeUrl(char[]) instead
|
com.codename1.ui.BrowserComponent.exposeInJavaScript(Object, String)
this doesn't work in most platforms see issue 459 for details, use the setBrowserNavigationCallback
method instead
|
java.lang.Class.forName(String)
don't use this method for anything important since class names are obfuscated on the device!
|
com.codename1.ui.TextArea.getAbsoluteAlignment()
this method is redundant and no longer used
|
com.codename1.components.OnOffSwitch.getActionListeners()
use the version that returns a collection
|
com.codename1.ui.Button.getActionListeners()
use getListeners instead
|
com.codename1.ui.list.ContainerList.getActionListeners()
use getListeners instead
|
com.codename1.ui.List.getActionListeners()
use getListeners instead
|
com.codename1.ui.Label.getAlignment()
use Style.getAlignment instead
|
com.codename1.ui.TextArea.getAlignment()
use Style.getAlignment instead
|
com.codename1.charts.renderers.XYMultipleSeriesRenderer.getBarsSpacing()
use getBarSpacing instead
|
com.codename1.ui.Font.getBitmapFont(String)
bitmap font functionality is now deprecated
|
java.lang.Class.getCanonicalName()
don't use this method for anything important since class names are obfuscated on the device!
|
com.codename1.ui.layouts.mig.UnitValue.getDefaultUnit() |
com.codename1.ui.plaf.Border.getEmpty()
use createEmpty instead
|
com.codename1.ui.plaf.Border.getFocusedInstance()
use the getSelectedStyle() method in the component class
|
com.codename1.payment.Purchase.getInAppPurchase(boolean)
use the version that takes no arguments
|
com.codename1.ui.Display.getInAppPurchase(boolean)
use the version that accepts no arguments, the physical goods purchase is always
manual payment if applicable
|
com.codename1.ui.Display.getKeyCode(int)
this method doesn't work properly across device and is mocked up here
mostly for the case of unit testing. Do not use it for anything other than that! Do
not rely on getKeyCode(GAME_*) == keyCodeFromKeyEvent, this will never actually happen!
|
com.codename1.charts.renderers.XYMultipleSeriesRenderer.getLabelFormat()
use getXLabelFormat and getYLabelFormat instead
|
com.codename1.facebook.Post.getLinkName()
use getName() instead
|
com.codename1.ui.util.EventDispatcher.getListenerVector()
use getListenerCollection instead, this method will now be VERY SLOW
|
com.codename1.location.Location.getLongtitude()
use getLongitude
|
com.codename1.media.MediaManager.getMediaRecorderingMimeType()
see getAvailableRecordingMimeTypes() instead
|
com.codename1.ui.Display.getMediaRecorderingMimeType()
see getAvailableRecordingMimeTypes() instead
|
java.lang.Class.getName()
don't use this method for anything important since class names are obfuscated on the device!
|
com.codename1.ui.plaf.UIManager.getResourceBundle()
this method uses the old resource bundle hashtable, use the new getBundle() method
|
com.codename1.io.ConnectionRequest.getResposeCode()
misspelled method name please use getResponseCode
|
java.lang.Class.getSimpleName()
don't use this method for anything important since class names are obfuscated on the device!
|
com.codename1.ui.Form.getTitleArea()
this method was exposed to allow some hacks, you are advised not to use it.
There are some alternatives such as command behavior (thru Display or the theme constants)
|
com.codename1.charts.renderers.DefaultRenderer.getZoomRate() |
com.codename1.ui.util.Effects.growShrink(Component, int)
use Component.growShrink instead
|
com.codename1.ui.Display.init(Object)
this method is invoked internally do not invoke it!
|
java.lang.Throwable.initCause(Throwable)
DO NOT USE THIS METHOD, its here just to get the compiler working and isn't intended for use
|
com.codename1.ui.Tabs.insertTab(Component, Component, int)
should use radio button as an argument
|
com.codename1.io.Util.instanceofByteArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.io.Util.instanceofDoubleArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.io.Util.instanceofFloatArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.io.Util.instanceofIntArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.io.Util.instanceofLongArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.io.Util.instanceofObjArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.io.Util.instanceofShortArray(Object)
this method serves as a temporary workaround for an XMLVM bug and will be removed
once the bug is fixed
|
com.codename1.ui.layouts.BorderLayout.isAbsoluteCenter()
use center behavior instead
|
com.codename1.ui.util.Resources.isAnimation(String)
animations are no longer distinguished from images in the resource file, use Image.isAnimation instead
|
com.codename1.charts.renderers.DefaultRenderer.isClickEnabled() |
com.codename1.ui.Component.isDragRegion(int, int)
replaced with getDragRegionStatus
|
com.codename1.ui.Form.isDragRegion(int, int)
this method was replaced by getDragRegionStatus
|
com.codename1.charts.renderers.DefaultRenderer.isExternalZoomEnabled() |
com.codename1.charts.renderers.XYSeriesRenderer.isFillBelowLine()
Use
XYSeriesRenderer.getFillOutsideLine() instead. |
com.codename1.ui.Display.isNativeCommands()
use getCommandBehavior() == Display.COMMAND_BEHAVIOR_NATIVE
|
com.codename1.charts.renderers.DefaultRenderer.isPanEnabled() |
com.codename1.ui.plaf.LookAndFeel.isTouchMenus()
use Display.getCommandBehavior() == Display.COMMAND_BEHAVIOR_TOUCH_MENU
|
com.codename1.charts.renderers.DefaultRenderer.isZoomButtonsVisible() |
com.codename1.charts.renderers.DefaultRenderer.isZoomEnabled() |
com.codename1.ui.layouts.mig.Grid.layout(int[], UnitValue, UnitValue, boolean, boolean)
since 5.0 Last boolean is not needed and is gotten from the new
net.miginfocom.layout.ComponentWrapper#getContentBias() instead; |
com.codename1.ui.Display.notifyStatusBar(String, String, String, boolean, boolean)
there is a new version of this method with a slightly improved
signature
|
com.codename1.ui.Display.numAlphaLevels()
this method isn't implemented in most modern devices
|
com.codename1.ui.Display.numColors()
this method isn't implemented in most modern devices
|
com.codename1.ui.Display.openImageGallery(ActionListener)
see openGallery instead
|
com.codename1.io.JSONParser.parse(Reader)
use the new parseJSON instead
|
com.codename1.ui.Dialog.placeButtonCommands(Command[])
this method shouldn't be invoked externally, it should have been private
|
com.codename1.ui.Display.registerPush(String, boolean)
use the version that doesn't take an id argument this argument is effectively ignored!
|
com.codename1.ui.Tabs.removeTabsFocusListener(FocusListener)
use addSelectionListener instead
|
com.codename1.util.MathUtil.scalbn(double, int)
Please update your code to use scalb
|
com.codename1.ui.Image.scale(int, int)
scale should return an image rather than modify the image in place
use scaled(int, int) instead
|
com.codename1.ui.layouts.BorderLayout.setAbsoluteCenter(boolean)
use center behavior instead
|
com.codename1.ui.Button.setAlignment(int)
use the Style alignment instead
|
com.codename1.ui.Label.setAlignment(int)
use Style.setAlignment instead
|
com.codename1.ui.TextArea.setAlignment(int)
use Style.setAlignment instead
|
com.codename1.ui.Form.setBgImage(Image)
Use the style directly
|
com.codename1.charts.renderers.DefaultRenderer.setClickEnabled(boolean) |
com.codename1.ui.layouts.mig.UnitValue.setDefaultUnit(int) |
com.codename1.charts.renderers.DefaultRenderer.setExternalZoomEnabled(boolean) |
com.codename1.charts.renderers.XYSeriesRenderer.setFillBelowLine(boolean)
Use
XYSeriesRenderer.addFillOutsideLine(FillOutsideLine) instead. |
com.codename1.charts.renderers.XYSeriesRenderer.setFillBelowLineColor(int)
Use FillOutsideLine.setColor instead
|
com.codename1.ui.Component.setFocus(boolean)
this method shouldn't be invoked by user code, use requestFocus() instead
|
com.codename1.ui.plaf.Border.setFocusedInstance(Border)
use the getSelectedStyle() method in the component class
|
com.codename1.ui.Component.setIsScrollVisible(boolean)
replaced by setScrollVisible to match the JavaBeans spec
|
com.codename1.ui.List.setListCellRenderer(ListCellRenderer)
use setRenderer instead, this method was deprecated to confirm
better to JavaBean convention of having the getter/setter with the same name
|
com.codename1.location.Location.setLongtitude(double)
use setLongitude
|
com.codename1.ui.Display.setNativeCommands(boolean)
use setCommandBehavior(Display.COMMAND_BEHAVIOR_NATIVE)
|
com.codename1.charts.renderers.DefaultRenderer.setPanEnabled(boolean) |
com.codename1.ui.Component.setPreferredH(int)
this method shouldn't be used, use sameWidth/Height, padding, margin or override calcPeferredSize
to reach similar functionality
|
com.codename1.ui.Component.setPreferredSize(Dimension)
this method shouldn't be used, use sameWidth/Height, padding, margin or override calcPeferredSize
to reach similar functionality
|
com.codename1.ui.Component.setPreferredW(int)
this method shouldn't be used, use sameWidth/Height, padding, margin or override calcPeferredSize
to reach similar functionality
|
com.codename1.ui.plaf.UIManager.setResourceBundle(Hashtable)
this method uses the old resource bundle hashtable, use the new setBundle() method
|
com.codename1.ui.util.Resources.setRuntimeMultiImageEnabled(boolean)
do not use this method!
|
com.codename1.ui.Form.setTitleStyle(Style)
this method doesn't take into consideration multiple styles
|
com.codename1.ui.plaf.LookAndFeel.setTouchMenus(boolean)
use Display.setCommandBehavior(Display.COMMAND_BEHAVIOR_TOUCH_MENU)
|
com.codename1.charts.renderers.DefaultRenderer.setZoomButtonsVisible(boolean) |
com.codename1.charts.renderers.DefaultRenderer.setZoomEnabled(boolean) |
com.codename1.charts.renderers.DefaultRenderer.setZoomRate(float) |
com.codename1.ui.Display.share(String)
use the method share that accepts an image and mime type
|
com.codename1.ui.Dialog.show(int, int, int, int, boolean)
use the version that doesn't accept the include title, the includeTitle
feature is no longer supported
|
com.codename1.ui.Dialog.show(int, int, int, int, boolean, boolean)
use showAtPosition, the includeTitle flag is no longer supported
|
com.codename1.ui.Dialog.showStetched(String, boolean)
due to typo use showStretched instead
|
com.codename1.ui.layouts.mig.AC.shrinkWeight(float)
in 3.7.2. Use
AC.shrink(float) instead. |
com.codename1.ui.layouts.mig.AC.shrinkWeight(float, int...)
in 3.7.2. Use
AC.shrink(float, int...) instead. |
com.codename1.util.StringUtil.tokenizeString(String, char)
use the tokenize() method instead
|
com.codename1.util.StringUtil.tokenizeString(String, String)
use the tokenize() method instead
|