本文整理汇总了Java中com.jidesoft.swing.JideSplitPane.setMinimumSize方法的典型用法代码示例。如果您正苦于以下问题:Java JideSplitPane.setMinimumSize方法的具体用法?Java JideSplitPane.setMinimumSize怎么用?Java JideSplitPane.setMinimumSize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.jidesoft.swing.JideSplitPane
的用法示例。
在下文中一共展示了JideSplitPane.setMinimumSize方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: CDataNodeComponent
import com.jidesoft.swing.JideSplitPane; //导入方法依赖的package包/类
/**
* Creates a new data node component.
*
* @param module Module whose data is shown in the component.
* @param originContainer
*/
public CDataNodeComponent(final INaviModule module, final IViewContainer originContainer) {
super(new BorderLayout());
Preconditions.checkNotNull(module, "IE01960: Module argument can not be null");
final JideSplitPane splitPane = new JideSplitPane(JideSplitPane.VERTICAL_SPLIT);
splitPane.setDoubleBuffered(true);
splitPane.setOneTouchExpandable(true);
splitPane.setMinimumSize(new Dimension(0, 0));
splitPane.setProportionalLayout(true);
splitPane.setInitiallyEven(true);
final JPanel panel = new JPanel(new BorderLayout());
dataSectionComponent = new DataSectionComponent(module, originContainer);
panel.add(dataSectionComponent);
final JTabbedPane pane = new JTabbedPane();
pane.addTab("Navigation", new CNavigationPanel(dataSectionComponent.getHexView()));
splitPane.addPane(panel);
splitPane.addPane(pane);
add(splitPane);
}
示例2: createGui
import com.jidesoft.swing.JideSplitPane; //导入方法依赖的package包/类
/**
* Sets up all the splitters and other minor GUI elements of the graph panel.
*/
private void createGui() {
m_graphSplitter = new JideSplitPane() {
private static final long serialVersionUID = -4363828908016863289L;
// ESCA-JAVA0025: Workaround for Case 1168
@Override
public void updateUI() {
// Workaround for Case 1168: The mere presence of a JIDE component
// screws up the look and feel.
}
};
m_graphSplitter.setOrientation(JideSplitPane.VERTICAL_SPLIT);
m_graphSplitter.addPane(m_centerPanel);
m_graphSplitter.addPane(m_bottomPanel);
m_graphTaggingSplitter = new JideSplitPane() {
private static final long serialVersionUID = -9037540212052390552L;
// ESCA-JAVA0025: Workaround for Case 1168
@Override
public void updateUI() {
// Workaround for Case 1168: The mere presence of a JIDE component
// screws up the look and feel.
}
};
m_graphTaggingSplitter.setOrientation(JideSplitPane.HORIZONTAL_SPLIT);
m_graphTaggingSplitter.addPane(m_leftPanel);
m_graphTaggingSplitter.addPane(m_graphSplitter);
m_graphTaggingSplitter.addPane(m_rightPanel);
m_graphTaggingSplitter.setDoubleBuffered(true);
m_graphTaggingSplitter.setOneTouchExpandable(true);
m_graphTaggingSplitter.setMinimumSize(new Dimension(0, 0));
m_graphSplitter.setDoubleBuffered(true);
m_graphSplitter.setOneTouchExpandable(true);
m_graphSplitter.setMinimumSize(new Dimension(0, 0));
add(m_graphTaggingSplitter);
add(m_toolBar, BorderLayout.NORTH);
}