本文整理了Java中javax.swing.JToolBar.setEnabled()
方法的一些代码示例,展示了JToolBar.setEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JToolBar.setEnabled()
方法的具体详情如下:
包路径:javax.swing.JToolBar
类名称:JToolBar
方法名:setEnabled
暂无
代码示例来源:origin: org.boofcv/boofcv-swing
public void run() {
toolbar.setEnabled(false);
}});
setActiveAlgorithm( name , cookie );
代码示例来源:origin: org.boofcv/boofcv-swing
public void run() {
toolbar.setEnabled(true);
}});
}
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-number
@Override
public void processDataBinding() {
rightToolbar.setEnabled(isEnabled());
}
});
代码示例来源:origin: org.gephi/desktop-statistics
private void refreshEnable(boolean enable) {
statisticsPanel.setEnabled(enable);
toolbar.setEnabled(enable);
settingsButton.setEnabled(enable);
}
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-number
@Override
public void processDataBinding() {
leftToolbar.setEnabled(isEnabled());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: org.boofcv/boofcv-swing
public void run() {
toolbar.setEnabled(isEnabled);
for( JComboBox b : algBoxes ) {
b.setEnabled(isEnabled);
}
for( JComponent b : addedComponents ) {
b.setEnabled(isEnabled);
}
imageBox.setEnabled(isEnabled);
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: us.ihmc/ImageProcessing
public void run() {
toolbar.setEnabled(isEnabled);
for( JComboBox b : algBoxes ) {
b.setEnabled(isEnabled);
}
for( JComponent b : addedComponents ) {
b.setEnabled(isEnabled);
}
imageBox.setEnabled(isEnabled);
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: org.boofcv/visualize
public void run() {
toolbar.setEnabled(isEnabled);
for( JComboBox b : algBoxes ) {
b.setEnabled(isEnabled);
}
for( JComponent b : addedComponents ) {
b.setEnabled(isEnabled);
}
imageBox.setEnabled(isEnabled);
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setEnabled(isEnabled());
}
});
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public void setEnabled(boolean aValue) {
super.setEnabled(aValue);
}
代码示例来源:origin: org.zaproxy/zap
private JToolBar getToolbarRight() {
if (footerToolbarRight == null) {
footerToolbarRight = new JToolBar();
footerToolbarRight.setEnabled(true);
footerToolbarRight.setFloatable(false);
footerToolbarRight.setRollover(true);
footerToolbarRight.setName("Footer Toolbar Right");
footerToolbarRight.setBorder(BorderFactory.createEmptyBorder());
}
return footerToolbarRight;
}
代码示例来源:origin: org.zaproxy/zap
private JToolBar getToolbarLeft() {
if (footerToolbarLeft == null) {
footerToolbarLeft = new JToolBar();
footerToolbarLeft.setEnabled(true);
footerToolbarLeft.setFloatable(false);
footerToolbarLeft.setRollover(true);
footerToolbarLeft.setName("Footer Toolbar Left");
footerToolbarLeft.setBorder(BorderFactory.createEmptyBorder());
}
return footerToolbarLeft;
}
代码示例来源:origin: org.zaproxy/zap
private JToolBar getToolbar() {
if (toolbar == null) {
toolbar = new JToolBar();
toolbar.setEnabled(true);
toolbar.setFloatable(false);
toolbar.setRollover(true);
toolbar.setName("Main Toolbar");
toolbar.setBorder(BorderFactory.createEmptyBorder());
}
return toolbar;
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
gapLabel.setEnabled(enabled);
iconLabel.setEnabled(enabled);
decorated.setEnabled(enabled);
extraTools.setEnabled(enabled);
for (Component comp : extraTools.getComponents()) {
comp.setEnabled(enabled);
}
}
内容来源于网络,如有侵权,请联系作者删除!