gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-24 19:09:05 29 4
gpt4 key购买 nike

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

XContainer.add介绍

暂无

代码示例

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

@Override
public XContainer createMainPanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(topPanel = createTopPanel(), BorderLayout.NORTH);
 panel.add(createCenterPanel());
 return panel;
}

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

@Override
protected XContainer createMainPanel() {
 XContainer panel = super.createMainPanel();
 XContainer legendPanel = new XContainer(new BorderLayout());
 XLabel label = new XLabel("Terracotta-clustered", CLUSTERED_ICON);
 legendPanel.add(label, BorderLayout.WEST);
 panel.add(legendPanel, BorderLayout.NORTH);
 return panel;
}

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

@Override
public XContainer createMainPanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(createTopPanel(), BorderLayout.NORTH);
 panel.add(createCenterPanel());
 return panel;
}

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

protected XContainer createCenterPanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(createPropertiesPanel(), BorderLayout.NORTH);
 panel.add(createVuMeterPanel(), BorderLayout.CENTER);
 return panel;
}

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

private XContainer createTopologyPanel() {
 XContainer panel = new XContainer(new GridBagLayout());
 GridBagConstraints gbc = new GridBagConstraints();
 gbc.gridx = gbc.gridy = 0;
 gbc.fill = GridBagConstraints.BOTH;
 gbc.weightx = gbc.weighty = 1.0;
 panel.add(topologyPanel = new TopologyPanel(), gbc);
 return panel;
}

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

private XContainer createMainPanel(boolean globalMode) {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(vuMeterPanel = new AggregateVuMeterPanel(appContext, globalMode), BorderLayout.CENTER);
 return panel;
}

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

protected XContainer createVuMeterPanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(createLegend(), BorderLayout.NORTH);
 panel.add(vuMeterPanel = new VuMeterPanel(appContext), BorderLayout.CENTER);
 panel.setBorder(BorderFactory.createTitledBorder("Cluster-wide Activity"));
 return panel;
}

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

public JComponent createAltToolBar() {
 XContainer panel = new XContainer(new FlowLayout(FlowLayout.CENTER, 1, 3));
 panel.add(new XButton(new ManageEnablementAction()));
 panel.add(new XButton(new ManageBulkLoadAction()));
 panel.add(new XButton(new ManageStatisticsAction()));
 panel.add(new XButton(new ManageContentsAction()));
 panel.add(new XButton(new ManageSettingsAction()));
 return panel;
}

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

protected void createApplyToNewcomersToggle(XContainer panel) {
 panel.add(applyToNewcomersToggle = new XCheckBox("Apply to newcomers"), BorderLayout.WEST);
 applyToNewcomersToggle.setSelected(true);
 applyToNewcomersToggle.setVisible(false);
}

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

private XContainer createMessagePanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(messageLabel = new XLabel());
 messageLabel.setText(appContext.getString("initializing"));
 messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
 messageLabel.setFont((Font) appContext.getObject("message.label.font"));
 return panel;
}

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

private XContainer createMessagePanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(messageLabel = new XLabel());
 messageLabel.setText(appContext.getString("initializing"));
 messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
 messageLabel.setFont((Font) appContext.getObject("message.label.font"));
 return panel;
}

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

private XContainer createMessagePanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(messageLabel = new XLabel());
 messageLabel.setText(appContext.getString("initializing"));
 messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
 messageLabel.setFont((Font) appContext.getObject("message.label.font"));
 return panel;
}

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

private XContainer createMessagePanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(messageLabel = new XLabel());
 messageLabel.setText(appContext.getString("initializing"));
 messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
 messageLabel.setFont((Font) appContext.getObject("message.label.font"));
 return panel;
}

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

private XContainer createMessagePanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(messageLabel = new XLabel());
 messageLabel.setText(appContext.getString("initializing"));
 messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
 messageLabel.setFont((Font) appContext.getObject("message.label.font"));
 return panel;
}

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

private XContainer createMessagePanel() {
 XContainer panel = new XContainer(new BorderLayout());
 panel.add(messageLabel = new XLabel());
 messageLabel.setText(appContext.getString("initializing"));
 messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
 messageLabel.setFont((Font) appContext.getObject("message.label.font"));
 return panel;
}

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

protected void setupUpdateRatePanel(final XContainer parent) {
 String text = bundle.getString("cache.update.rate");
 cacheUpdateRateSeries = createTimeSeries(text);
 ChartPanel chartPanel = createChartPanel(createChart(cacheUpdateRateSeries, false));
 parent.add(chartPanel);
 chartPanel.setPreferredSize(fDefaultGraphSize);
 chartPanel.setBorder(new TitledBorder(text));
 chartPanel.setToolTipText(text);
 chartPanel.setLayout(new BorderLayout());
 chartPanel.add(cacheUpdateRateLabel = createOverlayLabel());
}

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

protected void setupQueryExecutionRatePanel(final XContainer parent) {
 String text = bundle.getString("sql.execution.rate");
 queryExecutionRateSeries = createTimeSeries(text);
 ChartPanel chartPanel = createChartPanel(createChart(queryExecutionRateSeries, false));
 parent.add(chartPanel);
 chartPanel.setPreferredSize(fDefaultGraphSize);
 chartPanel.setBorder(new TitledBorder(text));
 chartPanel.setToolTipText(text);
 chartPanel.setLayout(new BorderLayout());
 chartPanel.add(queryExecutionRateLabel = createOverlayLabel());
}

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

protected void setupQueryExecutionRatePanel(final XContainer parent) {
 String text = bundle.getString("sql.execution.rate");
 queryExecutionRateSeries = createTimeSeries(text);
 ChartPanel chartPanel = createChartPanel(createChart(queryExecutionRateSeries, false));
 parent.add(chartPanel);
 chartPanel.setPreferredSize(fDefaultGraphSize);
 chartPanel.setBorder(new TitledBorder(text));
 chartPanel.setToolTipText(text);
 chartPanel.setLayout(new BorderLayout());
 chartPanel.add(queryExecutionRateLabel = createOverlayLabel());
}

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

protected void setupUpdateRatePanel(final XContainer parent) {
 String text = bundle.getString("cache.update.rate");
 cacheUpdateRateSeries = createTimeSeries(text);
 ChartPanel chartPanel = createChartPanel(createChart(cacheUpdateRateSeries, false));
 parent.add(chartPanel);
 chartPanel.setPreferredSize(fDefaultGraphSize);
 chartPanel.setBorder(new TitledBorder(text));
 chartPanel.setToolTipText(text);
 chartPanel.setLayout(new BorderLayout());
 chartPanel.add(cacheUpdateRateLabel = createOverlayLabel());
}

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

protected void setupCachePutRatePanel(final XContainer parent) {
 cachePutRateSeries = createTimeSeries(bundle.getString("cache.put.rate"));
 JFreeChart chart = createChart(cachePutRateSeries, false);
 ChartPanel chartPanel = createChartPanel(chart);
 parent.add(chartPanel);
 chartPanel.setPreferredSize(fDefaultGraphSize);
 chartPanel.setBorder(new TitledBorder("Cache Put Rate"));
 chartPanel.setToolTipText("Cache Put Rate");
 chartPanel.setLayout(new BorderLayout());
 chartPanel.add(cachePutRateLabel = createOverlayLabel());
 ((XYPlot) chart.getPlot()).getRenderer().setSeriesPaint(0, EhcachePresentationUtils.PUT_FILL_COLOR);
}

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