protected void | addImpl(Component comp, Object constraints, int index)- This method adds Components to this Container.
|
void | addInternalFrameListener(InternalFrameListener l)- This method adds an InternalFrameListener to this JInternalFrame.
|
protected JRootPane | createRootPane()- This method is used to create a root pane for the JInternalFrame.
|
void | dispose()- This method makes this JInternalFrame invisible, unselected and closed.
|
void | doDefaultCloseAction()- This method is used for closing this JInternalFrame.
|
protected void | fireInternalFrameEvent(int id)- This method fires an InternalFrameEvent to the listeners.
|
AccessibleContext | getAccessibleContext()- Returns the object that provides accessibility features for this
JInternalFrame component.
|
Container | getContentPane()- This method returns the Content Pane for this JInternalFrame.
|
int | getDefaultCloseOperation()- Returns a code for the default action taken when this
JInternalFrame is closed.
|
JInternalFrame.JDesktopIcon | getDesktopIcon()- Returns the
JDesktopIcon that represents this
JInternalFrame while it is iconified.
|
JDesktopPane | getDesktopPane()- This method searches this JInternalFrame ancestors for an instance of
JDesktopPane.
|
Container | getFocusCycleRootAncestor()- This method returns null because this must always be the root of a focus
traversal.
|
Component | getFocusOwner()- This method returns the child Component that will receive focus if this
JInternalFrame is selected.
|
Icon | getFrameIcon()- This method returns the Frame Icon (the icon used in the JInternalFrame
TitlePane and iconified frame).
|
Component | getGlassPane()- This method returns the Glass Pane used with this JInternalFrame.
|
InternalFrameListener[] | getInternalFrameListeners()- This method returns an array of InternalFrameListeners that are listening
to this JInternalFrame.
|
JMenuBar | getJMenuBar()- This method returns the JMenuBar for this JInternalFrame.
|
int | getLayer()- This method returns the layer that this JInternalFrame resides in.
|
JLayeredPane | getLayeredPane()- This method returns the LayeredPane for this JInternalFrame.
|
JMenuBar | getMenuBar()- 1.0.3
|
Component | getMostRecentFocusOwner()- This method returns the child Component that will receive focus when the
JInternalFrame is selected.
|
Rectangle | getNormalBounds()- This method returns the bounds of the JInternalFrame if it is not
maximized.
|
JRootPane | getRootPane()- This method returns the Root Pane for this JInternalFrame.
|
String | getTitle()- Returns the frame's title.
|
InternalFrameUI | getUI()- This method returns the UI used to represent the JInternalFrame.
|
String | getUIClassID()- This method returns a String identifier that is used to determine which
class acts as the JInternalFrame's UI.
|
String | getWarningString()- This method returns null.
|
void | hide()- This method deselects this JInternalFrame and hides it.
|
boolean | isClosable()- This method returns whether this JInternalFrame is closable.
|
boolean | isClosed()- This method returns whether this JInternalFrame has been closed.
|
boolean | isFocusCycleRoot()- This must always return true.
|
boolean | isIcon()- This method returns whether this JInternalFrame is currently iconified.
|
boolean | isIconifiable()- This method returns whether the JInternalFrame can be iconified.
|
boolean | isMaximizable()- This method returns whether this JInternalFrame can be maximized.
|
boolean | isMaximum()- This method returns whether this JInternalFrame is currently maximized.
|
boolean | isResizable()- This method returns whether this JInternalFrame is resizable.
|
protected boolean | isRootPaneCheckingEnabled()- This method returns whether root pane checking is enabled.
|
boolean | isSelected()- This method returns whether this JInternalFrame is selected.
|
void | moveToBack()- A helper method that moves this JInternalFrame to the back if the parent
is a JLayeredPane.
|
void | moveToFront()- A helper method that moves this JInternalFrame to the front if the parent
is a JLayeredPane.
|
void | pack()- This method causes the children of this JInternalFrame to be laid out.
|
protected void | paintComponent(Graphics g)- This method is overridden to allow for speedier painting while this
JInternalFramme is being dragged.
|
protected String | paramString()- An implementation dependent string describing the current state of this
JInternalFrame instance.
|
void | remove(Component comp)- This method removes the given Component from the Container.
|
void | removeInternalFrameListener(InternalFrameListener l)- This method removes an InternalFrameListener from this JInternalFrame.
|
void | reshape(int x, int y, int width, int height)- This method resizes and positions this JInternalFrame.
|
void | restoreSubcomponentFocus()- This method gives focus to the last child Component that had focus.
|
void | setClosable(boolean b)- This method sets whether this JInternalFrame can be closed.
|
void | setClosed(boolean b)- This method closes the JInternalFrame if the given boolean is true.
|
void | setContentPane(Container c)- This method sets the Container to be used as a Content Pane for this
JInternalFrame.
|
void | setDefaultCloseOperation(int operation)- Sets a code for the action to be taken when this
JInternalFrame is closed.
|
void | setDesktopIcon(JInternalFrame.JDesktopIcon d)- Sets the
JDesktopIcon instance that represents this
JInternalFrame while it is iconified and, if the new icon is
not the same instance as the existing icon, sends a
PropertyChangeEvent (with the property name
"desktopIcon") to all registered listeners..
|
void | setFocusCycleRoot(boolean focusCycleRoot)- This method does nothing because this must be the root of a focus
traversal cycle.
|
void | setFrameIcon(Icon icon)- This method sets the Icon to be used in two places.
|
void | setGlassPane(Component glass)- This method sets the Glass Pane used with this JInternalFrame.
|
void | setIcon(boolean b)- This method iconifies or deiconifies this JInternalFrame given the
boolean argument.
|
void | setIconifiable(boolean b)- This method sets whether the JInternalFrame can be iconified.
|
void | setJMenuBar(JMenuBar b)- This method sets the JMenuBar to be used with this JInternalFrame.
|
void | setLayer(int layer)- A helper method that set the layer that this JInternalFrame resides in.
|
void | setLayer(Integer layer)- A helper method that sets the layer that this JInternalFrame resides in.
|
void | setLayeredPane(JLayeredPane layered)- This method sets the JLayeredPane to use with this JInternalFrame.
|
void | setLayout(LayoutManager manager)- This method sets the Layout Manager used in the JInternalFrame.
|
void | setMaximizable(boolean b)- This method sets whether the JInternalFrame can be maximized.
|
void | setMaximum(boolean b)- This method sets the JInternalFrame to maximized (if the given argument
is true) or restores the JInternalFrame to its normal bounds otherwise.
|
void | setMenuBar(JMenuBar m)- 1.0.3
|
void | setNormalBounds(Rectangle r)- This method sets the bounds that this JInternalFrame will be restored to.
|
void | setResizable(boolean b)- This method sets whether the JInternalFrame can be resized by a user
action (like dragging at the frame borders).
|
protected void | setRootPane(JRootPane root)- This method sets the Root Pane for this JInternalFrame.
|
protected void | setRootPaneCheckingEnabled(boolean enabled)- This method sets whether root pane checking is enabled.
|
void | setSelected(boolean selected)- This method sets whether this JInternalFrame is the selected frame in the
JDesktopPane (or other container).
|
void | setTitle(String title)- Sets the title for the
JInternalFrame and sends a
PropertyChangeEvent (with the property name
TITLE_PROPERTY) to all registered listeners.
|
void | setUI(InternalFrameUI ui)- This method is used to set the UI responsible for the JInternalFrame.
|
void | show()- This method displays the JInternalFrame.
|
void | toBack()- This method causes the JInternalFrame to be brough to back in the
z-order.
|
void | toFront()- This method causes the JInternalFrame to be brought to front in the
z-order.
|
void | updateUI()- This method resets the UI to the Look and Feel defaults.
|