Examples of MButton


Examples of net.sourceforge.marathon.component.MButton

    private void assertScriptEquals(String script) {
        assertEquals(script, listener.script);
    }

    private MButton getMButton(String dialogTitle, String name) {
        MButton button = new MButton(null, name, null, WindowMonitor.getInstance());
        button.setWindowId(new WindowIdMock(dialogTitle));
        return button;
    }
View Full Code Here

Examples of org.malai.swing.widget.MButton

   */
  public ExceptionsManager() {
    super();

    frame    = new BadaboomManager();
    exceptionB   = new MButton(LResources.ERR_ICON);
    setActivated(false);
    BadaboomCollector.INSTANCE.addHandler(this);
  }
View Full Code Here

Examples of org.malai.swing.widget.MButton

    plotB = new MToggleButton(LResources.PLOT_ICON);
    plotB.setMargin(LResources.INSET_BUTTON);
    plotB.setToolTipText(LangTool.INSTANCE.getStringActions("Instruments.5")); //$NON-NLS-1$

    codeB = new MButton(LResources.TEX_EDITOR_ICON);
    codeB.setMargin(LResources.INSET_BUTTON);
    codeB.setToolTipText(LangTool.INSTANCE.getString16("LaTeXDrawFrame.0")); //$NON-NLS-1$
  }
View Full Code Here

Examples of org.malai.swing.widget.MButton

  @Override
  protected void initialiseWidgets() {
    newMenu  = new MMenuItem(LResources.LABEL_NEW, KeyEvent.VK_N);
    newMenu.setIcon(LResources.NEW_ICON);

    newButton = new MButton(LResources.NEW_ICON);
    newButton.setMargin(LResources.INSET_BUTTON);
    newButton.setToolTipText(LangTool.INSTANCE.getStringActions("FileLoaderSaver.4")); //$NON-NLS-1$

    loadButton = new MButton(LResources.OPEN_ICON);
    loadButton.setMargin(LResources.INSET_BUTTON);
    loadButton.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.200")); //$NON-NLS-1$

    saveButton = new MButton(LResources.SAVE_ICON);
    saveButton.setMargin(LResources.INSET_BUTTON);
    saveButton.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.188")); //$NON-NLS-1$

    loadMenu = new MMenuItem(LABEL_OPEN, KeyEvent.VK_O);
    loadMenu.setIcon(LResources.OPEN_ICON);
View Full Code Here

Examples of org.malai.swing.widget.MButton

   */
  public InsertCodeDialog(final Instrument parentIns) {
    super(LangTool.INSTANCE.getString16("InsertPSTricksCodeFrame.0"), true); //$NON-NLS-1$
    setIconImage(LResources.INSERT_PST_ICON.getImage());
      final MPanel pButton = new MPanel(false, true);
      okButton = new MButton(LResources.LABEL_OK);
    cancelButton = new MButton(LResources.LABEL_CANCEL);
    parentIns.addEventable(pButton);
      editor = new JEditorPane();

      // The scroller of the editor
    final JScrollPane scrollPane = new JScrollPane(editor);
View Full Code Here

Examples of org.malai.swing.widget.MButton


  @Override
  protected void initialiseWidgets() {
    // Widgets initialisation
    pdfButton     = new MButton(LResources.PDF_ICON);
    exportMenu    = new MMenu(LABEL_EXPORT_AS, true);
    menuItemBMP    = new MMenuItem(LABEL_EXPORT_BMP, KeyEvent.VK_B);
    menuItemEPSLatex= new MMenuItem(LangTool.INSTANCE.getStringDialogFrame("Exporter.2"), KeyEvent.VK_S); //$NON-NLS-1$
    menuItemJPG    = new MMenuItem(LABEL_EXPORT_JPG, KeyEvent.VK_J);
    menuItemPDF    = new MMenuItem(LangTool.INSTANCE.getStringDialogFrame("Exporter.3"), KeyEvent.VK_F); //$NON-NLS-1$
View Full Code Here

Examples of org.malai.swing.widget.MButton

  }


  @Override
  protected void initialiseWidgets() {
       rotate90Button = new MButton(LResources.ROTATE_90_ICON);
       rotate90Button.setMargin(LResources.INSET_BUTTON);
       rotate90Button.setToolTipText(LangTool.INSTANCE.getString18("LaTeXDrawFrame.3")); //$NON-NLS-1$

       rotate180Button = new MButton(LResources.ROTATE_180_ICON);
       rotate180Button.setMargin(LResources.INSET_BUTTON);
       rotate180Button.setToolTipText(LangTool.INSTANCE.getString18("LaTeXDrawFrame.4")); //$NON-NLS-1$

       rotate270Button = new MButton(LResources.ROTATE_270_ICON);
       rotate270Button.setMargin(LResources.INSET_BUTTON);
       rotate270Button.setToolTipText(LangTool.INSTANCE.getString18("LaTeXDrawFrame.5")); //$NON-NLS-1$

       rotationField = new MSpinner(new MSpinner.MSpinnerNumberModel(0., -360., 360., 0.1), new JLabel(LangTool.INSTANCE.getStringDialogFrame("AbstractParametersFrame.7"))); //$NON-NLS-1$
       rotationField.setEditor(new JSpinner.NumberEditor(rotationField, "0.0"))//$NON-NLS-1$
View Full Code Here

Examples of org.malai.swing.widget.MButton

  }


  @Override
  protected void initialiseWidgets() {
    deleteB = new MButton(LResources.DEL_ICON);
    deleteB.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.139")); //$NON-NLS-1$
  }
View Full Code Here

Examples of org.malai.swing.widget.MButton

  }


  @Override
  protected void initialiseWidgets() {
    groupB = new MButton(LResources.JOIN_ICON);
    groupB.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.75")); //$NON-NLS-1$
    sepB   = new MButton(LResources.SEPARATE_ICON);
    sepB.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.76")); //$NON-NLS-1$
  }
View Full Code Here

Examples of org.malai.swing.widget.MButton

  }


  @Override
  protected void initialiseWidgets() {
        foregroundB = new MButton(LResources.FOREGROUND_ICON);
        foregroundB.setMargin(LResources.INSET_BUTTON);
        foregroundB.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.70")); //$NON-NLS-1$

        backgroundB = new MButton(LResources.BACKGROUND_ICON);
        backgroundB.setMargin(LResources.INSET_BUTTON);
        backgroundB.setToolTipText(LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.71")); //$NON-NLS-1$
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.