KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > rero > gui > toolbar > TileAction


1 package rero.gui.toolbar;
2
3 import rero.gui.*;
4 import rero.gui.mdi.*;
5
6 import java.awt.event.*;
7
8
9 public class TileAction implements ToolAction
10 {
11    public void actionPerformed(MouseEvent ev)
12    {
13       ((ClientDesktop)SessionManager.getGlobalCapabilities().getActiveSession().getDesktop()).tileWindows();
14    }
15
16    public String JavaDoc getDescription()
17    {
18       return "Tile Windows";
19    }
20
21    public int getIndex()
22    {
23       return 31;
24    }
25 }
26
Popular Tags