X Tutup
Skip to content

Commit c354153

Browse files
author
soheil_h_y
committed
1. Table keyboard navigation enhancement.
1 parent 6c67d7f commit c354153

File tree

5 files changed

+3749
-4385
lines changed

5 files changed

+3749
-4385
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/internal/xhtml/Element.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44

55

6-
public class Element {
76

7+
public class Element {
88
public ContentWindow contentWindow;
99

1010
public Element parentNode;
@@ -88,6 +88,8 @@ public class Element {
8888
public Object onblur;
8989

9090
public Object onhelp;
91+
92+
public String rel;
9193

9294
//private String
9395

@@ -128,6 +130,9 @@ public Element cloneNode(boolean flag){
128130
return new Element();
129131
}
130132

133+
public Element getElementById(String id){
134+
return new Element();
135+
}
131136
// public void write(String html) {
132137
//
133138
// }

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/internal/xhtml/document.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ public static Element[] getElementsByTagName(String tag) {
2222
public static Element createTextNode(String string) {
2323
return null;
2424
}
25+
26+
public static Element getElementById(String id){
27+
return new Element();
28+
}
29+
2530
public void write(String html) {
2631
// TODO Auto-generated method stub
2732

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Table.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ table, tr, td {
6565
float:right;
6666
}
6767

68+
.table-item-focus {
69+
background-color:#E8F2FE;
70+
}

0 commit comments

Comments
 (0)
X Tutup