java.lang.Object | |||
↳ | javax.swing.plaf.ComponentUI | ||
↳ | javax.swing.plaf.InternalFrameUI | ||
↳ | javax.swing.plaf.basic.BasicInternalFrameUI |
![]() |
A basic L&F implementation of JInternalFrame.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BasicInternalFrameUI.BasicInternalFrameListener | |||||||||||
BasicInternalFrameUI.BorderListener | Listens for border adjustments. | ||||||||||
BasicInternalFrameUI.ComponentHandler | |||||||||||
BasicInternalFrameUI.GlassPaneDispatcher | |||||||||||
BasicInternalFrameUI.InternalFrameLayout | |||||||||||
BasicInternalFrameUI.InternalFramePropertyChangeListener |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
borderListener | |||||||||||
componentListener | |||||||||||
eastPane | |||||||||||
frame | |||||||||||
glassPaneDispatcher | |||||||||||
internalFrameLayout | |||||||||||
northPane | |||||||||||
openMenuKey | This field is deprecated. As of Java 2 platform v1.3. | ||||||||||
propertyChangeListener | |||||||||||
southPane | |||||||||||
titlePane | |||||||||||
westPane |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the specified component's maximum size appropriate for
the look and feel.
| |||||||||||
Returns the specified component's minimum size appropriate for
the look and feel.
| |||||||||||
Returns the specified component's preferred size appropriate for
the look and feel.
| |||||||||||
Configures the specified component appropriate for the look and feel.
| |||||||||||
Reverses configuration which was done on the specified component during
installUI . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
This field is 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.
Returns the specified component's maximum size appropriate for
the look and feel. If null
is returned, the maximum
size will be calculated by the component's layout manager instead
(this is the preferred approach for any component with a specific
layout manager installed). The default implementation of this
method invokes getPreferredSize
and returns that value.
x | the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components |
---|
Dimension
object or null
Returns the specified component's minimum size appropriate for
the look and feel. If null
is returned, the minimum
size will be calculated by the component's layout manager instead
(this is the preferred approach for any component with a specific
layout manager installed). The default implementation of this
method invokes getPreferredSize
and returns that value.
x | the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components |
---|
Dimension
object or null
Returns the specified component's preferred size appropriate for
the look and feel. If null
is returned, the preferred
size will be calculated by the component's layout manager instead
(this is the preferred approach for any component with a specific
layout manager installed). The default implementation of this
method returns null
.
x | the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components |
---|
Configures the specified component appropriate for the look and feel.
This method is invoked when the ComponentUI
instance is being installed
as the UI delegate on the specified component. This method should
completely configure the component for the look and feel,
including the following:
LayoutManager
on the component if necessary.
PropertyChangeListener
on the component in order
to detect and respond to component property changes appropriately.
c | the component where this UI delegate is being installed |
---|
Reverses configuration which was done on the specified component during
installUI
. This method is invoked when this
UIComponent
instance is being removed as the UI delegate
for the specified component. This method should undo the
configuration performed in installUI
, being careful to
leave the JComponent
instance in a clean state (no
extraneous listeners, look-and-feel-specific property objects, etc.).
This should include the following:
c | the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components |
---|
This method is called when the frame becomes selected. This action is delegated to the desktopManager.
This method is called when the user wants to close the frame.
The playCloseSound
Action is fired.
This action is delegated to the desktopManager.
This method is called when the frame is no longer selected. This action is delegated to the desktopManager.
This method is called when the user wants to deiconify the frame.
The playRestoreUpSound
Action is fired.
This action is delegated to the desktopManager.
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.
This method is called when the user wants to iconify the frame.
The playMinimizeSound
Action is fired.
This action is delegated to the desktopManager.
This method is called when the user wants to maximize the frame.
The playMaximizeSound
Action is fired.
This action is delegated to the desktopManager.
This method is called when the user wants to minimize the frame.
The playRestoreDownSound
Action is fired.
This action is delegated to the desktopManager.
Installs necessary mouse handlers on newPane
and adds it to the frame.
Reverse process for the currentPane
.