- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.tc.admin.common.XTabbedPane
类的一些代码示例,展示了XTabbedPane
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XTabbedPane
类的具体详情如下:
包路径:com.tc.admin.common.XTabbedPane
类名称:XTabbedPane
暂无
代码示例来源:origin: org.terracotta.modules/tim-quartz-ui
@Override
protected XContainer createMainPanel() {
XContainer panel = new XContainer(new BorderLayout());
XTabbedPane tabbedPane = new XTabbedPane();
tabbedPane.add(bundle.getString("overview"), overviewPanel = new SchedulerOverviewPanel());
tabbedPane.add(bundle.getString("jobs"), jobsPanel = new SchedulerDetailsPanel());
panel.add(tabbedPane, BorderLayout.CENTER);
return panel;
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui
private XTabbedPane createTabbedPane() {
tabbedPane = new XTabbedPane();
tabbedPane.addTab(bundle.getString("entities"), createEntityTablePanel());
tabbedPane.addTab(bundle.getString("collections"), createCollectionTablePanel());
tabbedPane.addTab(bundle.getString("queries"), createQueryTablePanel());
tabbedPane.addChangeListener(this);
return tabbedPane;
}
代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2
public void stateChanged(ChangeEvent e) {
selectedTabIndex = tabbedPane.getSelectedIndex();
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui
@Override
protected synchronized void setup(final XContainer chartsPanel) {
chartsPanel.setLayout(new BorderLayout());
chartsPanel.add(tabbedPane = new XTabbedPane());
tabbedPane.addTab("Usage", usagePanel = new BaseRuntimeStatsPanel(appContext));
searchTabIndex = tabbedPane.getTabCount();
tabbedPane.addTab("Search", searchPanel = new BaseRuntimeStatsPanel(appContext));
jtaTabIndex = tabbedPane.getTabCount();
tabbedPane.addTab("JTA", jtaPanel = new BaseRuntimeStatsPanel(appContext));
writeBehindTabIndex = tabbedPane.getTabCount();
tabbedPane.addTab("Write-Behind", writeBehindPanel = new BaseRuntimeStatsPanel(appContext));
usagePanel.getChartsPanel().setLayout(new GridLayout(2, 2));
setupCacheHitRatioPanel(usagePanel.getChartsPanel());
setupCacheMissRatePanel(usagePanel.getChartsPanel());
setupCacheUpdateRatePanel(usagePanel.getChartsPanel());
setupCachePutRatePanel(usagePanel.getChartsPanel());
searchPanel.getChartsPanel().setLayout(new GridLayout(2, 1));
setupCacheSearchRatePanel(searchPanel.getChartsPanel());
setupCacheAverageSearchTimePanel(searchPanel.getChartsPanel());
jtaPanel.getChartsPanel().setLayout(new GridLayout(2, 1));
setupTransactionCommitRatePanel(jtaPanel.getChartsPanel());
setupTransactionRollbackRatePanel(jtaPanel.getChartsPanel());
writeBehindPanel.getChartsPanel().setLayout(new GridLayout(1, 1));
setupWriteBehindPanel(writeBehindPanel.getChartsPanel());
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui
int selectedTab = tabbedPane.getSelectedIndex();
boolean isSearchTabEnabled = tabbedPane.isEnabledAt(searchTabIndex);
if (isSearchTabEnabled != isSearchable) {
tabbedPane.setEnabledAt(searchTabIndex, isSearchable);
if (selectedTab == searchTabIndex && !isSearchable) {
tabbedPane.setSelectedIndex(0);
boolean isJTATabEnabled = tabbedPane.isEnabledAt(jtaTabIndex);
if (isJTATabEnabled != isTransactional) {
tabbedPane.setEnabledAt(jtaTabIndex, isTransactional);
if (selectedTab == jtaTabIndex && !isTransactional) {
tabbedPane.setSelectedIndex(0);
boolean isWriteBehindTabEnabled = tabbedPane.isEnabledAt(writeBehindTabIndex);
if (isWriteBehindTabEnabled != hasAnyWriters) {
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-ehcache-1.7-ui
private void removePage(PagedView pagedView, String pageName) {
Component page = pagedView.getPage(pageName);
if (page != null) {
pagedView.removePage(pageName);
if (page instanceof XContainer) {
((XContainer) page).tearDown();
} else if (page instanceof XTabbedPane) {
((XTabbedPane) page).tearDown();
}
}
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui
if (!tornDown.compareAndSet(false, true)) { return; }
tabbedPane.removeChangeListener(this);
beanProvider.removeNotificationListener(this);
clusterModel.removePropertyChangeListener(clusterListener);
代码示例来源: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.x-ui
private void removePage(PagedView pagedView, String pageName) {
Component page = pagedView.getPage(pageName);
if (page != null) {
pagedView.removePage(pageName);
if (page instanceof XContainer) {
((XContainer) page).tearDown();
} else if (page instanceof XTabbedPane) {
((XTabbedPane) page).tearDown();
}
}
}
代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2
if (!tornDown.compareAndSet(false, true)) { return; }
tabbedPane.removeChangeListener(this);
beanProvider.removeNotificationListener(this);
clusterModel.removePropertyChangeListener(clusterListener);
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui
private XContainer createMainPanel() {
XContainer panel = new XContainer(new BorderLayout());
XTabbedPane tabbedPane = new XTabbedPane();
tabbedPane.add(bundle.getString("overview"), overviewPanel = new OverviewPanel());
tabbedPane.add(bundle.getString("statistics"), h2lcStatsPanel = new H2LCRuntimeStatsPanel());
tabbedPane.add(bundle.getString("configuration"), cacheRegionsPanel = new CacheRegionsPanel());
panel.add(tabbedPane, BorderLayout.CENTER);
return panel;
}
代码示例来源:origin: org.terracotta.modules/tim-hibernate-cache-provider-3.2
private XTabbedPane createTabbedPane() {
tabbedPane = new XTabbedPane();
tabbedPane.addTab(bundle.getString("entities"), createEntityTablePanel());
tabbedPane.addTab(bundle.getString("collections"), createCollectionTablePanel());
tabbedPane.addTab(bundle.getString("queries"), createQueryTablePanel());
tabbedPane.addChangeListener(this);
return tabbedPane;
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui
public void stateChanged(ChangeEvent e) {
selectedTabIndex = tabbedPane.getSelectedIndex();
}
代码示例来源: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);
}
}
}
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0
private void removePage(PagedView pagedView, String pageName) {
Component page = pagedView.getPage(pageName);
if (page != null) {
pagedView.removePage(pageName);
if (page instanceof XContainer) {
((XContainer) page).tearDown();
} else if (page instanceof XTabbedPane) {
((XTabbedPane) page).tearDown();
}
}
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-hibernate-ui
if (!tornDown.compareAndSet(false, true)) { return; }
tabbedPane.removeChangeListener(this);
beanProvider.removeNotificationListener(this);
clusterModel.removePropertyChangeListener(clusterListener);
代码示例来源:origin: org.terracotta.modules/tim-ehcache-1.7-ui
@Override
protected XContainer createMainPanel() {
XContainer panel = new XContainer(new BorderLayout());
XTabbedPane tabbedPane = new XTabbedPane();
tabbedPane.add(bundle.getString("overview"), cacheOverviewPanel = new EhcacheOverviewPanel());
tabbedPane.add(bundle.getString("statistics"), cacheStatsPanel = new EhcacheRuntimeStatsPanel());
tabbedPane.add(bundle.getString("configuration"), cacheRegionsPanel = new EhcacheConfigPanel());
panel.add(tabbedPane, BorderLayout.CENTER);
return panel;
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui
private XTabbedPane createTabbedPane() {
tabbedPane = new XTabbedPane();
tabbedPane.addTab(bundle.getString("entities"), createEntityTablePanel());
tabbedPane.addTab(bundle.getString("collections"), createCollectionTablePanel());
tabbedPane.addTab(bundle.getString("queries"), createQueryTablePanel());
tabbedPane.addChangeListener(this);
return tabbedPane;
}
代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.0-hibernate-ui
public void stateChanged(ChangeEvent e) {
selectedTabIndex = tabbedPane.getSelectedIndex();
}
我只是希望我所有的管理页面都在 /admin 下. 我的主页在 /admin但是当我单击侧栏中的用户时,它会将路径更改为 /users而不是 /admin/users . 我正在使用 rea
我在端口 8011 上设置了一个 Django 服务器,并在端口 80 上有一个 nginx 作为子目录服务。 静态文件,不错。 页面,很好。 但是当我访问/subdirectory/admin/时,
我正在尝试使用 Flask 和 Flask-SuperAdmin 自定义我的 Admin View ,但是,索引 View 和 subview 显然没有使用相同的 is_accessible 方法:
我正在尝试配置我的 .htaccess,以便当有人导航到路径 /wp-admin/admin.php?page=something 时,路径 /wp-admin/something显示在浏览器中,内容
有没有办法整体禁用分页?我希望我的所有记录都显示在一个长列表中,而不是分成几页。我现在正在使用 ListGuesser,我已经尝试过 List 和 ListGuesser,但我无法禁用分页。实际上 r
在本地部署时,我的 RA 项目呈现良好,但是,当我将构建目录复制到 S3 存储桶进行部署时,它呈现的一切都一团糟。有时它有效,但大多数时候它呈现如下图所示。它在带有 AOR 的两种环境中都能正常工作。
我试图在 Datagrid 中显示Field这是多对多关系(中间表)。 我有这些表: 组 - group_subject - 主题 一个小组可以有多个科目 一个主题可以连接多个群组 group_sub
在用于显示用户列表的 Django 管理屏幕中(带有标题,选择要更改的用户),有用户名/电子邮件等字段和员工状态。我想将用户的事件状态添加到该显示中。 尽管大多数 django-admin 自定义问题
无论如何要检查所有 firebase 事务是否在 firebase-admin nodejs 脚本中完成,并正确断开与 firebase 的连接并退出 nodejs 脚本? 目前,即使在所有事务完成后
我正在尝试使用 react-admin 将数据发送到我的自定义 API。我想发送文件,我可以看到有,我想将该数据作为多部分表单数据发送。我遇到过the base64 encoding help pag
我正在尝试在admin部分中实现带有子表单的表单。 form = Fighter() subform = FighterFightHistory() //All of his fights 我的问题如
我在编辑表单中获取记录的“更新”值时遇到了很大的麻烦。我总是得到初始记录值,即使我有一个链接到正确记录源的输入,它应该更新它。 有没有其他方法来获取 SimpleForm 的值? 我有一个简单的编辑表
开发一个不需要翻译的管理员。有没有办法完全关闭它们。就像现在一样,对于诸如通知之类的事情,它们会显示,但我也会收到有关缺少翻译键的控制台警告。 最佳答案 除了 Frederik 的回答之外,以下是禁用
开发一个不需要翻译的管理员。有没有办法完全关闭它们。就像现在一样,对于诸如通知之类的事情,它们会显示,但我也会收到有关缺少翻译键的控制台警告。 最佳答案 除了 Frederik 的回答之外,以下是禁用
我有这样的模型: class User(db.Model): __tablename__ = 'users' __table_args__ = {'mysql_engine' : 'I
我已经使用 Media 类自定义了我的内联模型。 我想自定义内联字段集以实现两件事: 为每一行添加一个按钮 按下“添加新行”时从 javascript 代码运行 我试过覆盖 tabular.html
我的所有管理员/任何 url 正在呈现管理文件,但是当我尝试只点击管理员时,它显示 404 不在这条路线上。我可以为 url/admin 创建单独的路由,但这是他们的任何其他选项。这样我只能通过单一路
虽然我使用了许多图表,如 HighCharts、Charts.js、C3、D3,但是否有人尝试过或是否有一些关于如何将任何图表框架包含在 React-admin 中的文档?我看了一些,但看起来我们必须
react-admin 文档将资源的默认路由解释为: /posts/:id 映射到 PostEdit /posts/:id/show 映射到 PostShow 我希望我的应用程序默认为查看,并且仅当用
我正在使用 react-admin 前端框架,想知道是否有办法从路由中删除“#”。我正在使用 customRoutes 属性为我们的系统提供路由集合。 ``` 最佳答案 您可以创建自己的历
我是一名优秀的程序员,十分优秀!