Class MetalInternalFrameUI


public class MetalInternalFrameUI extends BasicInternalFrameUI
Metal implementation of JInternalFrame.
  • Field Details Link icon

    • IS_PALETTE Link icon

      protected static String IS_PALETTE
      The property JInternalFrame.isPalette.
  • Constructor Details Link icon

    • MetalInternalFrameUI Link icon

      public MetalInternalFrameUI(JInternalFrame b)
      Constructs a new MetalInternalFrameUI instance.
      Parameters:
      b - an internal frame
  • Method Details Link icon

    • createUI Link icon

      public static ComponentUI createUI(JComponent c)
      Constructs a new MetalInternalFrameUI instance.
      Parameters:
      c - a component
      Returns:
      a new MetalInternalFrameUI instance
    • setPalette Link icon

      public void setPalette(boolean isPalette)
      If isPalette is true, sets palette border and title
      Parameters:
      isPalette - if true, sets palette border and title
    • createBorderListener Link icon

      protected MouseInputAdapter createBorderListener(JInternalFrame w)
      Returns the MouseInputAdapter that will be installed on the TitlePane.
      Overrides:
      createBorderListener in class BasicInternalFrameUI
      Parameters:
      w - the JInternalFrame
      Returns:
      the MouseInputAdapter that will be installed on the TitlePane.
      Since:
      1.6