달력

112018  이전 다음

  •  
  •  
  •  
  •  
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  •  

'프로그래밍/JAVA'에 해당되는 글 3건

  1. 2009.05.22 Swing Component Example
  2. 2009.02.06 JAVA 강좌있는곳
  3. 2009.02.05 AWT 컴포넌트

Component 사용시 예제들 모음
실행화면을 볼수 있고 소스를 받아 볼수도 있다.

http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html
Posted by sukay

GridBagLayout에 관련된 글을 찾다가
발견한곳_ 책이란 다른 내용의 정리가 되어있고
목차별로 검색이 가능한곳이다_

퍼오고 싶지만 양이 너무많타는..


 

http://www.javastudy.co.kr/docs/yopark/

Posted by sukay

컴포넌트

생성자

주요 메소드

Label

Label()
Label(String str)
Label(String str, int alignment)

setText(String str)
getText()

Button

Button(String str)

setLabel(String str)
getlabel()
setActionCommand(String str)
addActionListener(ActionListener)

Checkbox

Checkbox()
Checkbox(String str)
Checkbox(String str, boolean onoff)
Checkbox(String str, CheckboxGroup group, boolean onoff)

setLabel(String str)
getLabel()
setState(boolean onoff)
getState()
addItemListener(ItemListener) 

Choice

Choice()

add(String str)
getItemCount()
getItem(int index)
remove(int index)
getSelectedItem()
insert(String str, int index)addItemListener(ItemListener)  

List

List()List(int rows)
List(int rows, boolean multipleModeOnOff)

add(String item)
remove(int index)
select(int index)
deselect(int index)addActionListenerActionListener) addItemListener(ItemListener)  

TextArea

TextArea()
TextArea(String str)
TextArea(int rows, int cols)TextArea(String str, int rows, int cols) 

append(String str)
setText(String str)
getText()
insert(String str, int index)getSelectionStart()
getSelectionEnd()
getSelectedText()
replaceRange(String str, int start, int end)
addTextListener(TextListner)  

TextField

TextField()
TextField(int cols)
TextField(String str)
TextField(String str, int cols)

setText(String str)
getText()addActionListener(ActionListener)

Scrollbar

Scrollbar(Scrollbar.VERTICAL)Scrollbar(Scrollbar.HORIZONTAL) 

 

Canvas

Canvas()

setSize(int x, int y)
setBackground(Color color)

Panel

Panel()
Panel(LayoutManager layout)

setSize(int x, int y)
setBackground(Color color)setLocation(int x, int y)
setLayout(LayoutManager layout)

ScrollPane

ScrollPane()
ScrollPane(int scrollbarDisplayPolicy)

setSize(int x, int y)

PopupMenu

PopMenu()
PopMenu(String label)

add(MenuItem(String str))
hide()
show(Component, int x, int y)
setVisile(boolean)  


**http://blog.naver.com/nban38/30032530278
Posted by sukay
TAG AWT, java