Package Summary  Overview Summary

class:BasicInternalFrameUI [NONE]

Direct Known Subclasses:
MetalInternalFrameUI, SynthInternalFrameUI

public class BasicInternalFrameUI
extends InternalFrameUI
A basic L&F implementation of JInternalFrame.

field:frame [NONE]

  • frame

    protected JInternalFrame frame
    frame
  • field:borderListener [NONE]

    borderListener

    protected MouseInputAdapter borderListener
    Border listener

    field:propertyChangeListener [NONE]

    propertyChangeListener

    protected PropertyChangeListener propertyChangeListener
    Property change listener

    field:internalFrameLayout [NONE]

    internalFrameLayout

    protected LayoutManager internalFrameLayout
    Internal frame layout

    field:componentListener [NONE]

    componentListener

    protected ComponentListener componentListener
    Component listener

    field:glassPaneDispatcher [NONE]

    glassPaneDispatcher

    protected MouseInputListener glassPaneDispatcher
    Glass pane dispatcher

    field:northPane [NONE]

    northPane

    protected JComponent northPane
    North pane

    field:southPane [NONE]

    southPane

    protected JComponent southPane
    South pane

    field:westPane [NONE]

    westPane

    protected JComponent westPane
    West pane

    field:eastPane [NONE]

    eastPane

    protected JComponent eastPane
    East pane

    field:titlePane [NONE]

    titlePane

    protected BasicInternalFrameTitlePane titlePane
    Title pane

    field:openMenuKey [NONE]

    openMenuKey

    @Deprecatedprotected KeyStroke openMenuKey
    Deprecated.
    As of Java 2 platform v1.3.
    As of Java 2 platform v1.3 this previously undocumented field is no longer used. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.

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

    method:createUI(javax.swing.JComponent) [NONE]

  • createUI

    public static  ComponentUI createUI?(JComponent b)
    Returns a component UI.
    Parameters:
    b - a component
    Returns:
    a component UI
  • method:installUI(javax.swing.JComponent) [NONE]

    installUI

    public void installUI?(JComponent c)
    Installs the UI.
    Overrides:
    installUI in class ComponentUI
    Parameters:
    c - the component
    See Also:
    ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

    method:uninstallUI(javax.swing.JComponent) [NONE]

    uninstallUI

    public void uninstallUI?(JComponent c)
    Uninstalls the UI.
    Overrides:
    uninstallUI in class ComponentUI
    Parameters:
    c - the component
    See Also:
    ComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()

    method:installDefaults() [NONE]

    installDefaults

    protected void installDefaults()
    Installs the defaults.

    method:installKeyboardActions() [NONE]

    installKeyboardActions

    protected void installKeyboardActions()
    Installs the keyboard actions.

    method:installComponents() [NONE]

    installComponents

    protected void installComponents()
    Installs the components.

    method:installListeners() [NONE]

    installListeners

    protected void installListeners()
    Installs the listeners.
    Since:
    1.3

    method:uninstallDefaults() [NONE]

    uninstallDefaults

    protected void uninstallDefaults()
    Uninstalls the defaults.

    method:uninstallComponents() [NONE]

    uninstallComponents

    protected void uninstallComponents()
    Uninstalls the components.

    method:uninstallListeners() [NONE]

    uninstallListeners

    protected void uninstallListeners()
    Uninstalls the listeners.
    Since:
    1.3

    method:uninstallKeyboardActions() [NONE]

    uninstallKeyboardActions

    protected void uninstallKeyboardActions()
    Uninstalls the keyboard actions.

    method:createLayoutManager() [NONE]

    createLayoutManager

    protected LayoutManager createLayoutManager()
    Creates the layout manager.
    Returns:
    the layout manager

    method:createPropertyChangeListener() [NONE]

    createPropertyChangeListener

    protected PropertyChangeListener createPropertyChangeListener()
    Creates the property change listener.
    Returns:
    the property change listener

    method:getPreferredSize(javax.swing.JComponent) [NONE]

    getPreferredSize

    public Dimension getPreferredSize?(JComponent x)
    Returns the preferred size.
    Overrides:
    getPreferredSize in class ComponentUI
    Parameters:
    x - the component
    Returns:
    the preferred size
    See Also:
    JComponent.getPreferredSize(), LayoutManager.preferredLayoutSize(java.awt.Container)

    method:getMinimumSize(javax.swing.JComponent) [NONE]

    getMinimumSize

    public Dimension getMinimumSize?(JComponent x)
    Returns the minimum size.
    Overrides:
    getMinimumSize in class ComponentUI
    Parameters:
    x - the component
    Returns:
    the minimum size
    See Also:
    JComponent.getMinimumSize(), LayoutManager.minimumLayoutSize(java.awt.Container), ComponentUI.getPreferredSize(javax.swing.JComponent)

    method:getMaximumSize(javax.swing.JComponent) [NONE]

    getMaximumSize

    public Dimension getMaximumSize?(JComponent x)
    Returns the maximum size.
    Overrides:
    getMaximumSize in class ComponentUI
    Parameters:
    x - the component
    Returns:
    the maximum size
    See Also:
    JComponent.getMaximumSize(), LayoutManager2.maximumLayoutSize(java.awt.Container)

    method:replacePane(javax.swing.JComponent,javax.swing.JComponent) [NONE]

    replacePane

    protected void replacePane?(JComponent currentPane, JComponent newPane)
    Installs necessary mouse handlers on newPane and adds it to the frame. Reverse process for the currentPane.
    Parameters:
    currentPane - this Jcomponent is the current pane being viewed that has mouse handlers installed
    newPane - this Jcomponent is the pane which will be added and have mouse handlers installed

    method:deinstallMouseHandlers(javax.swing.JComponent) [NONE]

    deinstallMouseHandlers

    protected void deinstallMouseHandlers?(JComponent c)
    Deinstalls the mouse handlers.
    Parameters:
    c - the component

    method:installMouseHandlers(javax.swing.JComponent) [NONE]

    installMouseHandlers

    protected void installMouseHandlers?(JComponent c)
    Installs the mouse handlers.
    Parameters:
    c - the component

    method:createNorthPane(javax.swing.JInternalFrame) [NONE]

    createNorthPane

    protected JComponent createNorthPane?(JInternalFrame w)
    Creates the north pane.
    Parameters:
    w - the internal frame
    Returns:
    the north pane

    method:createSouthPane(javax.swing.JInternalFrame) [NONE]

    createSouthPane

    protected JComponent createSouthPane?(JInternalFrame w)
    Creates the north pane.
    Parameters:
    w - the internal frame
    Returns:
    the north pane

    method:createWestPane(javax.swing.JInternalFrame) [NONE]

    createWestPane

    protected JComponent createWestPane?(JInternalFrame w)
    Creates the west pane.
    Parameters:
    w - the internal frame
    Returns:
    the west pane

    method:createEastPane(javax.swing.JInternalFrame) [NONE]

    createEastPane

    protected JComponent createEastPane?(JInternalFrame w)
    Creates the east pane.
    Parameters:
    w - the internal frame
    Returns:
    the east pane

    method:createBorderListener(javax.swing.JInternalFrame) [NONE]

    createBorderListener

    protected MouseInputAdapter createBorderListener?(JInternalFrame w)
    Creates the border listener.
    Parameters:
    w - the internal frame
    Returns:
    the border listener

    method:createInternalFrameListener() [NONE]

    createInternalFrameListener

    protected void createInternalFrameListener()
    Creates the internal frame listener.

    method:isKeyBindingRegistered() [NONE]

    isKeyBindingRegistered

    protected final  boolean isKeyBindingRegistered()
    Returns whether or no the key binding is registered.
    Returns:
    whether or no the key binding is registered

    method:setKeyBindingRegistered(boolean) [NONE]

    setKeyBindingRegistered

    protected final  void setKeyBindingRegistered?(boolean b)
    Sets the key binding registration.
    Parameters:
    b - new value for key binding registration

    method:isKeyBindingActive() [NONE]

    isKeyBindingActive

    public final  boolean isKeyBindingActive()
    Returns whether or no the key binding is active.
    Returns:
    whether or no the key binding is active

    method:setKeyBindingActive(boolean) [NONE]

    setKeyBindingActive

    protected final  void setKeyBindingActive?(boolean b)
    Sets the key binding activity.
    Parameters:
    b - new value for key binding activity

    method:setupMenuOpenKey() [NONE]

    setupMenuOpenKey

    protected void setupMenuOpenKey()
    Setup the menu open key.

    method:setupMenuCloseKey() [NONE]

    setupMenuCloseKey

    protected void setupMenuCloseKey()
    Setup the menu close key.

    method:getNorthPane() [NONE]

    getNorthPane

    public JComponent getNorthPane()
    Returns the north pane.
    Returns:
    the north pane

    method:setNorthPane(javax.swing.JComponent) [NONE]

    setNorthPane

    public void setNorthPane?(JComponent c)
    Sets the north pane.
    Parameters:
    c - the new north pane

    method:getSouthPane() [NONE]

    getSouthPane

    public JComponent getSouthPane()
    Returns the south pane.
    Returns:
    the south pane

    method:setSouthPane(javax.swing.JComponent) [NONE]

    setSouthPane

    public void setSouthPane?(JComponent c)
    Sets the south pane.
    Parameters:
    c - the new south pane

    method:getWestPane() [NONE]

    getWestPane

    public JComponent getWestPane()
    Returns the west pane.
    Returns:
    the west pane

    method:setWestPane(javax.swing.JComponent) [NONE]

    setWestPane

    public void setWestPane?(JComponent c)
    Sets the west pane.
    Parameters:
    c - the new west pane

    method:getEastPane() [NONE]

    getEastPane

    public JComponent getEastPane()
    Returns the east pane.
    Returns:
    the east pane

    method:setEastPane(javax.swing.JComponent) [NONE]

    setEastPane

    public void setEastPane?(JComponent c)
    Sets the east pane.
    Parameters:
    c - the new east pane

    method:getDesktopManager() [NONE]

    getDesktopManager

    protected DesktopManager getDesktopManager()
    Returns the proper DesktopManager. Calls getDesktopPane() to find the JDesktop component and returns the desktopManager from it. If this fails, it will return a default DesktopManager that should work in arbitrary parents.
    Returns:
    the proper DesktopManager

    method:createDesktopManager() [NONE]

    createDesktopManager

    protected DesktopManager createDesktopManager()
    Creates the desktop manager.
    Returns:
    the desktop manager

    method:closeFrame(javax.swing.JInternalFrame) [NONE]

    closeFrame

    protected void closeFrame?(JInternalFrame f)
    This method is called when the user wants to close the frame. The playCloseSound Action is fired. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:maximizeFrame(javax.swing.JInternalFrame) [NONE]

    maximizeFrame

    protected void maximizeFrame?(JInternalFrame f)
    This method is called when the user wants to maximize the frame. The playMaximizeSound Action is fired. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:minimizeFrame(javax.swing.JInternalFrame) [NONE]

    minimizeFrame

    protected void minimizeFrame?(JInternalFrame f)
    This method is called when the user wants to minimize the frame. The playRestoreDownSound Action is fired. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:iconifyFrame(javax.swing.JInternalFrame) [NONE]

    iconifyFrame

    protected void iconifyFrame?(JInternalFrame f)
    This method is called when the user wants to iconify the frame. The playMinimizeSound Action is fired. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:deiconifyFrame(javax.swing.JInternalFrame) [NONE]

    deiconifyFrame

    protected void deiconifyFrame?(JInternalFrame f)
    This method is called when the user wants to deiconify the frame. The playRestoreUpSound Action is fired. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:activateFrame(javax.swing.JInternalFrame) [NONE]

    activateFrame

    protected void activateFrame?(JInternalFrame f)
    This method is called when the frame becomes selected. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:deactivateFrame(javax.swing.JInternalFrame) [NONE]

    deactivateFrame

    protected void deactivateFrame?(JInternalFrame f)
    This method is called when the frame is no longer selected. This action is delegated to the desktopManager.
    Parameters:
    f - the JInternalFrame being viewed

    method:createComponentListener() [NONE]

    createComponentListener

    protected ComponentListener createComponentListener()
    Creates a component listener.
    Returns:
    a component listener

    method:createGlassPaneDispatcher() [NONE]

    createGlassPaneDispatcher

    protected MouseInputListener createGlassPaneDispatcher()
    Creates a GlassPaneDispatcher.
    Returns:
    a GlassPaneDispatcher

    © 2020 Oracle Corporation and/or its affiliates