@compass-framework/core 1.2.32 → 1.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/PopupWindow.d.ts +4 -0
- package/@types/RichTextEditor.d.ts +53 -0
- package/@types/WindowManager.d.ts +2 -0
- package/index.d.ts +1 -0
- package/package.json +1 -1
package/@types/PopupWindow.d.ts
CHANGED
|
@@ -52,8 +52,12 @@ export declare class PopupWindow implements IWindow {
|
|
|
52
52
|
|
|
53
53
|
public getResources(): Resources;
|
|
54
54
|
|
|
55
|
+
public getWindowLayoutType(): number;
|
|
56
|
+
|
|
55
57
|
public getLayoutParams(): WindowManager.LayoutParams;
|
|
56
58
|
|
|
59
|
+
public setWindowLayoutType(layoutType: number): void;
|
|
60
|
+
|
|
57
61
|
public setOnTouchListener(l: View.OnTouchListener): void;
|
|
58
62
|
|
|
59
63
|
public setOnGenericMotionListener(l: View.OnGenericMotionListener): void;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { FrameLayout } from "./FrameLayout";
|
|
2
|
+
|
|
3
|
+
export class RichTextEditor extends FrameLayout {
|
|
4
|
+
public static TEXT_DECORATION_UNDERLINE: number;
|
|
5
|
+
public static TEXT_DECORATION_DOUBLE: number;
|
|
6
|
+
public static TEXT_DECORATION_THROUGH: number;
|
|
7
|
+
|
|
8
|
+
public static TEXT_VERTICAL_CENTER: number;
|
|
9
|
+
public static TEXT_VERTICAL_TOP: number;
|
|
10
|
+
public static TEXT_VERTICAL_Bottom : number;
|
|
11
|
+
|
|
12
|
+
public static TEXT_HORIZONTAL_CENTER : number;
|
|
13
|
+
public static TEXT_HORIZONTAL_LEFT : number;
|
|
14
|
+
public static TEXT_HORIZONTAL_RIGHT: number;
|
|
15
|
+
|
|
16
|
+
public isOutsideTouchable():boolean;
|
|
17
|
+
|
|
18
|
+
public getTextSize(): number;
|
|
19
|
+
|
|
20
|
+
public getBold(): boolean;
|
|
21
|
+
|
|
22
|
+
public getColor(): number;
|
|
23
|
+
|
|
24
|
+
public getItalic(): boolean;
|
|
25
|
+
|
|
26
|
+
public getAlignmentHorizontal(): number;
|
|
27
|
+
|
|
28
|
+
public getAlignmentVertical(): number;
|
|
29
|
+
|
|
30
|
+
public clearBold(): void;
|
|
31
|
+
|
|
32
|
+
public clearItalic(): void;
|
|
33
|
+
|
|
34
|
+
public clearDecoration(style: number): void;
|
|
35
|
+
|
|
36
|
+
public setColor(color: number): void;
|
|
37
|
+
|
|
38
|
+
public setBold(): void;
|
|
39
|
+
|
|
40
|
+
public setTextSize(size: number): void;
|
|
41
|
+
|
|
42
|
+
public setItalic(): void;
|
|
43
|
+
|
|
44
|
+
public setOutsideTouchable(touchable: boolean):void;
|
|
45
|
+
|
|
46
|
+
public setDefaultTextSize(size: number): void;
|
|
47
|
+
|
|
48
|
+
public setDecoration(style: number): void;
|
|
49
|
+
|
|
50
|
+
public setAlignmentHorizontal(horizontal: number): void;
|
|
51
|
+
|
|
52
|
+
public setAlignmentVertical(vertical: number): void;
|
|
53
|
+
}
|
|
@@ -13,6 +13,8 @@ export declare class WindowManager {
|
|
|
13
13
|
|
|
14
14
|
export declare namespace WindowManager {
|
|
15
15
|
export class LayoutParams extends ViewGroup.LayoutParams {
|
|
16
|
+
public static TYPE_APPLICATION_ATTACHED_DIALOG: number;
|
|
17
|
+
|
|
16
18
|
public setAlpha(alpha: number): void;
|
|
17
19
|
|
|
18
20
|
public setGravity(gravity: number): void;
|
package/index.d.ts
CHANGED