test_class.declarator: displayName = ":99"
test_class.modifier: private static final
test_class.original_string: private static final String displayName = ":99";
test_class.type: String
test_class.var_name: displayName
test_class.declarator: screenNr = 0
test_class.modifier: private static final
test_class.original_string: private static final int screenNr = 0;
test_class.type: int
test_class.var_name: screenNr
test_class.declarator: xConnection
test_class.modifier: public static
test_class.original_string: public static XConnection xConnection;
test_class.type: XConnection
test_class.var_name: xConnection
test_class.declarator: screen
test_class.modifier: public static
test_class.original_string: public static xcb_screen_t screen;
test_class.type: xcb_screen_t
test_class.var_name: screen
test_class.declarator: xvfb
test_class.modifier: private static
test_class.original_string: private static Process xvfb;
test_class.type: Process
test_class.var_name: xvfb
test_class.declarator: xWindow
test_class.modifier: private
test_class.original_string: private XWindow xWindow;
test_class.type: XWindow
test_class.var_name: xWindow
test_class.declarator: windowId
test_class.modifier: private
test_class.original_string: private int windowId;
test_class.type: int
test_class.var_name: windowId
test_class.declarator: xTime
test_class.modifier: @Mock
  	private
test_class.original_string: @Mock
  	private XTime xTime;
test_class.type: XTime
test_class.var_name: xTime
test_class.file: foundation/display.x11.impl/src/test/java/org/trinity/foundation/display/x11/impl/XWindowTest.java
test_class.identifier: XWindowTest
test_case.body: @Test
  	public void testSetInputFocus() {
  		this.xWindow.setInputFocus();
  		// TODO verify
  	}
test_case.class_method_signature: XWindowTest.testSetInputFocus()
test_case.full_signature: @Test public void testSetInputFocus()
test_case.identifier: testSetInputFocus
test_case.invocations: setInputFocus
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetInputFocus()
focal_class.declarator: LOG = LoggerFactory.getLogger(XWindow.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(XWindow.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: MOVE_VALUE_LIST_BUFFER = allocateDirect(8).order(nativeOrder())
focal_class.modifier: private static final
focal_class.original_string: private static final ByteBuffer MOVE_VALUE_LIST_BUFFER = allocateDirect(8).order(nativeOrder());
focal_class.type: ByteBuffer
focal_class.var_name: MOVE_VALUE_LIST_BUFFER
focal_class.declarator: MOVE_RESIZE_VALUE_MASK = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
              | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT
focal_class.modifier: private static final
focal_class.original_string: private static final int MOVE_RESIZE_VALUE_MASK = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
              | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT;
focal_class.type: int
focal_class.var_name: MOVE_RESIZE_VALUE_MASK
focal_class.declarator: MOVE_RESIZE_VALUE_LIST_BUFFER = allocateDirect(16).order(nativeOrder())
focal_class.modifier: private static final
focal_class.original_string: private static final ByteBuffer MOVE_RESIZE_VALUE_LIST_BUFFER = allocateDirect(16).order(nativeOrder());
focal_class.type: ByteBuffer
focal_class.var_name: MOVE_RESIZE_VALUE_LIST_BUFFER
focal_class.declarator: RESIZE_VALUE_MASK = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT
focal_class.modifier: private static final
focal_class.original_string: private static final int RESIZE_VALUE_MASK = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT;
focal_class.type: int
focal_class.var_name: RESIZE_VALUE_MASK
focal_class.declarator: RESIZE_VALUE_LIST = allocateDirect(8).order(nativeOrder())
focal_class.modifier: private static final
focal_class.original_string: private static final ByteBuffer RESIZE_VALUE_LIST = allocateDirect(8).order(nativeOrder());
focal_class.type: ByteBuffer
focal_class.var_name: RESIZE_VALUE_LIST
focal_class.declarator: LOWER_VALUE_MASK = XCB_CONFIG_WINDOW_STACK_MODE
focal_class.modifier: private static final
focal_class.original_string: private static final int LOWER_VALUE_MASK = XCB_CONFIG_WINDOW_STACK_MODE;
focal_class.type: int
focal_class.var_name: LOWER_VALUE_MASK
focal_class.declarator: LOWER_VALUE_LIST_BUFFER = allocateDirect(4).order(nativeOrder())
              .putInt(XCB_STACK_MODE_BELOW)
focal_class.modifier: private static final
focal_class.original_string: private static final ByteBuffer LOWER_VALUE_LIST_BUFFER = allocateDirect(4).order(nativeOrder())
              .putInt(XCB_STACK_MODE_BELOW);
focal_class.type: ByteBuffer
focal_class.var_name: LOWER_VALUE_LIST_BUFFER
focal_class.declarator: RAISE_VALUE_MASK = XCB_CONFIG_WINDOW_STACK_MODE
focal_class.modifier: private static final
focal_class.original_string: private static final int RAISE_VALUE_MASK = XCB_CONFIG_WINDOW_STACK_MODE;
focal_class.type: int
focal_class.var_name: RAISE_VALUE_MASK
focal_class.declarator: RAISE_VALUE_LIST_BUFFER = allocateDirect(4).order(nativeOrder())
              .putInt(XCB_STACK_MODE_ABOVE)
focal_class.modifier: private static final
focal_class.original_string: private static final ByteBuffer RAISE_VALUE_LIST_BUFFER = allocateDirect(4).order(nativeOrder())
              .putInt(XCB_STACK_MODE_ABOVE);
focal_class.type: ByteBuffer
focal_class.var_name: RAISE_VALUE_LIST_BUFFER
focal_class.declarator: MOVE_VALUE_MASK = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y
focal_class.modifier: private static final
focal_class.original_string: private static final int MOVE_VALUE_MASK = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y;
focal_class.type: int
focal_class.var_name: MOVE_VALUE_MASK
focal_class.declarator: resourceHandle
focal_class.modifier: private final
focal_class.original_string: private final DisplaySurfaceHandle resourceHandle;
focal_class.type: DisplaySurfaceHandle
focal_class.var_name: resourceHandle
focal_class.declarator: xConnection
focal_class.modifier: private final
focal_class.original_string: private final XConnection xConnection;
focal_class.type: XConnection
focal_class.var_name: xConnection
focal_class.declarator: xTime
focal_class.modifier: private final
focal_class.original_string: private final XTime xTime;
focal_class.type: XTime
focal_class.var_name: xTime
focal_class.declarator: xExecutor
focal_class.modifier: private final
focal_class.original_string: private final ListeningExecutorService xExecutor;
focal_class.type: ListeningExecutorService
focal_class.var_name: xExecutor
focal_class.declarator: xWindowEventBus
focal_class.modifier: private final
focal_class.original_string: private final AsyncListenableEventBus xWindowEventBus;
focal_class.type: AsyncListenableEventBus
focal_class.var_name: xWindowEventBus
focal_class.file: foundation/display.x11.impl/src/main/java/org/trinity/foundation/display/x11/impl/XWindow.java
focal_class.identifier: XWindow
focal_class.interfaces: implements DisplaySurface
focal_class.class_method_signature: XWindow.XWindow(final XTime xTime,
              final XConnection xConnection,
              @Nonnull @Assisted final DisplaySurfaceHandle resourceHandle,
              @DisplayExecutor final ListeningExecutorService xExecutor)
focal_class.full_signature: @AssistedInject  XWindow(final XTime xTime,
              final XConnection xConnection,
              @Nonnull @Assisted final DisplaySurfaceHandle resourceHandle,
              @DisplayExecutor final ListeningExecutorService xExecutor)
focal_class.identifier: XWindow
focal_class.modifiers: @AssistedInject
focal_class.parameters: (final XTime xTime,
              final XConnection xConnection,
              @Nonnull @Assisted final DisplaySurfaceHandle resourceHandle,
              @DisplayExecutor final ListeningExecutorService xExecutor)
focal_class.signature:  XWindow(final XTime xTime,
              final XConnection xConnection,
              @Nonnull @Assisted final DisplaySurfaceHandle resourceHandle,
              @DisplayExecutor final ListeningExecutorService xExecutor)
focal_class.class_method_signature: XWindow.register(final Object listener)
focal_class.full_signature: @Override public void register(final Object listener)
focal_class.identifier: register
focal_class.modifiers: @Override public
focal_class.parameters: (final Object listener)
focal_class.return: void
focal_class.signature: void register(final Object listener)
focal_class.class_method_signature: XWindow.post(final Object event)
focal_class.full_signature: @Override public void post(final Object event)
focal_class.identifier: post
focal_class.modifiers: @Override public
focal_class.parameters: (final Object event)
focal_class.return: void
focal_class.signature: void post(final Object event)
focal_class.class_method_signature: XWindow.unregister(final Object listener)
focal_class.full_signature: @Override public void unregister(final Object listener)
focal_class.identifier: unregister
focal_class.modifiers: @Override public
focal_class.parameters: (final Object listener)
focal_class.return: void
focal_class.signature: void unregister(final Object listener)
focal_class.class_method_signature: XWindow.register(final Object listener,
                           final ExecutorService executor)
focal_class.full_signature: @Override public void register(final Object listener,
                           final ExecutorService executor)
focal_class.identifier: register
focal_class.modifiers: @Override public
focal_class.parameters: (final Object listener,
                           final ExecutorService executor)
focal_class.return: void
focal_class.signature: void register(final Object listener,
                           final ExecutorService executor)
focal_class.class_method_signature: XWindow.getDisplaySurfaceHandle()
focal_class.full_signature: @Override public DisplaySurfaceHandle getDisplaySurfaceHandle()
focal_class.identifier: getDisplaySurfaceHandle
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DisplaySurfaceHandle
focal_class.signature: DisplaySurfaceHandle getDisplaySurfaceHandle()
focal_class.class_method_signature: XWindow.destroy()
focal_class.full_signature: @Override public ListenableFuture<Void> destroy()
focal_class.identifier: destroy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> destroy()
focal_class.class_method_signature: XWindow.getWindowId()
focal_class.full_signature: private int getWindowId()
focal_class.identifier: getWindowId
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getWindowId()
focal_class.class_method_signature: XWindow.getConnectionRef()
focal_class.full_signature: private SWIGTYPE_p_xcb_connection_t getConnectionRef()
focal_class.identifier: getConnectionRef
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: SWIGTYPE_p_xcb_connection_t
focal_class.signature: SWIGTYPE_p_xcb_connection_t getConnectionRef()
focal_class.class_method_signature: XWindow.setInputFocus()
focal_class.full_signature: @Override public ListenableFuture<Void> setInputFocus()
focal_class.identifier: setInputFocus
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> setInputFocus()
focal_class.class_method_signature: XWindow.lower()
focal_class.full_signature: @Override public ListenableFuture<Void> lower()
focal_class.identifier: lower
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> lower()
focal_class.class_method_signature: XWindow.show()
focal_class.full_signature: @Override public ListenableFuture<Void> show()
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> show()
focal_class.class_method_signature: XWindow.move(final int x,
                                         final int y)
focal_class.full_signature: @Override public ListenableFuture<Void> move(final int x,
                                         final int y)
focal_class.identifier: move
focal_class.modifiers: @Override public
focal_class.parameters: (final int x,
                                         final int y)
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> move(final int x,
                                         final int y)
focal_class.class_method_signature: XWindow.moveResize(final int x,
                                               final int y,
                                               final int width,
                                               final int height)
focal_class.full_signature: @Override public ListenableFuture<Void> moveResize(final int x,
                                               final int y,
                                               final int width,
                                               final int height)
focal_class.identifier: moveResize
focal_class.modifiers: @Override public
focal_class.parameters: (final int x,
                                               final int y,
                                               final int width,
                                               final int height)
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> moveResize(final int x,
                                               final int y,
                                               final int width,
                                               final int height)
focal_class.class_method_signature: XWindow.raise()
focal_class.full_signature: @Override public ListenableFuture<Void> raise()
focal_class.identifier: raise
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> raise()
focal_class.class_method_signature: XWindow.setParent(final DisplayArea parent,
                                              final int x,
                                              final int y)
focal_class.full_signature: @Override public ListenableFuture<Void> setParent(final DisplayArea parent,
                                              final int x,
                                              final int y)
focal_class.identifier: setParent
focal_class.modifiers: @Override public
focal_class.parameters: (final DisplayArea parent,
                                              final int x,
                                              final int y)
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> setParent(final DisplayArea parent,
                                              final int x,
                                              final int y)
focal_class.class_method_signature: XWindow.resize(final int width,
                                           final int height)
focal_class.full_signature: @Override public ListenableFuture<Void> resize(final int width,
                                           final int height)
focal_class.identifier: resize
focal_class.modifiers: @Override public
focal_class.parameters: (final int width,
                                           final int height)
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> resize(final int width,
                                           final int height)
focal_class.class_method_signature: XWindow.hide()
focal_class.full_signature: @Override public ListenableFuture<Void> hide()
focal_class.identifier: hide
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Void>
focal_class.signature: ListenableFuture<Void> hide()
focal_class.class_method_signature: XWindow.getGeometry()
focal_class.full_signature: @Override public ListenableFuture<Rectangle> getGeometry()
focal_class.identifier: getGeometry
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ListenableFuture<Rectangle>
focal_class.signature: ListenableFuture<Rectangle> getGeometry()
focal_class.class_method_signature: XWindow.getGeometryReply(final xcb_get_geometry_cookie_t cookie_t)
focal_class.full_signature: protected ListenableFuture<Rectangle> getGeometryReply(final xcb_get_geometry_cookie_t cookie_t)
focal_class.identifier: getGeometryReply
focal_class.modifiers: protected
focal_class.parameters: (final xcb_get_geometry_cookie_t cookie_t)
focal_class.return: ListenableFuture<Rectangle>
focal_class.signature: ListenableFuture<Rectangle> getGeometryReply(final xcb_get_geometry_cookie_t cookie_t)
focal_class.class_method_signature: XWindow.checkError(final xcb_generic_error_t e)
focal_class.full_signature: private void checkError(final xcb_generic_error_t e)
focal_class.identifier: checkError
focal_class.modifiers: private
focal_class.parameters: (final xcb_generic_error_t e)
focal_class.return: void
focal_class.signature: void checkError(final xcb_generic_error_t e)
focal_class.class_method_signature: XWindow.equals(final Object obj)
focal_class.full_signature: @Override public boolean equals(final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object obj)
focal_class.class_method_signature: XWindow.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: XWindow.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public ListenableFuture<Void> setInputFocus() {
  
          final int winId = getWindowId();
          final int time = this.xTime.getTime();
  
          return this.xExecutor.submit(new Runnable() {
  
              @Override
              public void run() {
                  LOG.debug("[winId={}] set input focus.",
                          winId);
                  xcb_set_input_focus(getConnectionRef(),
                          (short) XCB_INPUT_FOCUS_NONE,
                          winId,
                          time);
                  xcb_flush(getConnectionRef());
              }
          },
                  null);
      }
focal_method.class_method_signature: XWindow.setInputFocus()
focal_method.full_signature: @Override public ListenableFuture<Void> setInputFocus()
focal_method.identifier: setInputFocus
focal_method.invocations: getWindowId getTime submit debug xcb_set_input_focus getConnectionRef xcb_flush getConnectionRef
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: ListenableFuture<Void>
focal_method.signature: ListenableFuture<Void> setInputFocus()