JavaScript를 사용하여 GWT 위젯을 만드는 방법이 있습니까? 예를 들면 아래와 같습니다. GWT는 자바 스크립트로 컴파일하기 때문에, 이것이 가능해야이 사람이 내가 GWT 위젯과 JavaScripting하지만, 사랑 ...이 이전을 시도하지 않았습니다 자바 :JavaScript를 사용하여 GWT 위젯을 만드는 방법이 있습니까?
function doSomething(){
layout = new FlexTable();
layout.spacing = 6;
cellFormatter = layout.getFlexCellFormatter();
// Add a title to the form
layout.setHTML(0, 0, 'form title');
cellFormatter.setColSpan(0, 0, 2);
cellFormatter.setHorizontalAlignment(0, 0, HasHorizontalAlignment.ALIGN_CENTER);
//......
// Wrap the content in a DecoratorPanel
decPanel = new DecoratorPanel();
decPanel.setWidget(layout);
}