Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ba7785

Browse files
committed
incorporates j2sComboBox, j2sMenu, and J2sSlider into JQueryUI.java
1 parent80a2799 commit8ba7785

File tree

10 files changed

+2027
-19
lines changed

10 files changed

+2027
-19
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20240624194514
1+
20240627180429
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20240624194514
1+
20240627180429
Binary file not shown.
Binary file not shown.

‎sources/net.sf.j2s.java.core/src/swingjs/JSUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ static String processCSS(String css, String path) {
456456
returncss;
457457
}
458458

459-
staticStringprocessJS(Stringjs,StringresourceName) {
459+
publicstaticStringprocessJS(Stringjs,StringresourceName) {
460460
try {
461461
/**
462462
* @j2sNative

‎sources/net.sf.j2s.java.core/src/swingjs/api/js/J2SInterface.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ void readyCallback(String appId, String fullId, boolean isReady,
8080

8181
JSFunctiongetCaller();
8282

83+
void__makeSlider();
84+
85+
void__makeMenu();
86+
87+
void__makeComboBox();
88+
8389

8490
}
8591

‎sources/net.sf.j2s.java.core/src/swingjs/jquery/JQueryUI.java

Lines changed: 1995 additions & 10 deletions
Large diffs are not rendered by default.

‎sources/net.sf.j2s.java.core/src/swingjs/jquery/j2sComboBox.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
/**
2+
* THIS FILE IS FOR REFERENCE AND DEBUGGING ONLY
3+
*
4+
* NOTE: If you change this file, copy its contents into
5+
* its spot at the end of JQueryUI.java. Or, if you are testing
6+
* work here and set JQueryUI.loadResourceInternal = false only while testing,
7+
* then do that paste.
28
*
39
*@author Bob Hanson 2019.07.06
410
*
@@ -10,8 +16,6 @@
1016

1117
// BH 2023.11.02 fixed touch issue not causing click -- hidePopup needed a 1-ms timeout
1218

13-
// NOTE: If you change this file, then you need to touch and save JQueryUI.java, as only then
14-
// will the transpiler copy this file to site/swingjs/j2s/swingjs/jquery/
1519

1620
;(function($){
1721

‎sources/net.sf.j2s.java.core/src/swingjs/jquery/j2sMenu.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
/**
2+
* NOTE: If you change this file, copy its contents into
3+
* its spot at the end of JQueryUI.java. Or, if you are testing
4+
* work here and set JQueryUI.loadResourceInternal = false only while testing,
5+
* then do that paste.
6+
*
7+
8+
*/
9+
110
// BH 2023.06.06 no-move menu actuation; adds cursor:pointer to ui-j2s-menu to enable click; adds pointerdown/up;
211
// see https://stackoverflow.com/questions/3025348/how-do-i-use-jquery-for-click-event-in-iphone-web-application/4910962#4910962
312
// based on jQuery UI - v1.9.2 - 2012-12-17
4-
// NOTE: If you change this file, then you need to touch and save JQueryUI.java, as only then
5-
// will the transpiler copy this file to site/swingjs/j2s/swingjs/jquery/
613

714
;(function(Swing,$){
815

‎sources/net.sf.j2s.java.core/src/swingjs/jquery/j2sSlider.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
/**
2+
* NOTE: If you change this file, copy its contents into
3+
* its spot at the end of JQueryUI.java. Or, if you are testing
4+
* work here and set JQueryUI.loadResourceInternal = false only while testing,
5+
* then do that paste.
6+
*
7+
*/
8+
19
// based on jQuery UI - v1.9.2 - 2015-05-28
210

3-
//NOTE: If you change this file, then you need to touch and save JQueryUI.java, as only then
4-
//will the transpiler copy this file to site/swingjs/j2s/swingjs/jquery/
511

612
;(function($){
713

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp