本文整理了Java中javax.swing.JSpinner.setFocusable()
方法的一些代码示例,展示了JSpinner.setFocusable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSpinner.setFocusable()
方法的具体详情如下:
包路径:javax.swing.JSpinner
类名称:JSpinner
方法名:setFocusable
暂无
代码示例来源:origin: org.fudaa.framework.ebli/ebli-3d
public ZControleEchelle() {
spinner_ = new JSpinner();
spinner_.setToolTipText(EbliLib.getS("Modifier l'chelle des z"));
final SpinnerModel model = new SpinnerNumberModel(1, // initial value
1, // min
1000, // max
1);
spinner_.setModel(model);
spinner_.getModel().addChangeListener(this);
spinner_.setRequestFocusEnabled(false);
spinner_.setFocusable(false);
}
代码示例来源:origin: MovingBlocks/box2d-editor
gridGapSpinner.setFocusable(false);
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* Creates and returns the JSpinner used for year navigation.
*
* @return
*/
private JSpinner createSpinner() {
JSpinner spinner = new JSpinner();
spinner.setFocusable(false);
spinner.setBorder(BorderFactory.createEmptyBorder());
NumberEditor editor = new NumberEditor(spinner);
editor.getFormat().setGroupingUsed(false);
editor.getTextField().setFocusable(false);
spinner.setEditor(editor);
return spinner;
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* Creates and returns the JSpinner used for year navigation.
*
* @return
*/
private JSpinner createSpinner() {
JSpinner spinner = new JSpinner();
spinner.setFocusable(false);
spinner.setBorder(BorderFactory.createEmptyBorder());
NumberEditor editor = new NumberEditor(spinner);
editor.getFormat().setGroupingUsed(false);
editor.getTextField().setFocusable(false);
spinner.setEditor(editor);
return spinner;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* Creates and returns the JSpinner used for year navigation.
*
* @return
*/
private JSpinner createSpinner() {
JSpinner spinner = new JSpinner();
spinner.setFocusable(false);
spinner.setBorder(BorderFactory.createEmptyBorder());
NumberEditor editor = new NumberEditor(spinner);
editor.getFormat().setGroupingUsed(false);
editor.getTextField().setFocusable(false);
spinner.setEditor(editor);
return spinner;
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
/**
* Creates and returns the JSpinner used for year navigation.
*
* @return
*/
private JSpinner createSpinner() {
JSpinner spinner = new JSpinner();
spinner.setFocusable(false);
spinner.setBorder(BorderFactory.createEmptyBorder());
NumberEditor editor = new NumberEditor(spinner);
editor.getFormat().setGroupingUsed(false);
editor.getTextField().setFocusable(false);
spinner.setEditor(editor);
return spinner;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* Creates and returns the JSpinner used for year navigation.
*
* @return
*/
private JSpinner createSpinner() {
JSpinner spinner = new JSpinner();
spinner.setFocusable(false);
spinner.setBorder(BorderFactory.createEmptyBorder());
NumberEditor editor = new NumberEditor(spinner);
editor.getFormat().setGroupingUsed(false);
editor.getTextField().setFocusable(false);
spinner.setEditor(editor);
return spinner;
}
内容来源于网络,如有侵权,请联系作者删除!