equal
deleted
inserted
replaced
929 * for the selected text. |
929 * for the selected text. |
930 * The text in a current selection range will be |
930 * The text in a current selection range will be |
931 * rendered using given color value. The default highlight background |
931 * rendered using given color value. The default highlight background |
932 * color is fully opaque black. |
932 * color is fully opaque black. |
933 * |
933 * |
|
934 * This method is not supported on S40 platform. |
|
935 * |
934 * @param color |
936 * @param color |
935 * the color |
937 * the color |
936 */ |
938 */ |
937 public void setHighlightBackgroundColor(int color) |
939 public void setHighlightBackgroundColor(int color) |
938 { |
940 { |
948 * Sets the highlight foreground color. This impacts text color for the |
950 * Sets the highlight foreground color. This impacts text color for the |
949 * selected text. |
951 * selected text. |
950 * The text in a current selection range will be rendered |
952 * The text in a current selection range will be rendered |
951 * using given color value. The default highlight foreground color is fully |
953 * using given color value. The default highlight foreground color is fully |
952 * opaque white. |
954 * opaque white. |
|
955 * |
|
956 * This method is not supported on S40 platform. |
953 * |
957 * |
954 * @param color |
958 * @param color |
955 * the color |
959 * the color |
956 */ |
960 */ |
957 public void setHighlightForegroundColor(int color) |
961 public void setHighlightForegroundColor(int color) |
1434 * Invalid (negative) handles indicate that their creation failed in the |
1438 * Invalid (negative) handles indicate that their creation failed in the |
1435 * first place. |
1439 * first place. |
1436 */ |
1440 */ |
1437 final void registeredFinalize() |
1441 final void registeredFinalize() |
1438 { |
1442 { |
1439 synchronized (iToolkit) |
1443 if (mFinalizer!=null) |
1440 { |
1444 { |
1441 if (iHandle > 0) |
1445 synchronized (iToolkit) |
1442 { |
1446 { |
1443 _dispose(getToolkitHandle(), iHandle); |
1447 if (iHandle > 0) |
1444 iHandle = 0; |
|
1445 |
|
1446 if (iParent != null) |
|
1447 { |
1448 { |
1448 // Remove from editor container. |
1449 iToolkitInvoker.toolkitDisposeObject(iToolkit,iHandle); |
1449 iEditorContainer.removeEditor(this, iParent); |
1450 iHandle = 0; |
|
1451 |
|
1452 if (iParent != null) |
|
1453 { |
|
1454 // Remove from editor container. |
|
1455 iEditorContainer.removeEditor(this, iParent); |
|
1456 } |
1450 } |
1457 } |
1451 } |
1458 } |
|
1459 mFinalizer = null; |
1452 } |
1460 } |
1453 } |
1461 } |
1454 |
1462 |
1455 /* |
1463 /* |
1456 * Returns the native side handle to the LCDUI Toolkit. |
1464 * Returns the native side handle to the LCDUI Toolkit. |