模块 java.desktop

类 MetalInternalFrameTitlePane

所有已实现的接口:
ImageObserver , MenuContainer , Serializable

public class MetalInternalFrameTitlePane extends BasicInternalFrameTitlePane
管理 JLF 标题栏的类
自从:
1.3
  • 字段详细信息

    • isPalette

      protected boolean isPalette
      isPalette
    • paletteCloseIcon

      protected Icon  paletteCloseIcon
      调色板关闭图标。
    • paletteTitleHeight

      protected int paletteTitleHeight
      调色板标题的高度。
  • 构造方法详细信息

    • MetalInternalFrameTitlePane

      public MetalInternalFrameTitlePane(JInternalFrame  f)
      构造 MetalInternalFrameTitlePane 的新实例
      参数:
      f - JInternalFrame 的实例
  • 方法详情

    • assembleSystemMenu

      protected void assembleSystemMenu()
      重写父级的方法什么也不做。金属框架没有系统菜单。
      重写:
      assembleSystemMenu 在类 BasicInternalFrameTitlePane
    • addSystemMenuItems

      protected void addSystemMenuItems(JMenu  systemMenu)
      重写父级的方法什么也不做。金属框架没有系统菜单。
      重写:
      addSystemMenuItems 在类 BasicInternalFrameTitlePane
      参数:
      systemMenu - JMenu 的实例
    • showSystemMenu

      protected void showSystemMenu()
      重写父级的方法什么也不做。金属框架没有系统菜单。
      重写:
      showSystemMenu 在类 BasicInternalFrameTitlePane
    • addSubComponents

      protected void addSubComponents()
      重写父级的方法避免创建菜单栏。金属框架没有系统菜单。
      重写:
      addSubComponents 在类 BasicInternalFrameTitlePane
    • paintPalette

      public void paintPalette(Graphics  g)
      油漆调色板。
      参数:
      g - Graphics 的实例
    • setPalette

      public void setPalette(boolean b)
      如果 btrue ,则设置调色板图标。
      参数:
      b - 如果 true ,设置调色板图标