本文整理了Java中javax.swing.JSlider.setMinimumSize()
方法的一些代码示例,展示了JSlider.setMinimumSize()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSlider.setMinimumSize()
方法的具体详情如下:
包路径:javax.swing.JSlider
类名称:JSlider
方法名:setMinimumSize
暂无
代码示例来源:origin: magefree/mage
sliderFontSize.setToolTipText("<HTML>The size of the font used to display table text.");
sliderFontSize.setBorder(javax.swing.BorderFactory.createEtchedBorder());
sliderFontSize.setMinimumSize(new java.awt.Dimension(150, 40));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
sliderChatFontSize.setToolTipText("<HTML>The size of the font used to display the chat text");
sliderChatFontSize.setBorder(javax.swing.BorderFactory.createEtchedBorder());
sliderChatFontSize.setMinimumSize(new java.awt.Dimension(150, 40));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
sliderDialogFont.setToolTipText("<HTML>The size of the font of messages and menues");
sliderDialogFont.setBorder(javax.swing.BorderFactory.createEtchedBorder());
sliderDialogFont.setMinimumSize(new java.awt.Dimension(150, 40));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
sliderEditorCardSize.setToolTipText("<HTML>The size of the card in editor and the picked zone of the draft panel");
sliderEditorCardSize.setBorder(javax.swing.BorderFactory.createEtchedBorder());
sliderEditorCardSize.setMinimumSize(new java.awt.Dimension(150, 40));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
sliderEditorCardOffset.setToolTipText("<HTML>The size of the card in editor and the picked zone of the draft panel");
sliderEditorCardOffset.setBorder(javax.swing.BorderFactory.createEtchedBorder());
sliderEditorCardOffset.setMinimumSize(new java.awt.Dimension(150, 40));
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
代码示例来源:origin: sc.fiji/TrakEM2_
Utils.invokeLater(new Runnable() { public void run() {
min_max.set(minslider.getValue(), maxslider.getValue());
frame.pack();
// after calling pack
Dimension dim = new Dimension(plot.getWidth(), 15);
minslider.setMinimumSize(dim);
maxslider.setMinimumSize(dim);
frame.pack(); // again
ij.gui.GUI.center(frame);
frame.setAlwaysOnTop(true);
frame.setVisible(true);
ContrastAdjustmentMode.super.initThreads();
}});
}
代码示例来源:origin: nl.cloudfarming.client/sensor-cropcircle
cropCircleSensorHeightSlider.setValue(0);
cropCircleSensorHeightSlider.setMaximumSize(new java.awt.Dimension(32767, 14));
cropCircleSensorHeightSlider.setMinimumSize(new java.awt.Dimension(36, 14));
cropCircleSensorHeightSlider.setPreferredSize(new java.awt.Dimension(200, 14));
代码示例来源:origin: nz.ac.waikato.cms.moa/moa
speedSlider.setMinimumSize(new java.awt.Dimension(160, 68));
speedSlider.setPreferredSize(new java.awt.Dimension(170, 68));
speedSlider.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
代码示例来源:origin: org.swinglabs/swingx-ws
zoomSlider.setPaintTicks(true);
zoomSlider.setSnapToTicks(true);
zoomSlider.setMinimumSize(new java.awt.Dimension(35, 100));
zoomSlider.setPreferredSize(new java.awt.Dimension(35, 190));
zoomSlider.addChangeListener(new javax.swing.event.ChangeListener() {
代码示例来源:origin: nz.ac.waikato.cms.moa/moa
speedSlider.setMinimumSize(new java.awt.Dimension(150, 68));
speedSlider.setPreferredSize(new java.awt.Dimension(160, 68));
speedSlider.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
代码示例来源:origin: org.jxmapviewer/jxmapviewer2
zoomSlider.setPaintTicks(true);
zoomSlider.setSnapToTicks(true);
zoomSlider.setMinimumSize(new java.awt.Dimension(35, 100));
zoomSlider.setPreferredSize(new java.awt.Dimension(35, 190));
zoomSlider.addChangeListener(new javax.swing.event.ChangeListener()
代码示例来源:origin: org.jdesktop.swingx/jxmapviewer2
zoomSlider.setPaintTicks(true);
zoomSlider.setSnapToTicks(true);
zoomSlider.setMinimumSize(new java.awt.Dimension(35, 100));
zoomSlider.setPreferredSize(new java.awt.Dimension(35, 190));
zoomSlider.addChangeListener(new javax.swing.event.ChangeListener()
代码示例来源:origin: jawi/ols
this.ratioSlider.setMinimumSize( size );
this.ratioSlider.setPreferredSize( size );
代码示例来源:origin: msteiger/jxmapviewer2
zoomSlider.setPaintTicks(true);
zoomSlider.setSnapToTicks(true);
zoomSlider.setMinimumSize(new java.awt.Dimension(35, 100));
zoomSlider.setPreferredSize(new java.awt.Dimension(35, 190));
zoomSlider.addChangeListener(new javax.swing.event.ChangeListener()
代码示例来源:origin: eu.mihosoft.vrl/vrl
this.input.setMinimumSize(new Dimension(100, height));
代码示例来源:origin: eu.mihosoft.vrl/vrl
this.improvedSlider.setMinimumSize(new Dimension(100, height));
代码示例来源:origin: sc.fiji/TrakEM2_
this.transp_slider.setMinimumSize(new Dimension(250, 20));
this.transp_slider.setMaximumSize(new Dimension(250, 20));
this.transp_slider.setPreferredSize(new Dimension(250, 20));
内容来源于网络,如有侵权,请联系作者删除!