VdexReload 1.1.3 API

uk.ac.reload.dweezil.gui
Class ReloadInternalFrameManager

java.lang.Object
  extended byuk.ac.reload.dweezil.gui.ReloadInternalFrameManager
All Implemented Interfaces:
DweezilConstants

public class ReloadInternalFrameManager
extends java.lang.Object
implements DweezilConstants

The Reload Internal Frame Manager. This manages the workings of the ReloadInternalFrame objects so that we can hide or show them close them down, inform listeners etc.


Field Summary
protected static int _xpos
          Current X Pos for Window Pos
protected static int _ypos
          Current Y Pos for Window Pos
protected static double SIZE_FACTOR
          The relative size factor
protected static int WINDOWGAP
          The stagger offset
 
Fields inherited from interface uk.ac.reload.dweezil.DweezilConstants
CR, DEBUG
 
Constructor Summary
ReloadInternalFrameManager(javax.swing.JDesktopPane desktop)
          Constructor
 
Method Summary
 void addInternalFrame(ReloadInternalFrame frame)
          Add a new ReloadInternalFrame
static void addReloadInternalFrameToWindowMap(java.io.File file, ReloadInternalFrame frame)
          Add a Frame to the Window map
 void cascade()
          Cascade all the windows
static ReloadInternalFrame getReloadInternalFrame(java.io.File file)
          See if we have the Window open already
 void removeInternalFrame(ReloadInternalFrame frame)
          Remove an existing ReloadInternalFrame and select the Previous one
 void tileHorizontal()
          Tile all the windows horizontally
 void tileVertical()
          Tile all the windows vertically
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_xpos

protected static int _xpos
Current X Pos for Window Pos


_ypos

protected static int _ypos
Current Y Pos for Window Pos


WINDOWGAP

protected static final int WINDOWGAP
The stagger offset

See Also:
Constant Field Values

SIZE_FACTOR

protected static final double SIZE_FACTOR
The relative size factor

See Also:
Constant Field Values
Constructor Detail

ReloadInternalFrameManager

public ReloadInternalFrameManager(javax.swing.JDesktopPane desktop)
Constructor

Parameters:
desktop - The desktop to manage
Method Detail

addInternalFrame

public void addInternalFrame(ReloadInternalFrame frame)
Add a new ReloadInternalFrame

Parameters:
frame - The new Frame to be added to the desktop

removeInternalFrame

public void removeInternalFrame(ReloadInternalFrame frame)
Remove an existing ReloadInternalFrame and select the Previous one

Parameters:
frame - The Frame to remove from the desktop

cascade

public void cascade()
Cascade all the windows


tileVertical

public void tileVertical()
Tile all the windows vertically


tileHorizontal

public void tileHorizontal()
Tile all the windows horizontally


getReloadInternalFrame

public static ReloadInternalFrame getReloadInternalFrame(java.io.File file)
See if we have the Window open already

Parameters:
file - the file that is opened in the internal frame
Returns:
the JInternalFrame
See Also:
JInternalFrame

addReloadInternalFrameToWindowMap

public static void addReloadInternalFrameToWindowMap(java.io.File file,
                                                     ReloadInternalFrame frame)
Add a Frame to the Window map

Parameters:
file - the file that is opened in the internal frame frame the internal frame

VdexReload 1.1.3 API