| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class BasicInternalFrameUI extends InternalFrameUI
A basic L&F implementation of JInternalFrame.
Nested Class Summary | |
---|---|
protected class |
|
protected class |
Listens for border adjustments. |
protected class |
|
protected class |
|
class |
|
class |
|
Field Summary | |
---|---|
protected MouseInputAdapter |
borderListener
|
protected ComponentListener |
componentListener
|
protected JComponent |
eastPane
|
protected JInternalFrame |
frame
|
protected MouseInputListener |
glassPaneDispatcher
|
protected LayoutManager |
internalFrameLayout
|
protected JComponent |
northPane
|
protected KeyStroke |
openMenuKey
As of Java 2 platform v1.3 this previously undocumented field is no longer used. |
protected PropertyChangeListener |
propertyChangeListener
|
protected JComponent |
southPane
|
protected BasicInternalFrameTitlePane |
titlePane
|
protected JComponent |
westPane
|
Constructor Summary | |
---|---|
|
Method Summary | |
---|---|
protected void |
This method is called when the frame becomes selected. |
protected void |
This method is called when the user wants to close the frame. |
protected MouseInputAdapter |
|
protected ComponentListener |
|
protected DesktopManager |
|
protected JComponent |
|
protected MouseInputListener |
|
protected void |
|
protected LayoutManager |
|
protected JComponent |
|
protected PropertyChangeListener |
|
protected JComponent |
|
static ComponentUI |
|
protected JComponent |
|
protected void |
This method is called when the frame is no longer selected. |
protected void |
This method is called when the user wants to deiconify the frame. |
protected void |
|
protected DesktopManager |
Returns the proper DesktopManager. |
JComponent |
|
Dimension |
Returns the specified component's maximum size appropriate for the look and feel. |
Dimension |
Returns the specified component's minimum size appropriate for the look and feel. |
JComponent |
|
Dimension |
Returns the specified component's preferred size appropriate for the look and feel. |
JComponent |
|
JComponent |
|
protected void |
This method is called when the user wants to iconify the frame. |
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
Configures the specified component appropriate for the look and feel. |
boolean |
|
protected boolean |
|
protected void |
This method is called when the user wants to maximize the frame. |
protected void |
This method is called when the user wants to minimize the frame. |
protected void |
replacePane(JComponent currentPane, JComponent newPane) Installs necessary mouse handlers on newPane
and adds it to the frame.
|
void |
|
protected void |
setKeyBindingActive(boolean b) |
protected void |
setKeyBindingRegistered(boolean b) |
void |
|
void |
|
protected void |
|
protected void |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
Reverses configuration which was done on the specified component during installUI .
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MouseInputAdapter borderListener
protected ComponentListener componentListener
protected JComponent eastPane
protected JInternalFrame frame
protected MouseInputListener glassPaneDispatcher
protected LayoutManager internalFrameLayout
protected JComponent northPane
protected KeyStroke openMenuKey
protected PropertyChangeListener propertyChangeListener
protected JComponent southPane
protected BasicInternalFrameTitlePane titlePane
protected JComponent westPane
Constructor Detail |
---|
public BasicInternalFrameUI(JInternalFrame b)
b
Method Detail |
---|
protected void activateFrame(JInternalFrame f)
f
protected void closeFrame(JInternalFrame f)
playCloseSound
Action is fired.
This action is delegated to the desktopManager.
f
protected MouseInputAdapter createBorderListener(JInternalFrame w)
w
protected ComponentListener createComponentListener()
protected DesktopManager createDesktopManager()
protected JComponent createEastPane(JInternalFrame w)
w
protected MouseInputListener createGlassPaneDispatcher()
protected void createInternalFrameListener()
protected LayoutManager createLayoutManager()
protected JComponent createNorthPane(JInternalFrame w)
w
protected PropertyChangeListener createPropertyChangeListener()
protected JComponent createSouthPane(JInternalFrame w)
w
public static ComponentUI createUI(JComponent b)
b
protected JComponent createWestPane(JInternalFrame w)
w
protected void deactivateFrame(JInternalFrame f)
f
protected void deiconifyFrame(JInternalFrame f)
playRestoreUpSound
Action is fired.
This action is delegated to the desktopManager.
f
protected void deinstallMouseHandlers(JComponent c)
c
protected DesktopManager getDesktopManager()
public JComponent getEastPane()
public Dimension getMaximumSize(JComponent x)
getMaximumSize
in class ComponentUI
x
public Dimension getMinimumSize(JComponent x)
getMinimumSize
in class ComponentUI
x
public JComponent getNorthPane()
public Dimension getPreferredSize(JComponent x)
getPreferredSize
in class ComponentUI
x
public JComponent getSouthPane()
public JComponent getWestPane()
protected void iconifyFrame(JInternalFrame f)
playMinimizeSound
Action is fired.
This action is delegated to the desktopManager.
f
protected void installComponents()
protected void installDefaults()
protected void installKeyboardActions()
protected void installListeners()
protected void installMouseHandlers(JComponent c)
c
public void installUI(JComponent c)
installUI
in class ComponentUI
c
public final boolean isKeyBindingActive()
protected final boolean isKeyBindingRegistered()
protected void maximizeFrame(JInternalFrame f)
playMaximizeSound
Action is fired.
This action is delegated to the desktopManager.
f
protected void minimizeFrame(JInternalFrame f)
playRestoreDownSound
Action is fired.
This action is delegated to the desktopManager.
f
protected void replacePane(JComponent currentPane, JComponent newPane)
newPane
and adds it to the frame.
Reverse process for the currentPane
.
currentPane
newPane
public void setEastPane(JComponent c)
c
protected final void setKeyBindingActive(boolean b)
b
protected final void setKeyBindingRegistered(boolean b)
b
public void setNorthPane(JComponent c)
c
public void setSouthPane(JComponent c)
c
protected void setupMenuCloseKey()
protected void setupMenuOpenKey()
public void setWestPane(JComponent c)
c
protected void uninstallComponents()
protected void uninstallDefaults()
protected void uninstallKeyboardActions()
protected void uninstallListeners()
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
c
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |