Interface IFrame

All Known Implementing Classes:
ExternalFrame, InternalFrame

public interface IFrame
This interface is a model for CorePlugin windows. When CorePlugin receives an IWindow object, it creates a JInternalFrame or a JDialog, depending on the specified properties. This interface allows coreplugin to talk to JInternalFrames and JDialogs in a uniform way.
Author:
Cesar Martinez Izquierdo invalid input: '<'cesar.martinez@iver.es>
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the window bounds.
    int
    Gets the window height.
    Gets the minimum allowed size for this window.
    Gets the title property
    int
    Gets the window width.
    int
    Returns the current x coordinate of the window's origin.
    int
    Returns the current y coordinate of the window's origin.
    void
    Sets the window bounds.
    void
    setHeight(int height)
    Sets the window height.
    void
    setLocation(int x, int y)
     
    void
    Sets the minimum allowed size for this window.
    void
    Sets the title property.
    void
    setWidth(int width)
    Sets the window width.
    void
    setX(int x)
    Sets the value of the x coordinate for the origin of the associated window.
    void
    setY(int y)
    Sets the value of the y coordinate for the origin of the associated window.
  • Method Details

    • getTitle

      String getTitle()
      Gets the title property
      Returns:
    • setTitle

      void setTitle(String title)
      Sets the title property.
      Parameters:
      title - The new title.
    • getX

      int getX()
      Returns the current x coordinate of the window's origin.
      Returns:
      Returns the value (in pixels) of the x coordinate of the window's origin.
    • setX

      void setX(int x)
      Sets the value of the x coordinate for the origin of the associated window.
      Parameters:
      x - The value (in pixels) of the x coordinate
    • getY

      int getY()
      Returns the current y coordinate of the window's origin.
      Returns:
      Returns the value (in pixels) of the y coordinate of the window's origin.
    • setY

      void setY(int y)
      Sets the value of the y coordinate for the origin of the associated window.
      Parameters:
      y - The value (in pixels) of the y coordinate
    • getHeight

      int getHeight()
      Gets the window height.
      Returns:
      The window height (in pixels).
    • getWidth

      int getWidth()
      Gets the window width.
      Returns:
      The window width (in pixels).
    • setHeight

      void setHeight(int height)
      Sets the window height.
      Parameters:
      height - the window height (in pixels)
    • setWidth

      void setWidth(int width)
      Sets the window width.
      Parameters:
      The - window width (in pixels)
    • getMinimumSize

      Dimension getMinimumSize()
      Gets the minimum allowed size for this window.
      Returns:
      minSize The minimum allowed size for this window.
    • setMinimumSize

      void setMinimumSize(Dimension minSize)
      Sets the minimum allowed size for this window. If null is provided, the minimum size is disabled (and thus the window can be resized to any size).
      Parameters:
      minSize - The minimum allowed size for this window.
    • getBounds

      Rectangle getBounds()
      Gets the window bounds.
      Returns:
      The window bounds.
    • setBounds

      void setBounds(Rectangle bounds)
      Sets the window bounds.
      Parameters:
      bounds - The window bounds.
    • setLocation

      void setLocation(int x, int y)