APIdia Launch Partner
Top Description Fields Constructors Methods
sun.awt.im

public Class InputMethodJFrame

extends JFrame
implements InputMethodWindow
Class Inheritance
All Implemented Interfaces
sun.awt.im.InputMethodWindow
Imports
java.io.Serial, javax.swing.JFrame, .JRootPane

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

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 javax.swing.JFrame:
accessibleContextrootPanerootPaneCheckingEnabled

Constructor Summary

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

Constructs a Swing based 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 javax.swing.JFrame:
addImplcreateRootPaneframeInitgetAccessibleContextgetContentPanegetDefaultCloseOperationgetGlassPanegetGraphicsgetJMenuBargetLayeredPanegetRootPanegetTransferHandlerisDefaultLookAndFeelDecoratedisRootPaneCheckingEnabledparamStringprocessWindowEventremoverepaintsetContentPanesetDefaultCloseOperationsetDefaultLookAndFeelDecoratedsetGlassPanesetIconImagesetJMenuBarsetLayeredPanesetLayoutsetRootPanesetRootPaneCheckingEnabledsetTransferHandlerupdate

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

InputMethodJFrameback to summary
public InputMethodJFrame(String title, InputContext context)

Constructs a Swing based 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.

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.