本文整理了Java中javax.swing.JToolBar.setVisible()
方法的一些代码示例,展示了JToolBar.setVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JToolBar.setVisible()
方法的具体详情如下:
包路径:javax.swing.JToolBar
类名称:JToolBar
方法名:setVisible
暂无
代码示例来源:origin: org.zaproxy/zap
/**
* Sets whether or not the underlying view component is visible.
*
* @param visible {@code true} if the view component should be visible, {@code false} otherwise
*/
public void setVisible(boolean visible) {
toolBar.setVisible(visible);
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbar.setVisible(isShowReset());
}
});
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbarRight.setVisible(isShowDecorator());
}
});
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbarRight.setVisible(isShowDecorator());
}
});
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public void setVisible(boolean aValue) {
super.setVisible(aValue);
}
代码示例来源:origin: org.opentcs.thirdparty.jhotdraw/jhotdraw
@Override
public void itemStateChanged(ItemEvent e) {
boolean b = e.getStateChange() == ItemEvent.SELECTED;
toolbar.setVisible(b);
prefs.putBoolean(prefkey, b);
validate();
}
}
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
@Override
public void actionPerformed(ActionEvent ae) {
m_jTbTools.setVisible(!m_jTbTools.isVisible());
} // actionPerformed
} // class ActionViewToolbar
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
$JToolBar0.setVisible(isShowPopupButton());
}
});
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbarLeft.setVisible(isShowReset());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setVisible(isShowReset());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-number
@Override
public void processDataBinding() {
rightToolbar.setVisible(isShowPopupButton());
}
});
代码示例来源:origin: org.opentcs.thirdparty.jhotdraw/jhotdraw
@Override
public void putValue(String key, Object newValue) {
super.putValue(key, newValue);
if (key == ActionUtil.SELECTED_KEY) {
if (toolBar != null) {
toolBar.setVisible((Boolean) newValue);
}
}
}
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbarRight.setVisible(isShowDecorator());
}
});
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbarLeft.setVisible(isShowReset());
}
});
代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets
@Override
public void processDataBinding() {
toolbar.setVisible(isShowReset());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-file
@Override
public void processDataBinding() {
toolbar.setVisible(isShowReset());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
toolbarLeft.setVisible(isShowReset());
}
});
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis
@Override
public void processDataBinding() {
if (model != null) {
toolbarLeft.setVisible(model.isShowGlobalResetButton());
}
}
代码示例来源:origin: org.icepdf.os/icepdf-viewer
/**
* Sets the visibility of the toolbar
*
* @param show The new visibility of the toolbar
*/
public void setToolBarVisible(boolean show) {
if (completeToolBar != null)
completeToolBar.setVisible(show);
reflectStateInComponents();
}
代码示例来源:origin: stackoverflow.com
JToolBar t = new JToolbar();
t.add(new JButton("Button 1"));
t.addSeparator();
t.add(new JButton("Button 2"));
t.add(new JButton("Button 3"));
t.addSeparator();
// Show
t.setVisible(true);
t.setFloatable(false);
内容来源于网络,如有侵权,请联系作者删除!