Java 类javax.swing.JComboBox.KeySelectionManager 实例源码
项目:openjdk-jdk10
文件:JComboBoxOperator.java
/**
* Maps {@code JComboBox.getKeySelectionManager()} through queue
*/
public KeySelectionManager getKeySelectionManager() {
return (runMapping(new MapAction<KeySelectionManager>("getKeySelectionManager") {
@Override
public KeySelectionManager map() {
return ((JComboBox) getSource()).getKeySelectionManager();
}
}));
}
项目:openjdk-jdk10
文件:JComboBoxOperator.java
/**
* Maps {@code JComboBox.setKeySelectionManager(KeySelectionManager)}
* through queue
*/
public void setKeySelectionManager(final KeySelectionManager keySelectionManager) {
runMapping(new MapVoidAction("setKeySelectionManager") {
@Override
public void map() {
((JComboBox) getSource()).setKeySelectionManager(keySelectionManager);
}
});
}
项目:openjdk9
文件:JComboBoxOperator.java
/**
* Maps {@code JComboBox.getKeySelectionManager()} through queue
*/
public KeySelectionManager getKeySelectionManager() {
return (runMapping(new MapAction<KeySelectionManager>("getKeySelectionManager") {
@Override
public KeySelectionManager map() {
return ((JComboBox) getSource()).getKeySelectionManager();
}
}));
}
项目:openjdk9
文件:JComboBoxOperator.java
/**
* Maps {@code JComboBox.setKeySelectionManager(KeySelectionManager)}
* through queue
*/
public void setKeySelectionManager(final KeySelectionManager keySelectionManager) {
runMapping(new MapVoidAction("setKeySelectionManager") {
@Override
public void map() {
((JComboBox) getSource()).setKeySelectionManager(keySelectionManager);
}
});
}
项目:incubator-netbeans
文件:GrowingComboBox.java
public void setKeySelectionManager(KeySelectionManager aManager) {
combo.setKeySelectionManager(aManager);
}
项目:incubator-netbeans
文件:GrowingComboBox.java
public KeySelectionManager getKeySelectionManager() {
return combo.getKeySelectionManager();
}