Class AnnunciatorComponent
package org.kwis.msp.lwc
java.lang.Object | +--org.kwis.msp.lwc.Component | +--org.kwis.msp.lwc.ContainerComponent | +--org.kwis.msp.lwc.ShellComponent | +--org.kwis.msp.lwc.AnnunciatorComponentextends ShellComponent:
Annunciator를 나타내기 위한 컴포넌트.
ContainerComponent를 상속 받았지만 addComponent, removeComponent등의 함수를 사용할 수 없다. 사용시 IllegalStateException발생. 이 컴포는트는 Display에 추가 되어 들어 가며
See Also:
ShellComponent,ContainerComponent
Fields inherited from class org.kwis.msp.lwc. ShellComponent cd , cmpCommand , cmpTitle , cmpWork , RESIZE_MASK
Fields inherited from class org.kwis.msp.lwc. ContainerComponent cmpFocus , cmps , insetBottom , insetLeft , insetRight , insetTop , ncomp , offsetX , offsetY , useFrame
Fields inherited from class org.kwis.msp.lwc. Component bg , evtListener , evtListenerObj , fg , FOCUS_NOTIFY , h , HAS_FOCUS_MASK , INPUT_MASK , KEY_NOTIFY , KEY_PRESSED , KEY_RELEASED , KEY_REPEATED , KEY_TYPED , LAYOUT_BOTTOM , LAYOUT_HCENTER , LAYOUT_LEFT , LAYOUT_RIGHT , LAYOUT_TOP , LAYOUT_VCENTER , mask , parent , POINT_DRAGGED , POINT_PRESSED , POINT_RELEASED , POINTER_NOTIFY , POS_MASK , PREFER_SIZE_MASK , prefH , prefW , SHOW_NOTIFY , SIZE_MASK , VALID_MASK , w , x , y
Constructor Summary AnnunciatorComponent (boolean bTrans)
Method Summary void addComponent (int idx, Component cmp) 자식 컴포넌트를 하나 추가합니다. void hide () 컴포넌트를 화면에서 삭제 합니다. void layout () 하위 컴포넌트의 크기와 위치를 결정합니다. protected void paint ( Graphics g) void removeComponent ( Component cmp) 지정된 순서의 컴포넌트를 삭제합니다.
index번째 있는 컴포넌트를 삭제합니다. protected void setParameter () void show () 컴포넌트를 화면상에 보여줍니다.
Methods inherited from class org.kwis.msp.lwc. ShellComponent addComponent , configure , controlInset , getCard , getCommand , getNextTraversalComponent , getPrevTraversalComponent , getTitle , getWorkComponent , getX , getY , grabKey , isShown , keyNotify , processEvent , removeAllComponents , repaint , serviceRepaints , setCommand , setGrabKeyListener , setTitle , setTitle , setWorkComponent , showNotify , ungrabKey
Methods inherited from class org.kwis.msp.lwc. ContainerComponent getComponent , getIndexOf , getNumberOfComponent , paintFrame , removeComponent , repaint , scrollTo , setComponent , useFrame , validate
Methods inherited from class org.kwis.msp.lwc. Component calcPreferredSize , canHandleInput , focusNotify , getBackground , getForeground , getHeight , getPreferredHeight , getPreferredHeight , getPreferredWidth , getWidth , getXOnScreen , getYOnScreen , hasFocus , invalidate , isValid , paintContent , pointerNotify , setBackground , setEventListener , setFocus , setForeground , toString
Methods inherited from class java.lang. Object equals , getClass , hashCode , notify , notifyAll , wait , wait , wait
Constructor Detail
AnnunciatorComponent
섹션 제목: “AnnunciatorComponent”Method Detail
addComponent
섹션 제목: “addComponent”Overrides:
addComponentin classShellComponent
Parameters:
cmp- 넣을 컴포넌트
Throws:
IllegalStateException- 항상 발생
removeComponent
섹션 제목: “removeComponent”Overrides:
removeComponentin classShellComponent
Parameters:
index- 삭제할 컴포넌트
Throws:
IllegalStateException- 항상발생
layout
섹션 제목: “layout”- Description copied from class:
Component
Overrides:
layoutin classShellComponent
setParameter
섹션 제목: “setParameter”show
섹션 제목: “show”Overrides:
showin classShellComponent
hide
섹션 제목: “hide”Overrides:
hidein classShellComponent
Throws:
IllegalStateException- 항상발생
paint
섹션 제목: “paint”Overrides:
-
paintin classContainerComponent## 생성자 요약 -
AnnunciatorComponent (boolean bTrans)
메서드 요약
섹션 제목: “메서드 요약”void addComponent (int idx, Component cmp)— 자식 컴포넌트를 하나 추가합니다.void hide ()— 컴포넌트를 화면에서 삭제 합니다.void layout ()— 하위 컴포넌트의 크기와 위치를 결정합니다.protected void paint ( Graphics g)void removeComponent ( Component cmp)— 지정된 순서의 컴포넌트를 삭제합니다. index번째 있는 컴포넌트를 삭제합니다.protected void setParameter ()void show ()— 컴포넌트를 화면상에 보여줍니다.
생성자 상세
섹션 제목: “생성자 상세”AnnunciatorComponent
섹션 제목: “AnnunciatorComponent”public AnnunciatorComponent(boolean bTrans)addComponent
섹션 제목: “addComponent”public void addComponent(int idx, Component cmp)Overrides:
addComponentin classShellComponent
Parameters:
cmp- 넣을 컴포넌트
Throws:
IllegalStateException- 항상 발생
removeComponent
섹션 제목: “removeComponent”public void removeComponent(Component cmp)Overrides:
removeComponentin classShellComponent
Parameters:
index- 삭제할 컴포넌트
Throws:
IllegalStateException- 항상발생
layout
섹션 제목: “layout”public void layout()- Description copied from class:
Component
Overrides:
layoutin classShellComponent
setParameter
섹션 제목: “setParameter”protected void setParameter()show
섹션 제목: “show”public void show()Overrides:
showin classShellComponent
hide
섹션 제목: “hide”public void hide()Overrides:
hidein classShellComponent
Throws:
IllegalStateException- 항상발생
paint
섹션 제목: “paint”protected void paint(Graphics g)Overrides:
paintin classContainerComponent## 메서드 상세
addComponent
섹션 제목: “addComponent”public void addComponent(int idx, Component cmp)Overrides:
addComponentin classShellComponent
Parameters:
cmp- 넣을 컴포넌트
Throws:
IllegalStateException- 항상 발생
removeComponent
섹션 제목: “removeComponent”public void removeComponent(Component cmp)Overrides:
removeComponentin classShellComponent
Parameters:
index- 삭제할 컴포넌트
Throws:
IllegalStateException- 항상발생
layout
섹션 제목: “layout”public void layout()- Description copied from class:
Component
Overrides:
layoutin classShellComponent
setParameter
섹션 제목: “setParameter”protected void setParameter()show
섹션 제목: “show”public void show()Overrides:
showin classShellComponent
hide
섹션 제목: “hide”public void hide()Overrides:
hidein classShellComponent
Throws:
IllegalStateException- 항상발생
paint
섹션 제목: “paint”protected void paint(Graphics g)Overrides:
paintin classContainerComponent
AromaSoft Corp. Proprietary and Confidential
(C)opyright 2003 AromaSoft Corp. All right reserved. Contact : contact@aromasoft.com