Package de.alpharogroup.layout
Class ReplaceContentExtensions
- java.lang.Object
-
- de.alpharogroup.layout.ReplaceContentExtensions
-
public class ReplaceContentExtensions extends java.lang.ObjectThe classReplaceContentExtensions
-
-
Constructor Summary
Constructors Constructor Description ReplaceContentExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidreplaceContent(javax.swing.JComponent container, javax.swing.JComponent content, boolean scrollable)Replace the content of the given container.static voidreplaceContentInMultiSplitPane(javax.swing.JComponent container, javax.swing.JComponent content, boolean scrollable)Replace the content of the given container.
-
-
-
Method Detail
-
replaceContent
public static void replaceContent(javax.swing.JComponent container, javax.swing.JComponent content, boolean scrollable)Replace the content of the given container.- Parameters:
container- the containercontent- the contentscrollable- the flag if true the new content will be embedded in aJScrollPane
-
replaceContentInMultiSplitPane
public static void replaceContentInMultiSplitPane(javax.swing.JComponent container, javax.swing.JComponent content, boolean scrollable)Replace the content of the given container.- Parameters:
container- the containercontent- the contentscrollable- the flag if true the new content will be embedded in aJScrollPane
-
-