Class JInternalFrameExtensions

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addComponentToFrame​(javax.swing.JInternalFrame internalFrame, java.awt.Component component)
      Adds the given Component object to the given JInternalFrame object.
      static void addJInternalFrame​(javax.swing.JDesktopPane desktopPane, javax.swing.JInternalFrame internalFrame)
      Adds the given JInternalFrame to the given JDesktopPane and bring it to the front.
      static void addViewToFrame​(javax.swing.JInternalFrame internalFrame, View<?,​?> view)
      Adds the given View object to the given JInternalFrame object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JInternalFrameExtensions

        public JInternalFrameExtensions()
    • Method Detail

      • addViewToFrame

        public static void addViewToFrame​(javax.swing.JInternalFrame internalFrame,
                                          View<?,​?> view)
        Adds the given View object to the given JInternalFrame object.
        Parameters:
        internalFrame - the JInternalFrame object.
        view - the View object to add
      • addComponentToFrame

        public static void addComponentToFrame​(javax.swing.JInternalFrame internalFrame,
                                               java.awt.Component component)
        Adds the given Component object to the given JInternalFrame object.
        Parameters:
        internalFrame - the JInternalFrame object.
        component - the Component object to add
      • addJInternalFrame

        public static void addJInternalFrame​(javax.swing.JDesktopPane desktopPane,
                                             javax.swing.JInternalFrame internalFrame)
        Adds the given JInternalFrame to the given JDesktopPane and bring it to the front.
        Parameters:
        desktopPane - the desktop pane
        internalFrame - the internal frame