本文整理了Java中javax.swing.JPanel.getToolTipText()
方法的一些代码示例,展示了JPanel.getToolTipText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JPanel.getToolTipText()
方法的具体详情如下:
包路径:javax.swing.JPanel
类名称:JPanel
方法名:getToolTipText
暂无
代码示例来源:origin: nz.ac.waikato.cms.moa/moa
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-dlight-visualizers
@Override
public String getToolTipText(MouseEvent event) {
String tip = getToolTipText(event.getPoint());
if (tip != null) {
return tip;
}
return super.getToolTipText(event);
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: com.eas.platypus/platypus-js-forms
@ScriptFunction(jsDoc = TOOLTIP_TEXT_JSDOC)
@Override
public String getToolTipText() {
return super.getToolTipText();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-dlight-visualizers
@Override
public String getToolTipText(MouseEvent event) {
if (shiftRect != null) {
if (shiftRect.getX() <= event.getX() && event.getX() <= shiftRect.getX()+shiftRect.getWidth()) {
return ThreadsPanel.THREAD_NAME_FORMAT_TOOL_TIP;
}
}
return super.getToolTipText(event);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-kenai-ui
@Override
public String getToolTipText(MouseEvent event) {
Component c = SwingUtilities.getDeepestComponentAt(this, event.getX(), event.getY());
if( c instanceof JComponent ) {
JComponent jc = (JComponent) c;
String tooltip = jc.getToolTipText();
if( null != tooltip )
return tooltip;
}
return super.getToolTipText(event);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-team-commons
@Override
public String getToolTipText(MouseEvent event) {
Component c = SwingUtilities.getDeepestComponentAt(this, event.getX(), event.getY());
if (c instanceof JComponent) {
JComponent jc = (JComponent) c;
String tooltip = jc.getToolTipText();
if (null != tooltip) {
return tooltip;
}
}
return super.getToolTipText(event);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-team-commons
@Override
public String getToolTipText(MouseEvent event) {
Component c = SwingUtilities.getDeepestComponentAt(this, event.getX(), event.getY());
if (c instanceof JComponent) {
JComponent jc = (JComponent) c;
String tooltip = jc.getToolTipText();
if (null != tooltip) {
return tooltip;
}
}
return super.getToolTipText(event);
}
}
代码示例来源:origin: realXuJiang/bigtable-sql
@Override
public String getToolTipText(MouseEvent event)
{
JButton button = getButtonAt(event.getX());
if (null == button)
{
return super.getToolTipText(event);
}
else
{
return button.getToolTipText();
}
}
代码示例来源:origin: net.sf.squirrel-sql/squirrel-sql
@Override
public String getToolTipText(MouseEvent event)
{
JButton button = getButtonAt(event.getX());
if (null == button)
{
return super.getToolTipText(event);
}
else
{
return button.getToolTipText();
}
}
代码示例来源:origin: edu.toronto.cs.medsavant/medsavant-client
@Override
public String getToolTipText(java.awt.event.MouseEvent e) {
for (int r = 0; r < rings.size(); r++) {
Ring ring = rings.get(r);
for (int index = 0; index < ring.count(); index++) {
if (ring.getSegment(index).contains(e.getPoint())) {
return ring.getLabel(index) + ": " + ring.getValue(index);
}
}
}
return super.getToolTipText(e);
}
代码示例来源:origin: jasperreports/jasperreports
public String getToolTipText(MouseEvent event)
{
String tooltip = null;
JRPrintImageAreaHyperlink imageMapArea = getImageMapArea(event);
if (imageMapArea != null)
{
tooltip = getHyperlinkTooltip(imageMapArea.getHyperlink());
}
if (tooltip == null)
{
tooltip = super.getToolTipText(event);
}
return tooltip;
}
代码示例来源:origin: jasperreports/jasperreports
public String getToolTipText(MouseEvent event)
{
String tooltip = null;
JRPrintImageAreaHyperlink imageMapArea = getImageMapArea(event);
if (imageMapArea != null)
{
tooltip = getHyperlinkTooltip(imageMapArea.getHyperlink());
}
if (tooltip == null)
{
tooltip = super.getToolTipText(event);
}
return tooltip;
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-callgraph
void addPanel(JPanel panel) {
setName(panel.getToolTipText());
removeAll();
add(panel, BorderLayout.CENTER);
validate();
}
内容来源于网络,如有侵权,请联系作者删除!