Package Summary  Overview Summary

class:MetalInternalFrameTitlePane [NONE]

field:isPalette [NONE]

  • isPalette

    protected boolean isPalette
    The value isPalette

field:paletteCloseIcon [NONE]

  • paletteCloseIcon

    protected Icon paletteCloseIcon
    The palette close icon.

field:paletteTitleHeight [NONE]

  • paletteTitleHeight

    protected int paletteTitleHeight
    The height of the palette title.

constructor:MetalInternalFrameTitlePane(javax.swing.JInternalFrame) [NONE]

  • MetalInternalFrameTitlePane

    public MetalInternalFrameTitlePane​(JInternalFrame f)
    Constructs a new instance of MetalInternalFrameTitlePane
    Parameters:
    f - an instance of JInternalFrame

method:addNotify() [NONE]

method:installDefaults() [NONE]

method:uninstallDefaults() [NONE]

method:createButtons() [NONE]

method:assembleSystemMenu() [NONE]

method:addSystemMenuItems(javax.swing.JMenu) [NONE]

  • addSystemMenuItems

    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

method:showSystemMenu() [NONE]

method:addSubComponents() [NONE]

  • addSubComponents

    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

method:createPropertyChangeListener() [NONE]

method:createLayout() [NONE]

method:paintPalette(java.awt.Graphics) [NONE]

  • paintPalette

    public void paintPalette​(Graphics g)
    Paints palette.
    Parameters:
    g - a instance of Graphics

method:paintComponent(java.awt.Graphics) [NONE]

  • paintComponent

    public void paintComponent​(Graphics g)
    Description copied from class: JComponent
    Calls the UI delegate's paint method, if the UI delegate is non-null. We pass the delegate a copy of the Graphics object to protect the rest of the paint code from irrevocable changes (for example, Graphics.translate).

    If you override this in a subclass you should not make permanent changes to the passed in Graphics. For example, you should not alter the clip Rectangle or modify the transform. If you need to do these operations you may find it easier to create a new Graphics from the passed in Graphics and manipulate it. Further, if you do not invoke super's implementation you must honor the opaque property, that is if this component is opaque, you must completely fill in the background in an opaque color. If you do not honor the opaque property you will likely see visual artifacts.

    The passed in Graphics object might have a transform other than the identify transform installed on it. In this case, you might get unexpected results if you cumulatively apply another transform.

    Overrides:
    paintComponent in class BasicInternalFrameTitlePane
    Parameters:
    g - the Graphics object to protect
    See Also:
    JComponent.paint(java.awt.Graphics), ComponentUI

method:setPalette(boolean) [NONE]

  • setPalette

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

© 2019 Oracle Corporation and/or its affiliates