Top Description Fields Constructors Methods
sun.awt.im

public Class SimpleInputMethodWindow

extends Frame
implements InputMethodWindow
Class Inheritance
All Implemented Interfaces
sun.awt.im.InputMethodWindow
Imports
java.awt.Frame, java.io.Serial

Implements a simple input method window that provides the minimal functionality as specified in java.awt.im.spi.InputMethodContext#createInputMethodWindow.

Field Summary

Modifier and TypeField and Description
pack-priv InputContext
private static final long
serialVersionUID

Hides java.awt.Frame.serialVersionUID.

Use serialVersionUID from JDK 1.7 for interoperability.
Inherited from java.awt.Frame:
CROSSHAIR_CURSORDEFAULT_CURSORE_RESIZE_CURSORHAND_CURSORICONIFIEDMAXIMIZED_BOTHMAXIMIZED_HORIZMAXIMIZED_VERTMOVE_CURSORN_RESIZE_CURSORNE_RESIZE_CURSORNORMALNW_RESIZE_CURSORS_RESIZE_CURSORSE_RESIZE_CURSORSW_RESIZE_CURSORTEXT_CURSORW_RESIZE_CURSORWAIT_CURSOR

Constructor Summary

AccessConstructor and Description
public
SimpleInputMethodWindow(String title, InputContext context)

Constructs a simple input method window.

Method Summary

Modifier and TypeMethod and Description
public InputContext
getInputContext()

Overrides java.awt.Window.getInputContext.

Gets the input context for this window.
public void
setInputContext(InputContext inputContext)

Implements sun.awt.im.InputMethodWindow.setInputContext.

Sets the input context that this input method window is attached to, null to unattach the window.
Inherited from java.awt.Frame:
addNotifygetAccessibleContextgetCursorTypegetExtendedStategetFramesgetIconImagegetMaximizedBoundsgetMenuBargetStategetTitleisResizableisUndecoratedparamStringremoveremoveNotifysetBackgroundsetCursorsetExtendedStatesetIconImagesetMaximizedBoundssetMenuBarsetOpacitysetResizablesetShapesetStatesetTitlesetUndecorated

Field Detail

inputContextback to summary
pack-priv InputContext inputContext

Hides java.awt.Window.inputContext.

Annotations
@SuppressWarnings:serial
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.awt.Frame.serialVersionUID.

Use serialVersionUID from JDK 1.7 for interoperability.

Annotations
@Serial

Constructor Detail

SimpleInputMethodWindowback to summary
public SimpleInputMethodWindow(String title, InputContext context)

Constructs a simple input method window.

Method Detail

getInputContextback to summary
public InputContext getInputContext()

Overrides java.awt.Window.getInputContext.

Doc from java.awt.Window.getInputContext.

Gets the input context for this window. A window always has an input context, which is shared by subcomponents unless they create and set their own.

Returns:InputContext

Doc from java.awt.Component.getInputContext.

the input context used by this component; null if no context can be determined

setInputContextback to summary
public void setInputContext(InputContext inputContext)

Implements sun.awt.im.InputMethodWindow.setInputContext.

Doc from sun.awt.im.InputMethodWindow.setInputContext.

Sets the input context that this input method window is attached to, null to unattach the window.