javax.swing.JPanel.setNextFocusableComponent()方法的使用及代码示例

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

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

JPanel.setNextFocusableComponent介绍

暂无

代码示例

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setNextFocusableComponent(JComponent aValue) {
  super.setNextFocusableComponent(aValue);
}

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16

/**
 * This method is called by Swing when installing this TreeTableCellPanel
 * as a TableCellEditor. It ensures that focus will return to the JTable
 * when the cell edit is complete.
 *
 * <p>We override this method to ensure that if the {@link #nodeComponent}
 * acting as the child editor of the TreeTableCellPanel has focus when the
 * cell edit is complete, focus is returned to the JTable in that case as
 * well.
 */
@Override
public void setNextFocusableComponent(Component aComponent) {
  super.setNextFocusableComponent(aComponent);
  // set the next focusable component for the nodeComponent as well
  if (nodeComponent instanceof JComponent)
    ((JComponent) nodeComponent).setNextFocusableComponent(aComponent);
}

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15

/**
 * This method is called by Swing when installing this TreeTableCellPanel
 * as a TableCellEditor. It ensures that focus will return to the JTable
 * when the cell edit is complete.
 *
 * <p>We override this method to ensure that if the {@link #nodeComponent}
 * acting as the child editor of the TreeTableCellPanel has focus when the
 * cell edit is complete, focus is returned to the JTable in that case as
 * well.
 */
@Override
public void setNextFocusableComponent(Component aComponent) {
  super.setNextFocusableComponent(aComponent);
  // set the next focusable component for the nodeComponent as well
  if (nodeComponent instanceof JComponent)
    ((JComponent) nodeComponent).setNextFocusableComponent(aComponent);
}

代码示例来源:origin: com.haulmont.thirdparty/glazedlists

/**
 * This method is called by Swing when installing this TreeTableCellPanel
 * as a TableCellEditor. It ensures that focus will return to the JTable
 * when the cell edit is complete.
 *
 * <p>We override this method to ensure that if the {@link #nodeComponent}
 * acting as the child editor of the TreeTableCellPanel has focus when the
 * cell edit is complete, focus is returned to the JTable in that case as
 * well.
 */
@Override
public void setNextFocusableComponent(Component aComponent) {
  super.setNextFocusableComponent(aComponent);
  // set the next focusable component for the nodeComponent as well
  if (nodeComponent instanceof JComponent)
    ((JComponent) nodeComponent).setNextFocusableComponent(aComponent);
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-kenai-ui

containingPanel.setNextFocusableComponent(projectsDetailsHeader);

相关文章

JPanel类方法