Java Reference
In-Depth Information
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import java.util.Date;
import com.google.gwt.user.client.ui.HTMLTable;
import com.google.gwt.user.client.Window;
import com.google.gwt.i18n.client.NumberFormat;
public class TimeEntry implements EntryPoint {
private VerticalPanel mainPanel = new VerticalPanel();
private AbsolutePanel totalPanel = new AbsolutePanel();
private DockPanel navPanel = new DockPanel();
private HorizontalPanel topPanel = new HorizontalPanel();
private Label totalLabel = new Label("0.00");
private FlexTable flexEntryTable = new FlexTable();
private Image logo = new Image();
// track the current row and column in the grid
private int currentRow = 0;
private int currentColumn = 0;
private Date startDate;
public void onModuleLoad() {
logo.setUrl("images/appiriologo.png");
HorizontalPanel userPanel = new HorizontalPanel();
Anchor logOutLink = new Anchor("Sign Out");
Label separator = new Label("|");
separator.setStyleName("separator");
userPanel.add(new Label(" jeffdonthemic@gmail.c om"));
userPanel.add(separator);
userPanel.add(logOutLink);
topPanel.setWidth("1000px");
topPanel.add(logo);
topPanel.add(userPanel);
114
Search WWH ::




Custom Search