Synergy Home Page

au.edu.swin.synergy.plugin.mod13.bwt
Class BTabListener

java.lang.Object
  |
  +--au.edu.swin.synergy.plugin.mod13.bwt.BTabListener

public class BTabListener
extends Object

This is going to be informed when the user presses the control key in combination with the tab key. It will then transfer the control of cycling through the windows.

Author:
Tristan Austin

Constructor Summary
BTabListener(JDesktopPane desktop)
          Creates a new tab listener for the given desktop
 
Method Summary
 void cycleBackward()
          This will bring the last window to the front
 void cycleForward()
          This will cycle forwards through the windows, skipping windows that have been minimised.
 void setControl(boolean down)
          Set the state of control
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTabListener

public BTabListener(JDesktopPane desktop)
Creates a new tab listener for the given desktop
Method Detail

setControl

public void setControl(boolean down)
Set the state of control

cycleForward

public void cycleForward()
This will cycle forwards through the windows, skipping windows that have been minimised.

cycleBackward

public void cycleBackward()
This will bring the last window to the front

Synergy Home Page