本文整理了Java中javax.swing.JSplitPane.remove()
方法的一些代码示例,展示了JSplitPane.remove()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSplitPane.remove()
方法的具体详情如下:
包路径:javax.swing.JSplitPane
类名称:JSplitPane
方法名:remove
暂无
代码示例来源:origin: nccgroup/AutoRepeater
public void toggleConfigurationPane(boolean visible) {
if (visible) {
userInterfaceSplitPane.setRightComponent(configurationPane);
} else {
userInterfaceSplitPane.remove(configurationPane);
}
}
代码示例来源:origin: protegeproject/protege
public void componentRemoved(ContainerEvent e) {
if (getComponentCount() == 0) {
splitPane.remove(ViewHolder.this);
}
}
});
代码示例来源:origin: edu.stanford.protege/org.protege.editor.core.application
public void componentRemoved(ContainerEvent e) {
if (getComponentCount() == 0) {
splitPane.remove(ViewHolder.this);
}
}
});
代码示例来源:origin: sarahtattersall/PIPE
void removeAnimationViewPlane() {
if (scroller != null) {
moduleAndAnimationHistoryFrame.remove(scroller);
moduleAndAnimationHistoryFrame.setDividerLocation(0);
moduleAndAnimationHistoryFrame.setDividerSize(0);
}
}
代码示例来源:origin: org.protege/protege-editor-core-application
public void componentRemoved(ContainerEvent e) {
if (getComponentCount() == 0) {
splitPane.remove(ViewHolder.this);
}
}
});
代码示例来源:origin: org.fudaa.framework.fudaa/fudaa-common
public void actionPerformed(ActionEvent e) {
pane.remove(conteneurPdf_);
rafraichir();
}
代码示例来源:origin: net.sf.squirrel-sql.plugins/graph
private void onModeChanged()
{
_bottomPanelContainer.removeAll();
_bottomPanelContainer.add(_modeManager.getBottomPanel());
_bottomPanelContainer.revalidate();
_bottomPanelContainer.repaint();
if (null != _split.getBottomComponent())
{
_split.remove(_split.getBottomComponent());
}
onHide();
}
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((DataVisualizer) getStep()).getPlots().clear();
m_splitPane.remove(m_visPanel);
}
});
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((ScatterPlotMatrix) getStep()).getDatasets().clear();
m_splitPane.remove(m_matrixPanel);
}
});
代码示例来源:origin: Waikato/weka-trunk
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((DataVisualizer) getStep()).getPlots().clear();
m_splitPane.remove(m_visPanel);
}
});
代码示例来源:origin: Waikato/weka-trunk
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((ScatterPlotMatrix) getStep()).getDatasets().clear();
m_splitPane.remove(m_matrixPanel);
}
});
代码示例来源:origin: Waikato/weka-trunk
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((AttributeSummarizer) getStep()).getDatasets().clear();
m_splitPane.remove(m_summarizer);
}
});
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((AttributeSummarizer) getStep()).getDatasets().clear();
m_splitPane.remove(m_summarizer);
}
});
代码示例来源:origin: net.sf.taverna.t2.ui-impl/zaria
public void swap(ZTreeNode oldComponent, ZTreeNode newComponent) {
// Store the old divider location, we don't want this to change
int location = splitPane.getDividerLocation();
oldComponent.discard();
if (getRightComponent().equals(oldComponent)) {
// Swap the right component
splitPane.remove((Component) oldComponent);
splitPane.setRightComponent((Component) newComponent);
} else if (getLeftComponent().equals(oldComponent)) {
// Swap the left component
splitPane.remove((Component) oldComponent);
splitPane.setLeftComponent((Component) newComponent);
}
newComponent.setEditable(this.editable);
splitPane.setDividerLocation(location);
revalidate();
}
代码示例来源:origin: Waikato/weka-trunk
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((GraphViewer) getStep()).getDatasets().clear();
if (m_treeVisualizer != null || m_graphVisualizer != null) {
m_splitPane.remove(m_holderPanel);
// invalidate();
revalidate();
}
}
});
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((CostBenefitAnalysis) getStep()).getDatasets().clear();
m_splitPane.remove(m_cbPanel);
m_splitPane.revalidate();
}
});
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((GraphViewer) getStep()).getDatasets().clear();
if (m_treeVisualizer != null || m_graphVisualizer != null) {
m_splitPane.remove(m_holderPanel);
// invalidate();
revalidate();
}
}
});
代码示例来源:origin: MegaMek/mekhq
private void showDailyReportDialog() {
mainPanel.remove(panLog);
miDetachLog.setEnabled(false);
miAttachLog.setEnabled(true);
mainPanel.setOneTouchExpandable(false);
logDialog.setVisible(true);
refreshReport();
this.revalidate();
this.repaint();
}
代码示例来源:origin: Waikato/weka-trunk
@Override
public void actionPerformed(ActionEvent e) {
m_history.clearResults();
((CostBenefitAnalysis) getStep()).getDatasets().clear();
m_splitPane.remove(m_cbPanel);
m_splitPane.revalidate();
}
});
代码示例来源:origin: danfickle/openhtmltopdf
/**
* Description of the Method
*/
private void initForCurrentDocument() {
// tree stuff
TreeModel model = new DOMTreeModel(doc);
tree.setModel(model);
if (!(tree.getCellRenderer() instanceof DOMTreeCellRenderer)) {
tree.setCellRenderer(new DOMTreeCellRenderer());
}
if (styleReference != null) {
if (elementPropPanel != null) {
splitPane.remove(elementPropPanel);
}
elementPropPanel = new ElementPropertiesPanel(styleReference);
splitPane.setRightComponent(elementPropPanel);
tree.removeTreeSelectionListener(nodeSelectionListener);
//nodeSelectionListener = new DOMSelectionListener( tree, styleReference, elementPropPanel );
nodeSelectionListener = new DOMSelectionListener(tree, elementPropPanel);
tree.addTreeSelectionListener(nodeSelectionListener);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!