java.awt.event.InputMethodListener Java Examples

The following examples show how to use java.awt.event.InputMethodListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ComponentOperator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Maps {@code Component.addInputMethodListener(InputMethodListener)}
 * through queue
 */
public void addInputMethodListener(final InputMethodListener inputMethodListener) {
    runMapping(new MapVoidAction("addInputMethodListener") {
        @Override
        public void map() {
            getSource().addInputMethodListener(inputMethodListener);
        }
    });
}
 
Example #2
Source File: ComponentOperator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Maps
 * {@code Component.removeInputMethodListener(InputMethodListener)}
 * through queue
 */
public void removeInputMethodListener(final InputMethodListener inputMethodListener) {
    runMapping(new MapVoidAction("removeInputMethodListener") {
        @Override
        public void map() {
            getSource().removeInputMethodListener(inputMethodListener);
        }
    });
}
 
Example #3
Source File: IPV4Field.java    From lippen-network-tool with Apache License 2.0 5 votes vote down vote up
@Override
public void addInputMethodListener(InputMethodListener listener) {
    if (this.ipFields != null) {
        for (JIPV4Field field : this.ipFields) {
            field.addInputMethodListener(listener);
        }
    }
}
 
Example #4
Source File: IPV4Field.java    From lippen-network-tool with Apache License 2.0 5 votes vote down vote up
@Override
public void removeInputMethodListener(InputMethodListener listener) {
    if (this.ipFields != null) {
        for (JIPV4Field field : this.ipFields) {
            field.removeInputMethodListener(listener);
        }
    }
}
 
Example #5
Source File: DummyEditorPane.java    From darklaf with MIT License 4 votes vote down vote up
@Override
public void addInputMethodListener(final InputMethodListener l) {}
 
Example #6
Source File: DummyTextArea.java    From darklaf with MIT License 4 votes vote down vote up
@Override
public void addInputMethodListener(final InputMethodListener l) {}
 
Example #7
Source File: DummyTextComponent.java    From darklaf with MIT License 4 votes vote down vote up
@Override
public void addInputMethodListener(final InputMethodListener l) {}