void
|
activateFrame(JInternalFrame f)
This will activate f moving it to the front.
|
void
|
beginDraggingFrame(JComponent f)
This method is normally called when the user has indicated that
they will begin dragging a component around.
|
void
|
beginResizingFrame(JComponent f, int direction)
This methods is normally called when the user has indicated that
they will begin resizing the frame.
|
void
|
closeFrame(JInternalFrame f)
Removes the frame, and, if necessary, the
desktopIcon , from its parent.
|
void
|
deactivateFrame(JInternalFrame f)
Generally, indicate that this frame has lost focus.
|
void
|
deiconifyFrame(JInternalFrame f)
Removes the desktopIcon from its parent and adds its frame
to the parent.
|
void
|
dragFrame(JComponent f, int newX, int newY)
Moves the visible location of the frame being dragged
to the location specified.
|
void
|
endDraggingFrame(JComponent f)
This method signals the end of the dragging session.
|
void
|
endResizingFrame(JComponent f)
This method signals the end of the resize session.
|
Rectangle
|
getBoundsForIconOf(JInternalFrame f)
The iconifyFrame() code calls this to determine the proper bounds
for the desktopIcon.
|
Rectangle
|
getPreviousBounds(JInternalFrame f)
Gets the normal bounds of the component prior to the component
being maximized.
|
void
|
iconifyFrame(JInternalFrame f)
Removes the frame from its parent and adds its
desktopIcon to the parent.
|
void
|
maximizeFrame(JInternalFrame f)
Resizes the frame to fill its parents bounds.
|
void
|
minimizeFrame(JInternalFrame f)
Restores the frame back to its size and position prior
to a maximizeFrame call.
|
void
|
openFrame(JInternalFrame f)
Normally this method will not be called.
|
void
|
removeIconFor(JInternalFrame f)
Convenience method to remove the desktopIcon of f is necessary.
|
void
|
resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
Calls setBoundsForFrame with the new values.
|
void
|
setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
This moves the JComponent and repaints the damaged areas.
|
void
|
setPreviousBounds(JInternalFrame f, Rectangle r)
Stores the bounds of the component just before a maximize call.
|
void
|
setWasIcon(JInternalFrame f, Boolean value)
Sets that the component has been iconized and the bounds of the
desktopIcon are valid.
|
boolean
|
wasIcon(JInternalFrame f)
Returns true if the component has been iconized
and the bounds of the desktopIcon are valid,
otherwise returns false .
|