java.awt.* : 멀티미디어관련 class제공
시스템에 따라 다른 모양을 나타낸다 ->SWING pakage활용(실행시간,메모리 증가)
Component class : event처리, paint()지원(재정의후사용)
(Component>)Container :
button,list,choice,text conpernent,text field,text area는
함수(위)정의,add()를 이용해 Container에
Panel,(Applet->JSP로), ..=>FlowLayout방식
Frame(윈도우생성-(WINDOW로 객체생성 x)/사용자class구성), ..=>FlowLayout방식
Dialoge(모달Dialoge생성/사용자class구성), ..=>BorderLayout방식
FileDialoge(파일을 열거나 저장하기위해)를 ..=>BorderLayout방식
(객체 생성)붙인다.
cf.) WINDOW :Dialoge,Frame 에서 공통된 내용을 가지고 있다가 상속시켜주기위한 목적
Dimension : 사각형의 범위를 폭과 넓이 형식으로 저장
Font,FontMetrics : 글꼴의 속성값을 저장해주고 처리작업을 지원해주는 함수를 갖고있다.
color : 색상값을 저장하는 객체
Graphics : 이미 정의된 객체의 포인터를 가져다 쓴다. (그리기관면 메소드제공)
컴포넌트의 배치와 관련된 클래스: BorderLayout(방향), FlowLayout(상하),
GridLayout(행렬식), CardLayout(수핼시)
그래픽 출력과 관련된 클래스: Color, Font, FontMetrics, Rectangle, Point,Polygon, Graphics, Image
컨테이너 클래스: Frame, Panel, Dialog..
* repaint(시간설정) ->update()윈도우 또는 다이얼 로그 영역전체
페인트 함수 호출하는 코드를 기본적으로 포함하고 있다
-> paint() 출력 하고자 코드를 이 함수를 재정의해서 사용 :최초프로그렘
배치 관리자(Layout Manager)
: FlowLayout(왼->오른?), BorderLayout(방향설정후), GridLayout(행렬)
: 정렬 수정 Container 클래스의 setLayout() 메소드를 사용,
: 정렬 초기화 setLayout(null)
- Open in Google Docs Viewer
- Open link in new tab
- Open link in new window
- Open link in new incognito window
- Download file
- Copy link address
- Edit PDF File on PDFescape.com
element
| Font | |
|---|---|
| font-family | |
| font-size | |
| font-style | |
| font-variant | |
| font-weight | |
| letter-spacing | |
| line-height | |
| text-decoration | |
| text-align | |
| text-indent | |
| text-transform | |
| white-space | |
| word-spacing | |
| color | |
| Background | |
| bg-attachment | |
| bg-color | |
| bg-image | |
| bg-position | |
| bg-repeat | |
| Box | |
| width | |
| height | |
| border-top | |
| border-right | |
| border-bottom | |
| border-left | |
| margin | |
| padding | |
| max-height | |
| min-height | |
| max-width | |
| min-width | |
| outline-color | |
| outline-style | |
| outline-width | |
| Positioning | |
| position | |
| top | |
| bottom | |
| right | |
| left | |
| float | |
| display | |
| clear | |
| z-index | |
| List | |
| list-style-image | |
| list-style-type | |
| list-style-position | |
| Table | |
| vertical-align | |
| border-collapse | |
| border-spacing | |
| caption-side | |
| empty-cells | |
| table-layout | |
| Effects | |
| text-shadow | |
| -webkit-box-shadow | |
| border-radius | |
| Other | |
| overflow | |
| cursor | |
| visibility |
