java.awt.Panel.addMouseListener()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(568)

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

Panel.addMouseListener介绍

暂无

代码示例

代码示例来源:origin: org.jacorb/jacorb

/**
 * Initializes connections
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void initConnections() {
  // user code begin {1}
  // user code end
  this.addWindowListener(this);
  this.addComponentListener(this);
  getWorkPanel().addMouseListener(this);
}
/**

代码示例来源:origin: stackoverflow.com

p1.setLayout(new GridLayout(2, 1, 0, 0));
getContentPane().add(p1);
p1.addMouseListener(this);
p1.add(pane);

代码示例来源:origin: org.jacorb/jacorb

/**
 * Initializes connections
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void initConnections() {
// user code begin {1}
// user code end
getServantLabel().addMouseListener(this);
getObjectLabel().addMouseListener(this);
getInnerPanel().addMouseListener(this);
getDeactivateMenuItem().addActionListener(this);
getInspectionMenuItem().addActionListener(this);
}
/**

代码示例来源:origin: org.jacorb/jacorb

/**
 * Initializes connections
 */
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void initConnections() {
// user code begin {1}
// user code end
getInnerPanel().addMouseListener(this);
getRequestLabel().addMouseListener(this);
getObjectLabel().addMouseListener(this);
getRemoveMenuItem().addActionListener(this);
getInspectionMenuItem().addActionListener(this);
}
/**

相关文章