Package org.malai.swing.instrument.library

Examples of org.malai.swing.instrument.library.WidgetZoomer


    View2DTK.setFactory(new LViewsFactory());
    IDrawing drawing = ShapeFactory.createDrawing();
    MLayeredPane layers = new MLayeredPane(false, false);
    canvas     = new LCanvas(drawing);
    LMagneticGrid grid = new LMagneticGrid(canvas);
    WidgetZoomer zoomer = new WidgetZoomer(canvas, true, true, null, "", null, "", true); //$NON-NLS-1$ //$NON-NLS-2$
    instrument   = new Pencil(canvas, new TextSetter(layers), layers);
    instrument.addEventable(canvas);
  }
View Full Code Here


    catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
    try { scaleRulersCustomiser = new ScaleRulersCustomiser(xScaleRuler, yScaleRuler); }
    catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
    try { scroller    = new Scroller(canvas); }
    catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
    try { zoomer    = new WidgetZoomer(canvas, true, true,
              LResources.ZOOM_DEFAULT_ICON, LangTool.INSTANCE.getStringLaTeXDrawFrame("LaTeXDrawFrame.113"), //$NON-NLS-1$
              new Dimension(55, 28), LangTool.INSTANCE.getString19("ShortcutsFrame.30"), true); } //$NON-NLS-1$
    catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
    try { textSetter  = new TextSetter(layeredPanel); }
    catch(final IllegalArgumentException ex) {BadaboomCollector.INSTANCE.add(ex); }
View Full Code Here

TOP

Related Classes of org.malai.swing.instrument.library.WidgetZoomer

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.