Class MetalInternalFrameTitlePane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class MetalInternalFrameTitlePane extends BasicInternalFrameTitlePane
Class that manages a JLF title bar
Since:
1.3
  • Field Details Link icon

    • isPalette Link icon

      protected boolean isPalette
      The value isPalette
    • paletteCloseIcon Link icon

      protected Icon paletteCloseIcon
      The palette close icon.
    • paletteTitleHeight Link icon

      protected int paletteTitleHeight
      The height of the palette title.
  • Constructor Details Link icon

    • MetalInternalFrameTitlePane Link icon

      public MetalInternalFrameTitlePane(JInternalFrame f)
      Constructs a new instance of MetalInternalFrameTitlePane
      Parameters:
      f - an instance of JInternalFrame
  • Method Details Link icon

    • assembleSystemMenu Link icon

      protected void assembleSystemMenu()
      Override the parent's method to do nothing. Metal frames do not have system menus.
      Overrides:
      assembleSystemMenu in class BasicInternalFrameTitlePane
    • addSystemMenuItems Link icon

      protected void addSystemMenuItems(JMenu systemMenu)
      Override the parent's method to do nothing. Metal frames do not have system menus.
      Overrides:
      addSystemMenuItems in class BasicInternalFrameTitlePane
      Parameters:
      systemMenu - an instance of JMenu
    • showSystemMenu Link icon

      protected void showSystemMenu()
      Override the parent's method to do nothing. Metal frames do not have system menus.
      Overrides:
      showSystemMenu in class BasicInternalFrameTitlePane
    • addSubComponents Link icon

      protected void addSubComponents()
      Override the parent's method avoid creating a menu bar. Metal frames do not have system menus.
      Overrides:
      addSubComponents in class BasicInternalFrameTitlePane
    • paintPalette Link icon

      public void paintPalette(Graphics g)
      Paints palette.
      Parameters:
      g - a instance of Graphics
    • setPalette Link icon

      public void setPalette(boolean b)
      If b is true, sets palette icons.
      Parameters:
      b - if true, sets palette icons