org.gnu.gtk
Class WindowPosition

java.lang.Object
  extended by org.gnu.glib.Enum
      extended by org.gnu.gtk.WindowPosition

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.WindowPosition. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

public class WindowPosition
extends org.gnu.glib.Enum

This class can influence the placement of a window. Note that only CENTER_ALWAYS will affect the window placement once the window is visible.


Field Summary
static WindowPosition CENTER
          Deprecated. Windows should be placed in the center of the screen.
static WindowPosition CENTER_ALWAYS
          Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
static WindowPosition CENTER_ON_PARENT
          Deprecated. Center the window on its transient parent.
static WindowPosition MOUSE
          Deprecated. Windows should be placed at the current mouse position.
static WindowPosition NONE
          Deprecated. No influence is made on placement.
 
Method Summary
 WindowPosition and(WindowPosition other)
          Deprecated.  
static WindowPosition intern(int value)
          Deprecated.  
 WindowPosition or(WindowPosition other)
          Deprecated.  
 boolean test(WindowPosition other)
          Deprecated.  
 WindowPosition xor(WindowPosition other)
          Deprecated.  
 
Methods inherited from class org.gnu.glib.Enum
equals, getValue, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final WindowPosition NONE
Deprecated. 
No influence is made on placement.


CENTER

public static final WindowPosition CENTER
Deprecated. 
Windows should be placed in the center of the screen.


MOUSE

public static final WindowPosition MOUSE
Deprecated. 
Windows should be placed at the current mouse position.


CENTER_ALWAYS

public static final WindowPosition CENTER_ALWAYS
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Keep windows centered as it changes size. This will move the window if it is applied to a visible window.


CENTER_ON_PARENT

public static final WindowPosition CENTER_ON_PARENT
Deprecated. 
Center the window on its transient parent.

Method Detail

intern

public static WindowPosition intern(int value)
Deprecated. 

or

public WindowPosition or(WindowPosition other)
Deprecated. 

and

public WindowPosition and(WindowPosition other)
Deprecated. 

xor

public WindowPosition xor(WindowPosition other)
Deprecated. 

test

public boolean test(WindowPosition other)
Deprecated.