Changed Methods |
void addImpl(Component, Object, int)
|
Documentation changed from old to new. |
Ensures that by default children cannot be added directly to this component. |
void addInternalFrameListener(InternalFrameListener )
|
Documentation changed from old to new. |
Adds the specified listener to receive internal frame events from this internal frame. |
void dispose()
|
Documentation changed from old to new. |
Makes this internal frame invisible unselected and closed. |
void doDefaultCloseAction()
|
Documentation changed from old to new. |
Fires an INTERNAL_FRAME_CLOSING event and then performs the action specified by the internal frame's default close operation. |
void fireInternalFrameEvent(int )
|
Documentation changed from old to new. |
Fires an internal frame event. |
AccessibleContext getAccessibleContext()
|
Documentation changed from old to new. |
Gets the AccessibleContext associated with this JInternalFrame . |
Container getContentPane()
|
Documentation changed from old to new. |
Returns the content pane for this internal frame. |
int getDefaultCloseOperation()
|
Documentation changed from old to new. |
Returns the default operation that occurs when the user initiates a "close" on this internal frame. |
JDesktopIcon getDesktopIcon()
|
Documentation changed from old to new. |
Returns the JDesktopIcon used when this JInternalFrame is iconified. |
JDesktopPane getDesktopPane()
|
Documentation changed from old to new. |
Convenience method that searches the ancestor hierarchy for a JDesktop instance. |
Component getFocusOwner()
|
Documentation changed from old to new. |
If this JInternalFrame is active returns the child that has focus. |
Icon getFrameIcon()
|
Documentation changed from old to new. |
Returns the image displayed in the title bar of this internal frame (usually in the top-left corner). |
Component getGlassPane()
|
Documentation changed from old to new. |
Returns the glass pane for this internal frame. |
JMenuBar getJMenuBar()
|
Documentation changed from old to new. |
Returns the current JMenuBar for this JInternalFrame or null if no menu bar has been set. |
int getLayer()
|
Documentation changed from old to new. |
Convenience method for getting the layer attribute of this component. |
JLayeredPane getLayeredPane()
|
Documentation changed from old to new. |
Returns the layered pane for this internal frame. |
JMenuBar getMenuBar()
|
Documentation changed from old to new. |
As of Swing version 1.0.3, replaced by getJMenuBar() . |
Rectangle getNormalBounds()
|
Documentation changed from old to new. |
If the JInternalFrame is not in maximized state returns getBounds() ; otherwise returns the bounds that the JInternalFrame would be restored to. |
JRootPane getRootPane()
|
Documentation changed from old to new. |
Returns the rootPane object for this internal frame. |
String getTitle()
|
Documentation changed from old to new. |
Returns the title of the JInternalFrame . |
InternalFrameUI getUI()
|
Documentation changed from old to new. |
Returns the look-and-feel object that renders this component. |
String getUIClassID()
|
Documentation changed from old to new. |
Returns the name of the look-and-feel class that renders this component. |
String getWarningString()
|
Documentation changed from old to new. |
Gets the warning string that is displayed with this internal frame. |
boolean isClosable()
|
Documentation changed from old to new. |
Returns whether this JInternalFrame can be closed by some user action. |
boolean isClosed()
|
Documentation changed from old to new. |
Returns whether this JInternalFrame is currently closed. |
boolean isIcon()
|
Documentation changed from old to new. |
Returns whether the JInternalFrame is currently iconified. |
boolean isIconifiable()
|
Documentation changed from old to new. |
Gets the iconable property which by default is false . |
boolean isMaximizable()
|
Documentation changed from old to new. |
Gets the value of the maximizable property. |
boolean isMaximum()
|
Documentation changed from old to new. |
Returns whether the JInternalFrame is currently maximized. |
boolean isResizable()
|
Documentation changed from old to new. |
Returns whether the JInternalFrame can be resized by some user action. |
boolean isRootPaneCheckingEnabled()
|
Documentation changed from old to new. |
Returns whether calls to add and setLayout cause an exception to be thrown. |
boolean isSelected()
|
Documentation changed from old to new. |
Returns whether the JInternalFrame is the currently "selected" or active frame. |
void moveToBack()
|
Documentation changed from old to new. |
Convenience method that moves this component to position -1 if its parent is a JLayeredPane . |
void moveToFront()
|
Documentation changed from old to new. |
Convenience method that moves this component to position 0 if its parent is a JLayeredPane . |
void pack()
|
Documentation changed from old to new. |
Causes subcomponents of this JInternalFrame to be laid out at their preferred size. |
void paintComponent(Graphics )
|
Documentation changed from old to new. |
Overridden to allow optimized painting when the internal frame is being dragged. |
String paramString()
|
Documentation changed from old to new. |
Returns a string representation of this JInternalFrame . |
void reshape(int, int, int, int)
|
Documentation changed from old to new. |
Moves and resizes this component. |
void restoreSubcomponentFocus()
|
Documentation changed from old to new. |
Requests the internal frame to restore focus to the last subcomponent that had focus. |
void setClosable(boolean )
|
Documentation changed from old to new. |
Sets whether this JInternalFrame can be closed by some user action. |
void setClosed(boolean )
|
Documentation changed from old to new. |
Closes this internal frame if the argument is true . |
void setContentPane(Container )
|
Documentation changed from old to new. |
Sets this JInternalFrame 's contentPane property. |
void setDefaultCloseOperation(int )
|
Documentation changed from old to new. |
Sets the operation that will happen by default when the user initiates a "close" on this internal frame. |
void setDesktopIcon(JDesktopIcon )
|
Documentation changed from old to new. |
Sets the JDesktopIcon associated with this JInternalFrame . |
void setFrameIcon(Icon )
|
Documentation changed from old to new. |
Sets an image to be displayed in the titlebar of this internal frame (usually in the top-left corner). |
void setGlassPane(Component )
|
Documentation changed from old to new. |
Sets this JInternalFrame 's glassPane property. |
void setIcon(boolean )
|
Documentation changed from old to new. |
Iconifies or de-iconifies this internal frame if the look and feel supports iconification. |
void setIconifiable(boolean )
|
Documentation changed from old to new. |
Sets the iconable property which must be true for the user to be able to make the JInternalFrame an icon. |
void setJMenuBar(JMenuBar )
|
Documentation changed from old to new. |
Sets the menuBar property for this JInternalFrame . |
void setLayeredPane(JLayeredPane )
|
Documentation changed from old to new. |
Sets this JInternalFrame 's layeredPane property. |
void setLayout(LayoutManager )
|
Documentation changed from old to new. |
Ensures that by default the layout of this component cannot be set. |
void setMaximizable(boolean )
|
Documentation changed from old to new. |
Sets the maximizable property which determines whether the JInternalFrame can be maximized by some user action. |
void setMaximum(boolean )
|
Documentation changed from old to new. |
Maximizes and restores this internal frame. |
void setMenuBar(JMenuBar )
|
Documentation changed from old to new. |
As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m) . |
void setNormalBounds(Rectangle )
|
Documentation changed from old to new. |
Sets the normal bounds for this internal frame the bounds that this internal frame would be restored to from its maximized state. |
void setResizable(boolean )
|
Documentation changed from old to new. |
Sets whether the JInternalFrame can be resized by some user action. |
void setRootPane(JRootPane )
|
Documentation changed from old to new. |
Sets the rootPane property for this JInternalFrame . |
void setRootPaneCheckingEnabled(boolean )
|
Documentation changed from old to new. |
Determines whether calls to add and setLayout cause an exception to be thrown. |
void setSelected(boolean )
|
Documentation changed from old to new. |
Selects or deselects the internal frame if it's showing. |
void toBack()
|
Documentation changed from old to new. |
Sends this internal frame to the back. |
void toFront()
|
Documentation changed from old to new. |
Brings this internal frame to the front. |
void updateUI()
|
Documentation changed from old to new. |
Notification from the UIManager that the look and feel has changed. |
void setLayer(int )
|
Documentation changed from old to new. |
Convenience method for setting the layer attribute of this component. |
void setLayer(Integer )
|
Documentation changed from old to new. |
Convenience method for setting the layer attribute of this component. |
void setUI(InternalFrameUI )
|
Documentation changed from old to new. |
Sets the UI delegate for this JInternalFrame . |
void show()
|
Documentation changed from old to new. |
If the internal frame is not visible brings the internal frame to the front makes it visible and attempts to select it. |