|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
ButtonModel 를 사용하고 있는 패키지 | |
---|---|
javax.swing | 모든 플랫폼에서 가능한 한 똑같이 기능하는 「경량」(Java 공통 언어) 컴퍼넌트세트를 제공합니다. |
javax.swing 에서의 ButtonModel 의 사용 |
---|
ButtonModel 를 구현하고 있는 javax.swing 의 클래스 | |
---|---|
class |
DefaultButtonModel
Button 컴퍼넌트의 데이터 모델의 디폴트 구현입니다. |
static class |
JToggleButton.ToggleButtonModel
ToggleButton 모델입니다. |
ButtonModel 로서 선언되고 있는 javax.swing 의 필드 | |
---|---|
protected ButtonModel |
AbstractButton. model
버튼 상태를 결정하는 데이터 모델입니다. |
ButtonModel 를 돌려주는 javax.swing 의 메소드 | |
---|---|
ButtonModel |
AbstractButton. getModel ()
이 버튼이 나타내는 모델을 돌려줍니다. |
ButtonModel |
ButtonGroup. getSelection ()
선택된 버튼의 모델을 돌려줍니다. |
ButtonModel 형의 파라미터를 가지는 javax.swing 의 메소드 | |
---|---|
boolean |
ButtonGroup. isSelected (ButtonModel m)
ButtonModel 가 선택되고 있는지 어떤지를 돌려줍니다. |
void |
JMenu. setModel (ButtonModel newModel)
「메뉴 버튼」의 데이터 모델을 설정합니다. |
void |
JMenuItem. setModel (ButtonModel newModel)
이 버튼이 나타내는 모델을 설정합니다. |
void |
AbstractButton. setModel (ButtonModel newModel)
이 버튼이 나타내는 모델을 설정합니다. |
void |
ButtonGroup. setSelected (ButtonModel m,
boolean b)
ButtonModel 에 대해서 선택된 값을 설정합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.