Class InternalFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, IFrame

public class InternalFrame extends JInternalFrame implements IFrame
Author:
Cesar Martinez Izquierdo invalid input: '<'cesar.martinez@iver.es>
See Also:
  • Constructor Details

    • InternalFrame

      public InternalFrame()
      Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with no title.
    • InternalFrame

      public InternalFrame(String title)
      Creates a non-resizable, non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title. Note that passing in a null title results in unspecified behavior and possibly an exception.
      Parameters:
      title - the non-null String to display in the title bar
    • InternalFrame

      public InternalFrame(String title, boolean resizable)
      Creates a non-closable, non-maximizable, non-iconifiable JInternalFrame with the specified title and resizability.
      Parameters:
      title - the String to display in the title bar
      resizable - if true, the internal frame can be resized
    • InternalFrame

      public InternalFrame(String title, boolean resizable, boolean closable)
      Creates a non-maximizable, non-iconifiable JInternalFrame with the specified title, resizability, and closability.
      Parameters:
      title - the String to display in the title bar
      resizable - if true, the internal frame can be resized
      closable - if true, the internal frame can be closed
    • InternalFrame

      public InternalFrame(String title, boolean resizable, boolean closable, boolean maximizable)
      Creates a non-iconifiable JInternalFrame with the specified title, resizability, closability, and maximizability.
      Parameters:
      title - the String to display in the title bar
      resizable - if true, the internal frame can be resized
      closable - if true, the internal frame can be closed
      maximizable - if true, the internal frame can be maximized
    • InternalFrame

      public InternalFrame(String title, boolean resizable, boolean closable, boolean maximizable, boolean iconifiable)
      Creates a JInternalFrame with the specified title, resizability, closability, maximizability, and iconifiability. All JInternalFrame constructors use this one.
      Parameters:
      title - the String to display in the title bar
      resizable - if true, the internal frame can be resized
      closable - if true, the internal frame can be closed
      maximizable - if true, the internal frame can be maximized
      iconifiable - if true, the internal frame can be iconified
  • Method Details

    • setHeight

      public void setHeight(int height)
      Description copied from interface: IFrame
      Sets the window height.
      Specified by:
      setHeight in interface IFrame
      Parameters:
      height - the window height (in pixels)
    • setWidth

      public void setWidth(int width)
      Description copied from interface: IFrame
      Sets the window width.
      Specified by:
      setWidth in interface IFrame
    • setX

      public void setX(int x)
      Description copied from interface: IFrame
      Sets the value of the x coordinate for the origin of the associated window.
      Specified by:
      setX in interface IFrame
      Parameters:
      x - The value (in pixels) of the x coordinate
    • setY

      public void setY(int y)
      Description copied from interface: IFrame
      Sets the value of the y coordinate for the origin of the associated window.
      Specified by:
      setY in interface IFrame
      Parameters:
      y - The value (in pixels) of the y coordinate