qflib 0.98.0

de.qfs.lib.config
Class JFrameConfigWrapper

java.lang.Object
  |
  +--de.qfs.lib.config.ConfigWrapper
        |
        +--de.qfs.lib.config.FrameConfigWrapper
              |
              +--de.qfs.lib.config.JFrameConfigWrapper
All Implemented Interfaces:
java.awt.event.ComponentListener, Configurable, java.util.EventListener

public class JFrameConfigWrapper
extends FrameConfigWrapper

A ConfigWrapper for JFrame objects. The only difference from FrameConfigWrapper is that the setState method transfers the action to the awt event loop since swing components aren't thread safe.

Version:
$Revision: 1.7 $
Author:
Gregor Schmid

Fields inherited from class de.qfs.lib.config.FrameConfigWrapper
frame
 
Constructor Summary
JFrameConfigWrapper()
          Create a new JFrameConfigWrapper with the default name "frame".
 
Method Summary
protected  void restore(java.awt.Dimension size, java.awt.Point location)
          Restore the frame's size and location.
 
Methods inherited from class de.qfs.lib.config.FrameConfigWrapper
componentHidden, componentMoved, componentResized, componentShown, getConfigurableState, registrationChanged, setClient, setConfigurableState
 
Methods inherited from class de.qfs.lib.config.ConfigWrapper
addPackage, getConfigurableName, makeWrapper, makeWrapper, setConfigurableName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFrameConfigWrapper

public JFrameConfigWrapper()
Create a new JFrameConfigWrapper with the default name "frame".
Method Detail

restore

protected void restore(java.awt.Dimension size,
                       java.awt.Point location)
Restore the frame's size and location.
Overrides:
restore in class FrameConfigWrapper
Parameters:
size - The size to set.
location - The location to set.

qflib 0.98.0