|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
InputMap 를 사용하고 있는 패키지 | |
---|---|
javax.swing | 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다. |
javax.swing.plaf | 1 개의 인터페이스 및 많은 abstract 클래스를 제공하고 있어, Swing 는, 플러그 인 가능한 Look & Feel 기능을 실현하기 위해서(때문에) 이러한 클래스를 이용합니다. |
javax.swing 에서의 InputMap 의 사용 |
---|
javax.swing 에서의 InputMap 의 서브 클래스 | |
---|---|
class |
ComponentInputMap
ComponentInputMap 는, 특정의 JComponent 에 관련지을 수 있었던 InputMap 입니다. |
InputMap 를 돌려주는 javax.swing 의 메소드 | |
---|---|
InputMap |
JComponent. getInputMap ()
컴퍼넌트가 포커스를 취득했을 때에 사용하는 InputMap 를 돌려줍니다. |
InputMap |
JComponent. getInputMap (int condition)
condition 로 사용되고 있는 InputMap 를 돌려줍니다. |
InputMap |
InputMap. getParent ()
이 InputMap 의 부모를 가져옵니다. |
static InputMap |
SwingUtilities. getUIInputMap (JComponent component,
int condition)
UI 가 component 의 condition 로 지정한 InputMap 를 돌려줍니다. |
static InputMap |
LookAndFeel. makeInputMap (Object [] keys)
keys 로부터 InputMapUIResource 를 작성합니다. |
InputMap 형의 파라미터를 가지는 javax.swing 의 메소드 | |
---|---|
static void |
LookAndFeel. loadKeyBindings (InputMap retMap,
Object [] keys)
지정된 바인딩으로 InputMap 를 생성합니다. |
static void |
SwingUtilities. replaceUIInputMap (JComponent component,
int type,
InputMap uiInputMap)
component 의 UI InputMap 를 uiInputMap 로 변경하는 편리한 메소드입니다. |
void |
JComponent. setInputMap (int condition,
InputMap map)
조건 condition 로 사용하는 InputMap 를 map 로 설정합니다. |
void |
ComponentInputMap. setParent (InputMap map)
부모를 설정합니다. |
void |
InputMap. setParent (InputMap map)
이 InputMap 의 부모를 설정합니다. |
javax.swing.plaf 에서의 InputMap 의 사용 |
---|
javax.swing.plaf 에서의 InputMap 의 서브 클래스 | |
---|---|
class |
ComponentInputMapUIResource
javax.swing.ComponentInputMap 의 서브 클래스이며, UIResource 인터페이스를 구현하고 있습니다. |
class |
InputMapUIResource
javax.swing.InputMap 의 서브 클래스이며, UIResource 인터페이스를 구현하고 있습니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.