java.lang.Object
javax.swing.DefaultDesktopManager
org.gtk.java.swing.plaf.gtk.GtkDesktopPaneUI.GtkDesktopManager
- All Implemented Interfaces:
- javax.swing.DesktopManager, java.io.Serializable
- Enclosing class:
- GtkDesktopPaneUI
- private class GtkDesktopPaneUI.GtkDesktopManager
- extends javax.swing.DefaultDesktopManager
- implements java.io.Serializable
|
Method Summary |
void |
beginDraggingFrame(javax.swing.JComponent f)
This method is called to indicate that the DesktopManager should prepare
to drag the JInternalFrame. |
void |
beginResizingFrame(javax.swing.JComponent f,
int direction)
This method is called to indicate that the given JComponent will be
resized. |
void |
dragFrame(javax.swing.JComponent f,
int newX,
int newY)
This method is called to drag the JInternalFrame to a new location. |
void |
endDraggingFrame(javax.swing.JComponent f)
This method indicates that the dragging is done. |
void |
endResizingFrame(javax.swing.JComponent f)
This method is called to indicate that the given JComponent has finished
dragging. |
void |
resizeFrame(javax.swing.JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
This method resizes the give JComponent. |
void |
setBoundsForFrame(javax.swing.JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
This method calls setBounds with the given parameters and repaints the
JComponent. |
| Methods inherited from class javax.swing.DefaultDesktopManager |
activateFrame, closeFrame, deactivateFrame, deiconifyFrame, getBoundsForIconOf, getPreviousBounds, iconifyFrame, maximizeFrame, minimizeFrame, openFrame, removeIconFor, setPreviousBounds, setWasIcon, wasIcon |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dragPane
javax.swing.JComponent dragPane
usingDragPane
boolean usingDragPane
GtkDesktopPaneUI.GtkDesktopManager
private GtkDesktopPaneUI.GtkDesktopManager()
setBoundsForFrame
public void setBoundsForFrame(javax.swing.JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method calls setBounds with the given parameters and repaints the
JComponent.
- Specified by:
setBoundsForFrame in interface javax.swing.DesktopManager
beginDraggingFrame
public void beginDraggingFrame(javax.swing.JComponent f)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method is called to indicate that the DesktopManager should prepare
to drag the JInternalFrame. Any state information needed to drag the
frame will be prepared now.
- Specified by:
beginDraggingFrame in interface javax.swing.DesktopManager
dragFrame
public void dragFrame(javax.swing.JComponent f,
int newX,
int newY)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method is called to drag the JInternalFrame to a new location.
- Specified by:
dragFrame in interface javax.swing.DesktopManager
endDraggingFrame
public void endDraggingFrame(javax.swing.JComponent f)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method indicates that the dragging is done. Any state information
stored by the DesktopManager can be cleared.
- Specified by:
endDraggingFrame in interface javax.swing.DesktopManager
beginResizingFrame
public void beginResizingFrame(javax.swing.JComponent f,
int direction)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method is called to indicate that the given JComponent will be
resized. Any state information necessary to resize the JComponent will
be prepared now.
- Specified by:
beginResizingFrame in interface javax.swing.DesktopManager
resizeFrame
public void resizeFrame(javax.swing.JComponent f,
int newX,
int newY,
int newWidth,
int newHeight)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method resizes the give JComponent.
- Specified by:
resizeFrame in interface javax.swing.DesktopManager
endResizingFrame
public void endResizingFrame(javax.swing.JComponent f)
- Description copied from class:
javax.swing.DefaultDesktopManager
- This method is called to indicate that the given JComponent has finished
dragging. Any state information stored by the DesktopManager can be
cleared.
- Specified by:
endResizingFrame in interface javax.swing.DesktopManager