本文整理了Java中javax.swing.JLabel.addComponentListener()
方法的一些代码示例,展示了JLabel.addComponentListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JLabel.addComponentListener()
方法的具体详情如下:
包路径:javax.swing.JLabel
类名称:JLabel
方法名:addComponentListener
暂无
代码示例来源:origin: org.netbeans.api/org-openide-awt
/** Overridden to do nothing for performance reasons */
public @Override void addComponentListener(ComponentListener l) {
if (swingRendering) {
super.addComponentListener(l);
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Overridden to do nothing for performance reasons */
public void addComponentListener (ComponentListener l) {
if (swingRendering) {
super.addComponentListener (l);
}
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
/** Overridden to do nothing for performance reasons */
public void addComponentListener (ComponentListener l) {
if (swingRendering) {
super.addComponentListener (l);
}
}
代码示例来源:origin: winterDroid/android-drawable-importer-intellij-plugin
public VectorImporter(Project project, Module module) {
super(project, true);
this.project = project;
this.module = module;
final IconApplication container = ApplicationManager.getApplication().getComponent(IconApplication.class);
materialIconsController = container.getControllerFactory().getMaterialIconsController();
settingsController = container.getControllerFactory().getSettingsController();
defaultsController = container.getControllerFactory().getDefaultsController();
controller = new IconsImporterController(defaultsController, materialIconsController);
initResRoot();
setTitle("Vector Drawable Importer");
getHelpAction().setEnabled(true);
AssetSpinnerRenderer renderer = new AssetSpinnerRenderer();
//noinspection GtkPreferredJComboBoxRenderer
assetSpinner.setRenderer(renderer);
imageContainer.addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(ComponentEvent e) {
super.componentResized(e);
updateImage();
}
});
initSearch();
controller.addObserver(this);
init();
pack();
}
代码示例来源:origin: winterDroid/android-drawable-importer-intellij-plugin
imageContainer.addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(ComponentEvent e) {
代码示例来源:origin: net.sf.kerner-utils/kerner-utils
/** {@inheritDoc} */
@Override
protected void installListeners(final JLabel c) {
super.installListeners(c);
c.addComponentListener(this);
}
代码示例来源:origin: stackoverflow.com
label.addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(ComponentEvent e) {
代码示例来源:origin: org.activecomponents.jadex/jadex-runtimetools-swing
map.addComponentListener(new ComponentAdapter()
内容来源于网络,如有侵权,请联系作者删除!