Package org.malai.swing.widget.MSpinner

Examples of org.malai.swing.widget.MSpinner.MSpinnerNumberModel


    label.setIcon(LResources.LINES_FREEHAND_ICON);
    freeHandType.addItem(label);
    freeHandType.setPreferredSize(new Dimension(90, 30));
    freeHandType.setMaximumSize(new Dimension(90, 30));

    gapPoints = new MSpinner(new MSpinnerNumberModel(5, 1, 1000, 1), new JLabel(LangTool.INSTANCE.getString19("ParametersAkinPointsFrame.0"))); //$NON-NLS-1$

    open = new MCheckBox(LangTool.INSTANCE.getString19("ParametersAkinPointsFrame.1")); //$NON-NLS-1$
  }
View Full Code Here


  @Override
  protected void initialiseWidgets() {
    colourLabels  = new MColorButton(LangTool.INSTANCE.getStringActions("ShapeGrid.1"), new MButtonIcon(Color.BLACK)); //$NON-NLS-1$
    colourSubGrid = new MColorButton(LangTool.INSTANCE.getStringActions("ShapeGrid.2"), new MButtonIcon(Color.BLACK)); //$NON-NLS-1$
    gridWidth    = new MSpinner(new MSpinnerNumberModel(1., 0.1, 1000., 0.5), new JLabel(LangTool.INSTANCE.getStringDialogFrame("ParametersGridFrame.6"))); //$NON-NLS-1$
    subGridWidth  = new MSpinner(new MSpinnerNumberModel(1., 0.1, 1000., 0.5), new JLabel(LangTool.INSTANCE.getStringDialogFrame("ParametersGridFrame.7"))); //$NON-NLS-1$
    gridDots     = new MSpinner(new MSpinnerNumberModel(0, 0, 10000, 1), new JLabel(LangTool.INSTANCE.getStringDialogFrame("ParametersGridFrame.5"))); //$NON-NLS-1$
    subGridDots    = new MSpinner(new MSpinnerNumberModel(0, 0, 10000, 1), new JLabel(LangTool.INSTANCE.getStringDialogFrame("ParametersGridFrame.4"))); //$NON-NLS-1$
    subGridDiv    = new MSpinner(new MSpinnerNumberModel(1, 1, 100, 1), new JLabel(LangTool.INSTANCE.getStringDialogFrame("ParametersGridFrame.8"))); //$NON-NLS-1$
       labelsYInvertedCB = new MToggleButton(LResources.GRID_Y_LABEL);
       labelsYInvertedCB.setToolTipText(LangTool.INSTANCE.getStringActions("ShapeGrid.3")); //$NON-NLS-1$
       labelsXInvertedCB = new MToggleButton(LResources.GRID_X_LABEL);
       labelsXInvertedCB.setToolTipText(LangTool.INSTANCE.getStringActions("ShapeGrid.4")); //$NON-NLS-1$
  }
View Full Code Here

TOP

Related Classes of org.malai.swing.widget.MSpinner.MSpinnerNumberModel

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.