gpt4 book ai didi

com.tc.admin.common.XTabbedPane.setSelectedIndex()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 18:47:05 27 4
gpt4 key购买 nike

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

XTabbedPane.setSelectedIndex介绍

暂无

代码示例

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

tabbedPane.setEnabledAt(searchTabIndex, isSearchable);
if (selectedTab == searchTabIndex && !isSearchable) {
 tabbedPane.setSelectedIndex(0);
tabbedPane.setEnabledAt(jtaTabIndex, isTransactional);
if (selectedTab == jtaTabIndex && !isTransactional) {
 tabbedPane.setSelectedIndex(0);
tabbedPane.setEnabledAt(writeBehindTabIndex, hasAnyWriters);
if (selectedTab == writeBehindTabIndex && !hasAnyWriters) {
 tabbedPane.setSelectedIndex(0);

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui

public void hierarchyChanged(final HierarchyEvent e) {
 Component comp = e.getComponent();
 if ((e.getChangeFlags() & HierarchyEvent.SHOWING_CHANGED) != 0) {
  if (comp.isShowing()) {
   if (comp == entityTable) {
    updateEntityStats();
   } else if (comp == collectionTable) {
    updateCollectionStats();
   } else if (comp == queryTable) {
    updateQueryStats();
   } else {
    tabbedPane.setSelectedIndex(selectedTabIndex);
   }
  }
 }
}

代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2

public void hierarchyChanged(final HierarchyEvent e) {
 Component comp = e.getComponent();
 if ((e.getChangeFlags() & HierarchyEvent.SHOWING_CHANGED) != 0) {
  if (comp.isShowing()) {
   if (comp == entityTable) {
    updateEntityStats();
   } else if (comp == collectionTable) {
    updateCollectionStats();
   } else if (comp == queryTable) {
    updateQueryStats();
   } else {
    tabbedPane.setSelectedIndex(selectedTabIndex);
   }
  }
 }
}

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui

public void hierarchyChanged(final HierarchyEvent e) {
 Component comp = e.getComponent();
 if ((e.getChangeFlags() & HierarchyEvent.SHOWING_CHANGED) != 0) {
  if (comp.isShowing()) {
   if (comp == entityTable) {
    updateEntityStats();
   } else if (comp == collectionTable) {
    updateCollectionStats();
   } else if (comp == queryTable) {
    updateQueryStats();
   } else {
    tabbedPane.setSelectedIndex(selectedTabIndex);
   }
  }
 }
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com