org.kwis.msp.lwc
Class TextComponent.ModeViewer
java.lang.Object
|
+--org.kwis.msp.lcdui.Card
|
+--org.kwis.msp.lwc.TextComponent.ModeViewer
- Enclosing class:
- TextComponent
- public class TextComponent.ModeViewer
- extends Card
현재의 입력모드만을 보여주는 카드입니다.
| Fields inherited from class org.kwis.msp.lcdui.Card |
bTrans, h, w, x, y |
|
Method Summary |
void |
notifyChangeMode()
현재의입력 모드가 변경되면 이 카드를 사용중이 TextComponent에서
현재 입력 모드가 변경되었다는 것을 알려주기위해 호출되는
메소드입니다.
|
protected void |
paint(Graphics g)
Card의 내용을 그려줍니다.
|
| Methods inherited from class org.kwis.msp.lcdui.Card |
getDisplay, getHeight, getWidth, getX, getY, isShown, keyNotify, move, pointerNotify, repaint, repaint, resize, serviceRepaints, showNotify |
TextComponent.ModeViewer
public TextComponent.ModeViewer(Display d)
notifyChangeMode
public void notifyChangeMode()
- 현재의입력 모드가 변경되면 이 카드를 사용중이 TextComponent에서
현재 입력 모드가 변경되었다는 것을 알려주기위해 호출되는
메소드입니다.
이 메소드가 호출되면 이 카드를 다시 화면에 그려주는
페이트 메소드를 호출합니다.
paint
protected void paint(Graphics g)
- Description copied from class:
Card
- Card의 내용을 그려줍니다.
응용 프로그램은 이 함수를 꼭 구현해 주어야 합니다.
이때 인수로 넘어오는
g는
Card에 맞도록 클리핑 되어 있습니다.
translate, setClip에 의해서
클리핑 영역을 변경하게 되면,
Card가 지정하는 이상의 부분을 칠하게 되어 있으므로
유의해서 사용해야 합니다.
그릴 내용은 Graphics객체를 사용하여 그리게 됩니다.
- Overrides:
paint in class Card
- Following copied from class:
org.kwis.msp.lcdui.Card
- Parameters:
g - 칠해질 graphics
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved.
Contact : contact@aromasoft.com