javax.swing.plaf.metal
public class MetalInternalFrameUI extends BasicInternalFrameUI
Field Summary | |
---|---|
protected static String | IS_PALETTE
The key ( JInternalFrame.isPalette ) for the client property
that controls whether the internal frame is displayed using the palette
style. |
Constructor Summary | |
---|---|
MetalInternalFrameUI(JInternalFrame frame)
Constructs a new instance of MetalInternalFrameUI .
|
Method Summary | |
---|---|
protected JComponent | createNorthPane(JInternalFrame w)
Creates and returns the component that will be used for the north pane
of the {@link JInternalFrame}.
|
static ComponentUI | createUI(JComponent component)
Returns an instance of MetalInternalFrameUI .
|
protected void | installKeyboardActions()
Installs keyboard actions. |
protected void | installListeners()
Adds the required listeners. |
void | installUI(JComponent c)
Sets the fields and properties for the component.
|
void | setPalette(boolean isPalette)
Sets the state of the {@link JInternalFrame} to reflect whether or not
it is using the palette style. |
protected void | uninstallListeners()
Removes the listeners used. |
JInternalFrame.isPalette
) for the client property
that controls whether the internal frame is displayed using the palette
style.MetalInternalFrameUI
.
Parameters: frame the frame.
Parameters: w the internal frame.
Returns: A new instance of {@link MetalInternalFrameTitlePane}.
MetalInternalFrameUI
.
Parameters: component the internal frame.
Returns: an instance of MetalInternalFrameUI
.
showSystemMenu
Action that is installed by the
BasicInternalFrameUI
, since Metal JInternalFrames don't have
a system menu.Parameters: c the component.
Parameters: isPalette use the palette style?