@deafwave/osrs-botmaker-types 0.7.26 → 0.7.27
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.
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
/// <reference path="./util/function/Predicate.d.ts" />
|
|
37
37
|
/// <reference path="./io/FileWriter.d.ts" />
|
|
38
38
|
/// <reference path="./swing/Border.d.ts" />
|
|
39
|
+
/// <reference path="./swing/border/TitledBorder.d.ts" />
|
|
39
40
|
/// <reference path="./swing/BorderFactory.d.ts" />
|
|
40
41
|
/// <reference path="./swing/Box.d.ts" />
|
|
41
42
|
/// <reference path="./swing/BoxLayout.d.ts" />
|
|
@@ -26,7 +26,11 @@ declare namespace javax.swing {
|
|
|
26
26
|
highlight?: java.awt.Color,
|
|
27
27
|
shadow?: java.awt.Color,
|
|
28
28
|
): javax.swing.border.Border;
|
|
29
|
-
static createTitledBorder(title: string): javax.swing.border.
|
|
29
|
+
static createTitledBorder(title: string): javax.swing.border.TitledBorder;
|
|
30
|
+
static createTitledBorder(
|
|
31
|
+
border: javax.swing.border.Border,
|
|
32
|
+
title: string,
|
|
33
|
+
): javax.swing.border.TitledBorder;
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/// <reference path="../../Graphics.d.ts" />
|
|
2
|
+
/// <reference path="../../awt/Color.d.ts" />
|
|
3
|
+
/// <reference path="../../awt/Component.d.ts" />
|
|
4
|
+
/// <reference path="../../awt/Font.d.ts" />
|
|
5
|
+
/// <reference path="../../awt/Insets.d.ts" />
|
|
6
|
+
/// <reference path="../Border.d.ts" />
|
|
7
|
+
|
|
8
|
+
declare namespace javax.swing.border {
|
|
9
|
+
export class TitledBorder implements Border {
|
|
10
|
+
static DEFAULT_JUSTIFICATION: number;
|
|
11
|
+
static DEFAULT_POSITION: number;
|
|
12
|
+
static ABOVE_TOP: number;
|
|
13
|
+
static TOP: number;
|
|
14
|
+
static BELOW_TOP: number;
|
|
15
|
+
static ABOVE_BOTTOM: number;
|
|
16
|
+
static BOTTOM: number;
|
|
17
|
+
static BELOW_BOTTOM: number;
|
|
18
|
+
static LEADING: number;
|
|
19
|
+
static TRAILING: number;
|
|
20
|
+
|
|
21
|
+
constructor(title: string);
|
|
22
|
+
constructor(border: Border);
|
|
23
|
+
constructor(border: Border, title: string);
|
|
24
|
+
constructor(border: Border, title: string, titleJustification: number, titlePosition: number);
|
|
25
|
+
constructor(
|
|
26
|
+
border: Border,
|
|
27
|
+
title: string,
|
|
28
|
+
titleJustification: number,
|
|
29
|
+
titlePosition: number,
|
|
30
|
+
titleFont: java.awt.Font,
|
|
31
|
+
);
|
|
32
|
+
constructor(
|
|
33
|
+
border: Border,
|
|
34
|
+
title: string,
|
|
35
|
+
titleJustification: number,
|
|
36
|
+
titlePosition: number,
|
|
37
|
+
titleFont: java.awt.Font,
|
|
38
|
+
titleColor: java.awt.Color,
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
getBorder(): Border;
|
|
42
|
+
getTitle(): string;
|
|
43
|
+
getTitleJustification(): number;
|
|
44
|
+
getTitlePosition(): number;
|
|
45
|
+
getTitleFont(): java.awt.Font;
|
|
46
|
+
getTitleColor(): java.awt.Color;
|
|
47
|
+
|
|
48
|
+
setBorder(border: Border): void;
|
|
49
|
+
setTitle(title: string): void;
|
|
50
|
+
setTitleJustification(justification: number): void;
|
|
51
|
+
setTitlePosition(position: number): void;
|
|
52
|
+
setTitleFont(font: java.awt.Font): void;
|
|
53
|
+
setTitleColor(color: java.awt.Color): void;
|
|
54
|
+
|
|
55
|
+
getBorderInsets(c: java.awt.Component): java.awt.Insets;
|
|
56
|
+
isBorderOpaque(): boolean;
|
|
57
|
+
paintBorder(
|
|
58
|
+
c: java.awt.Component,
|
|
59
|
+
g: java.awt.Graphics,
|
|
60
|
+
x: number,
|
|
61
|
+
y: number,
|
|
62
|
+
width: number,
|
|
63
|
+
height: number,
|
|
64
|
+
): void;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
type TitledBorder = javax.swing.border.TitledBorder;
|