com.croftsoft.core.gui
Class FullScreenToggler

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.croftsoft.core.gui.FullScreenToggler
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public final class FullScreenToggler
extends AbstractAction

Toggles full-screen mode using ALT-ENTER.

Since:
2003-02-19
Version:
$Date: 2006/01/13 18:47:08 $
See Also:
Serialized Form
Author:
David Wallace Croft

Field Summary
static String ACTION_KEY_TOGGLE_FULLSCREEN
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
FullScreenToggler(Window window)
           
 
Method Summary
 void actionPerformed(ActionEvent actionEvent)
           
static void main(String[] args)
           
static boolean monitor(JComponent component)
           
static void monitor(JFrame jFrame)
           
 void toggle()
           
 void toggle(boolean fullScreen)
           
static void toggle(Window window)
           
static void toggle(Window window, boolean fullScreen)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_KEY_TOGGLE_FULLSCREEN

public static final String ACTION_KEY_TOGGLE_FULLSCREEN
See Also:
Constant Field Values
Constructor Detail

FullScreenToggler

public FullScreenToggler(Window window)
Method Detail

main

public static void main(String[] args)

monitor

public static boolean monitor(JComponent component)

monitor

public static void monitor(JFrame jFrame)

toggle

public static void toggle(Window window,
                          boolean fullScreen)

toggle

public static void toggle(Window window)

toggle

public void toggle()

toggle

public void toggle(boolean fullScreen)

actionPerformed

public void actionPerformed(ActionEvent actionEvent)

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)