Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.java.swing.DefaultDesktopManager
Method Summary | |
void | activateFrame(JInternalFrame f)
Finds all the other peers of type JInternalFrames and set's their IS_SELECTED_PROPERTY to false. |
void | beginDraggingFrame(JComponent f)
|
void | beginResizingFrame(JComponent f,
int direction)
|
void | closeFrame(JInternalFrame f)
Removes the frame, and if necessary the desktopIcon, from it's parent. |
void | deactivateFrame(JInternalFrame f)
|
void | deiconifyFrame(JInternalFrame f)
Removes the desktopIcon from it's parent and adds it's frame to the parent. |
void | dragFrame(JComponent f,
int newX,
int newY)
Calls setBoundsForFrame() with the new values. |
void | endDraggingFrame(JComponent f)
|
void | endResizingFrame(JComponent f)
|
java.awt.Rectangle | getBoundsForIconOf(JInternalFrame f)
The iconifyFrame() code calls this to determine the proper bounds for the desktopIcon. |
java.awt.Rectangle | getPreviousBounds(JInternalFrame f)
|
void | iconifyFrame(JInternalFrame f)
Removes the frame from it's parent and adds it's desktopIcon to the parent. |
void | maximizeFrame(JInternalFrame f)
Resizes the frame to fill it's parents bounds. |
void | minimizeFrame(JInternalFrame f)
Restores the frame back to it's size and position prior to a maximizeFrame() call. |
void | openFrame(JInternalFrame f)
Normally this method will not be called. |
void | removeIconFor(JInternalFrame f)
Convience 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,
java.awt.Rectangle r)
Stores the bounds of the component just before a maximize call. |
void | setWasIcon(JInternalFrame f,
java.lang.Boolean value)
Sets that the component has been iconized and the bounds of the desktopIcon are valid. |
boolean | wasIcon(JInternalFrame f)
|
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Method Detail |
public void openFrame(JInternalFrame f)
public void closeFrame(JInternalFrame f)
public void maximizeFrame(JInternalFrame f)
public void minimizeFrame(JInternalFrame f)
public void iconifyFrame(JInternalFrame f)
public void deiconifyFrame(JInternalFrame f)
public void activateFrame(JInternalFrame f)
public void deactivateFrame(JInternalFrame f)
public void beginDraggingFrame(JComponent f)
public void dragFrame(JComponent f, int newX, int newY)
public void endDraggingFrame(JComponent f)
public void beginResizingFrame(JComponent f, int direction)
public void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
public void endResizingFrame(JComponent f)
public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
protected void removeIconFor(JInternalFrame f)
protected java.awt.Rectangle getBoundsForIconOf(JInternalFrame f)
protected void setPreviousBounds(JInternalFrame f, java.awt.Rectangle r)
protected java.awt.Rectangle getPreviousBounds(JInternalFrame f)
protected void setWasIcon(JInternalFrame f, java.lang.Boolean value)
protected boolean wasIcon(JInternalFrame f)
Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |