Example usage for com.google.gwt.user.client.ui Button Button

List of usage examples for com.google.gwt.user.client.ui Button Button

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui Button Button.

Prototype

public Button() 

Source Link

Document

Creates a button with no caption.

Usage

From source file:com.dimdim.conference.ui.dialogues.client.FeedbackDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    sendButton = new Button();
    sendButton.setText(UIStrings.getSendLabel());
    sendButton.setStyleName("dm-popup-close-button");
    sendButton.addClickListener(this);
    v.addElement(sendButton);//from  w w  w.  jav a2  s  .co m

    return v;
}

From source file:com.dimdim.conference.ui.dialogues.client.InvitationPreviewDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    sendButton = new Button();
    sendButton.setText(UIStrings.getSendInviteLabel());
    sendButton.setStyleName("invitations-preview-send-button");
    sendButton.setTitle("Click here to send mail using Dimdim");
    sendButton.addClickListener(this);

    sendInviteLocal = new Button();
    sendInviteLocal.setText(UIStrings.getSendInviteLocalLabel());
    sendInviteLocal.setStyleName("invitations-preview-send-button");
    sendInviteLocal.setTitle("Click here to send mail using Local Client");
    sendInviteLocal.addClickListener(this);

    sendButton.setTabIndex(3);//www.  jav  a 2 s  .  c  o m
    sendInviteLocal.setTabIndex(4);

    v.addElement(sendButton);
    v.addElement(sendInviteLocal);

    return v;
}

From source file:com.dimdim.conference.ui.dialogues.client.SettingsDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    sendButton = new Button();
    sendButton.setText(UIStrings.getOKLabel());
    sendButton.setStyleName("dm-popup-close-button");
    sendButton.addClickListener(this);
    v.addElement(sendButton);/*w w w  . jav  a2s .  co  m*/

    return v;
}

From source file:com.dimdim.conference.ui.resources.client.EnterURLDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();
    applyButton = new Button();

    applyButton.setText(UIStrings.getShareLabel());
    applyButton.setStyleName("dm-popup-close-button");
    applyButton.addClickListener(this);
    v.addElement(applyButton);/*from  w  w w  .ja v a2 s  .co m*/

    return v;
}

From source file:com.dimdim.conference.ui.resources.client.ResourceControlDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();
    if (this.allowResourceControl) {
        deleteButton = new Button();
        deleteButton.setText(UIStrings.getOKLabel());
        deleteButton.setStyleName("dm-popup-close-button");
        deleteButton.addClickListener(this);
        v.addElement(deleteButton);//from   www  .  ja  v a  2  s . c  o m
        //         deleteButton.setEnabled(false);
    }
    return v;
}

From source file:com.dimdim.conference.ui.resources.client.ResourceDeleteDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    deleteButton = new Button();
    deleteButton.setText(UIStrings.getDeleteLabel());
    deleteButton.setStyleName("dm-popup-close-button");
    deleteButton.addClickListener(this);
    v.addElement(deleteButton);/*from  w  w  w .j  ava  2  s  . co  m*/

    return v;
}

From source file:com.dimdim.conference.ui.resources.client.ResourceRenameDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    renameButton = new Button();
    renameButton.setText(UIStrings.getRenameLabel());
    renameButton.setStyleName("dm-popup-close-button");
    renameButton.addClickListener(this);
    v.addElement(renameButton);//from   w w  w. j a v a 2  s . c o  m
    renameButton.setEnabled(false);

    return v;
}

From source file:com.dimdim.conference.ui.resources.client.SelectOnlyFileDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    applyButton = new Button();
    applyButton.setText(UIStrings.getShareLabel());
    applyButton.setStyleName("dm-popup-close-button");
    applyButton.addClickListener(this);
    v.addElement(applyButton);//from w w w .ja  v a  2  s .  co  m

    return v;
}

From source file:com.dimdim.conference.ui.user.client.ChangePictureDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    applyButton = new Button();
    applyButton.setText(UIStrings.getOKLabel());
    applyButton.setStyleName("dm-popup-close-button");
    applyButton.addClickListener(this);
    v.addElement(applyButton);//from w ww  .  j  a v  a  2s  .c o m

    //      saveButton = new Button();
    //      saveButton.setText("Save");
    //      saveButton.setStyleName("dm-popup-close-button");
    //      saveButton.addClickListener(this);
    //      v.addElement(saveButton);

    return v;
}

From source file:com.dimdim.conference.ui.user.client.SingleAttendeePermissionsControlDialog.java

License:Open Source License

protected Vector getFooterButtons() {
    Vector v = new Vector();

    {//w ww .  j  a v  a  2 s  .c o m
        applyButton = new Button();
        applyButton.setText(UIStrings.getOKLabel());
        applyButton.setStyleName("dm-popup-close-button");
        applyButton.addClickListener(this);
        v.addElement(applyButton);
    }

    return v;
}