Package net.sf.latexdraw.instruments

Examples of net.sf.latexdraw.instruments.DrawingPropertiesCustomiser


    if(progressBar!=null) progressBar.addToProgressBar(5);
  }


  protected void composeDrawingPropertiesToolbar(final LCanvas canvas) {
    final DrawingPropertiesCustomiser cust = frame.getDrawingPropCustomiser();
    drawingB = new WidgetMiniToolbar(LResources.DRAWING_PROP_ICON, WidgetMiniToolbar.LOCATION_SOUTH, canvas);
    drawingB.setToolTipText(LangTool.INSTANCE.getStringActions("ToolbarBuilder.1")); //$NON-NLS-1$
    widget.add(drawingB);

    cust.getTitleField().setColumns(15);
    cust.getLabelField().setColumns(10);

    UIBuilder.addSpinner(drawingB, cust.getScaleSpinner(), 65);
    drawingB.addComponent(new JLabel(LangTool.INSTANCE.getStringActions("ToolbarBuilder.2"))); //$NON-NLS-1$
    drawingB.addComponent(cust.getTitleField());
    drawingB.addComponent(new JLabel(LangTool.INSTANCE.getStringActions("ToolbarBuilder.3"))); //$NON-NLS-1$
    drawingB.addComponent(cust.getLabelField());
    drawingB.addComponent(cust.getMiddleHorizPosCB());
    drawingB.addComponent(cust.getPositionCB().getLabel());
    drawingB.addComponent(cust.getPositionCB());
    drawingB.addSeparator();
  }
View Full Code Here

TOP

Related Classes of net.sf.latexdraw.instruments.DrawingPropertiesCustomiser

Copyright © 2018 www.massapicom. 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.