Package de.alpharogroup.swing.utils
Class JInternalFrameExtensions
- java.lang.Object
-
- de.alpharogroup.swing.utils.JInternalFrameExtensions
-
public class JInternalFrameExtensions extends java.lang.ObjectThe ClassJInternalFrameExtensions.
-
-
Constructor Summary
Constructors Constructor Description JInternalFrameExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddComponentToFrame(javax.swing.JInternalFrame internalFrame, java.awt.Component component)Adds the givenComponentobject to the givenJInternalFrameobject.static voidaddJInternalFrame(javax.swing.JDesktopPane desktopPane, javax.swing.JInternalFrame internalFrame)Adds the givenJInternalFrameto the givenJDesktopPaneand bring it to the front.static voidaddViewToFrame(javax.swing.JInternalFrame internalFrame, View<?,?> view)Adds the givenViewobject to the givenJInternalFrameobject.
-
-
-
Method Detail
-
addViewToFrame
public static void addViewToFrame(javax.swing.JInternalFrame internalFrame, View<?,?> view)Adds the givenViewobject to the givenJInternalFrameobject.- Parameters:
internalFrame- theJInternalFrameobject.view- theViewobject to add
-
addComponentToFrame
public static void addComponentToFrame(javax.swing.JInternalFrame internalFrame, java.awt.Component component)Adds the givenComponentobject to the givenJInternalFrameobject.- Parameters:
internalFrame- theJInternalFrameobject.component- theComponentobject to add
-
addJInternalFrame
public static void addJInternalFrame(javax.swing.JDesktopPane desktopPane, javax.swing.JInternalFrame internalFrame)Adds the givenJInternalFrameto the givenJDesktopPaneand bring it to the front.- Parameters:
desktopPane- the desktop paneinternalFrame- the internal frame
-
-