javax.swing.JPopupMenu.addComponentListener()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中javax.swing.JPopupMenu.addComponentListener()方法的一些代码示例,展示了JPopupMenu.addComponentListener()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPopupMenu.addComponentListener()方法的具体详情如下:
包路径:javax.swing.JPopupMenu
类名称:JPopupMenu
方法名:addComponentListener

JPopupMenu.addComponentListener介绍

暂无

代码示例

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

@Override
public void applyDataBinding() {
  if (popup != null) {
    $bindingSources.put("popup", popup);
    popup.addComponentListener( JAXXUtil.getEventListener(ComponentListener.class, this, "$pr$u0"));
  }
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets-i18n

@Override
public void applyDataBinding() {
  if (popup != null) {
    $bindingSources.put("popup", popup);
    popup.addComponentListener( JAXXUtil.getEventListener(ComponentListener.class, this, "$pr$u0"));
  }
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

public void applyDataBinding(String $binding) {
  if ("button.selected".equals($binding)) {
    if (popup != null) {
      $bindingSources.put("popup", popup);
  popup.addComponentListener((java.awt.event.ComponentListener) jaxx.runtime.Util.getEventListener(java.awt.event.ComponentListener.class, $JPanel0, "$pr$u0"));
    }
  }
  processDataBinding($binding);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

public void applyDataBinding(String $binding) {
  if ("renderer.showIcon".equals($binding)) {
      addPropertyChangeListener("showIcon", $DataSource2);
  
  } else if ("renderer.showText".equals($binding)) {
      addPropertyChangeListener("showText", $DataSource3);
  
  } else if ("button.icon".equals($binding)) {
      addPropertyChangeListener("selectedLocale", $DataSource5);
  
  } else if ("button.selected".equals($binding)) {
    if (popup != null) {
      $bindingSources.put("popup", popup);
  popup.addComponentListener((java.awt.event.ComponentListener) jaxx.runtime.Util.getEventListener(java.awt.event.ComponentListener.class, content, "$pr$u0"));
    }
  } else if ("button.text".equals($binding)) {
      addPropertyChangeListener("selectedLocale", $DataSource7);
  
  } else if ("button.toolTipText".equals($binding)) {
      addPropertyChangeListener("selectedLocale", $DataSource8);
  
  }
  processDataBinding($binding);
}

代码示例来源:origin: digital-preservation/droid

jPopupMenu1.addComponentListener(new java.awt.event.ComponentAdapter() {
  public void componentShown(java.awt.event.ComponentEvent evt) {
    jPopupMenu1ComponentShown(evt);

代码示例来源:origin: uk.gov.nationalarchives/droid-ui

jPopupMenu1.addComponentListener(new java.awt.event.ComponentAdapter() {
  public void componentShown(java.awt.event.ComponentEvent evt) {
    jPopupMenu1ComponentShown(evt);

相关文章

JPopupMenu类方法