PamView
Class PamPanelTiler
java.lang.Object
PamView.PamPanelTiler
public class PamPanelTiler
- extends java.lang.Object
Class to lay out windows within a JDesktopPane
- Author:
- Doug
|
Field Summary |
(package private) javax.swing.JDesktopPane |
desktopPane
|
|
Constructor Summary |
PamPanelTiler(javax.swing.JDesktopPane desktopPane)
|
|
Method Summary |
void |
cascade()
|
javax.swing.JMenu |
getMenu()
|
void |
tile()
auto tile the windows
always have zero or one more window in x than in y and increase until
there are enough spaces in the grid. |
void |
tileHorizontal()
|
void |
tileVertical()
|
private void |
tileWindows(int nX,
int nY)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
desktopPane
javax.swing.JDesktopPane desktopPane
PamPanelTiler
public PamPanelTiler(javax.swing.JDesktopPane desktopPane)
tile
public void tile()
- auto tile the windows
always have zero or one more window in x than in y and increase until
there are enough spaces in the grid.
tileHorizontal
public void tileHorizontal()
tileVertical
public void tileVertical()
tileWindows
private void tileWindows(int nX,
int nY)
cascade
public void cascade()
getMenu
public javax.swing.JMenu getMenu()