APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.X11

pack-priv final Class XWINProtocol

extends XProtocol
implements XStateProtocol, XLayerProtocol
Class Inheritance
All Implemented Interfaces
sun.awt.X11.XLayerProtocol, sun.awt.X11.XStateProtocol
Imports
java.awt.*, sun.util.logging.PlatformLogger

Field Summary

Modifier and TypeField and Description
pack-priv static final PlatformLogger
pack-priv boolean
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv long
pack-priv XAtom
pack-priv XAtom
pack-priv XAtom
pack-priv XAtom
Inherited from sun.awt.X11.XProtocol:
firstCheck

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
pack-priv void
pack-priv boolean
pack-priv boolean
public int
getState(XWindowPeer window)

Implements sun.awt.X11.XStateProtocol.getState.

Returns current state of the window

public boolean
isStateChange(XPropertyEvent e)

Implements sun.awt.X11.XStateProtocol.isStateChange.

Detects whether or not this event is indicates state change

public void
public void
setState(XWindowPeer window, int state)

Implements sun.awt.X11.XStateProtocol.setState.

Moves window into the state.

public boolean
public boolean
supportsState(int state)

Implements sun.awt.X11.XStateProtocol.supportsState.

Returns whether or not the protocol supports the transition to the state represented by state.

public void
unshadeKludge(XWindowPeer window)

Implements sun.awt.X11.XStateProtocol.unshadeKludge.

Work around for 4775545.

Inherited from sun.awt.X11.XProtocol:
checkAnchorcheckAnchorcheckAnchorImplcheckProtocol

Field Detail

logback to summary
pack-priv static final PlatformLogger log

Hides sun.awt.X11.XProtocol.log.

supportCheckedback to summary
pack-priv boolean supportChecked
WIN_LAYER_NORMALback to summary
pack-priv static final int WIN_LAYER_NORMAL
WIN_LAYER_ONTOPback to summary
pack-priv static final int WIN_LAYER_ONTOP
WIN_STATE_HIDDENback to summary
pack-priv static final int WIN_STATE_HIDDEN
WIN_STATE_MAXIMIZED_HORIZback to summary
pack-priv static final int WIN_STATE_MAXIMIZED_HORIZ
WIN_STATE_MAXIMIZED_VERTback to summary
pack-priv static final int WIN_STATE_MAXIMIZED_VERT
WIN_STATE_MINIMIZEDback to summary
pack-priv static final int WIN_STATE_MINIMIZED
WIN_STATE_SHADEDback to summary
pack-priv static final int WIN_STATE_SHADED
WIN_STATE_STICKYback to summary
pack-priv static final int WIN_STATE_STICKY
WinWindowback to summary
pack-priv long WinWindow
XA_WIN_LAYERback to summary
pack-priv XAtom XA_WIN_LAYER
XA_WIN_PROTOCOLSback to summary
pack-priv XAtom XA_WIN_PROTOCOLS
XA_WIN_STATEback to summary
pack-priv XAtom XA_WIN_STATE
XA_WIN_SUPPORTING_WM_CHECKback to summary
pack-priv XAtom XA_WIN_SUPPORTING_WM_CHECK

Constructor Detail

XWINProtocolback to summary
pack-priv XWINProtocol()

Method Detail

activeback to summary
pack-priv boolean active()
detectback to summary
pack-priv void detect()
doLayerProtocolback to summary
pack-priv boolean doLayerProtocol()
doStateProtocolback to summary
pack-priv boolean doStateProtocol()
getStateback to summary
public int getState(XWindowPeer window)

Implements sun.awt.X11.XStateProtocol.getState.

Doc from sun.awt.X11.XStateProtocol.getState.

Returns current state of the window

Annotations
@Override
isStateChangeback to summary
public boolean isStateChange(XPropertyEvent e)

Implements sun.awt.X11.XStateProtocol.isStateChange.

Doc from sun.awt.X11.XStateProtocol.isStateChange.

Detects whether or not this event is indicates state change

Annotations
@Override
setLayerback to summary
public void setLayer(XWindowPeer window, int layer)

Implements sun.awt.X11.XLayerProtocol.setLayer.

Annotations
@Override
setStateback to summary
public void setState(XWindowPeer window, int state)

Implements sun.awt.X11.XStateProtocol.setState.

Doc from sun.awt.X11.XStateProtocol.setState.

Moves window into the state.

Annotations
@Override
supportsLayerback to summary
public boolean supportsLayer(int layer)

Implements sun.awt.X11.XLayerProtocol.supportsLayer.

Annotations
@Override
supportsStateback to summary
public boolean supportsState(int state)

Implements sun.awt.X11.XStateProtocol.supportsState.

Doc from sun.awt.X11.XStateProtocol.supportsState.

Returns whether or not the protocol supports the transition to the state represented by state. State contains encoded state as a bit mask of state defined in java.awt.Frame

Annotations
@Override
unshadeKludgeback to summary
public void unshadeKludge(XWindowPeer window)

Implements sun.awt.X11.XStateProtocol.unshadeKludge.

Doc from sun.awt.X11.XStateProtocol.unshadeKludge.

Work around for 4775545.

Annotations
@Override