|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollBar
javax.swing.JScrollPane.ScrollBar
protected class JScrollPane.ScrollBar
µðÆúÆ®¿¡¼´Â JScrollPane
´Â ÀÌ Å¬·¡½ºÀÇ ÀνºÅϽºÀÎ ½ºÅ©·Ñ ¹Ù¸¦ ÀÛ¼ºÇÕ´Ï´Ù. Scrollbar
´Â getUnitIncrement
¹× getBlockIncrement
¸Þ¼µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇϹǷΠºäÆ÷Æ®ÀÇ ºä°¡ Scrollable
ÀÎ °æ¿ì, ¡¸À¯´ÏÆ®/ºí·Ï¡¹ÁõºÐ°ªÀÌ ¸í½ÃÀûÀ¸·Î ¼³Á¤µÇ¾úÀ» °æ¿ì¸¦ Á¦¿ÜÇØ, ÀÌ·¯ÇÑ °ªÀÇ »êÃâÀ» À§Çؼ ºä°¡ ¿ä±¸µË´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇÏ°í ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans
ÆÐÅ°Áö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder
¸¦
ÂüÁ¶ÇϽʽÿÀ.
Scrollable
,
JScrollPane.createVerticalScrollBar()
,
JScrollPane.createHorizontalScrollBar()
Áßø(Nested) Ŭ·¡½º °³¿ä |
---|
Ŭ·¡½º javax.swing. JScrollBar ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
JScrollBar.AccessibleJScrollBar |
Ŭ·¡½º javax.swing. JComponent ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
JComponent.AccessibleJComponent |
Ŭ·¡½º java.awt. Container ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
Container.AccessibleAWTContainer |
Ŭ·¡½º java.awt. Component ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
Component.AccessibleAWTComponent,
Component.BltBufferStrategy,
Component.FlipBufferStrategy |
ÇÊµå °³¿ä |
---|
Ŭ·¡½º javax.swing. JScrollBar ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
blockIncrement,
model,
orientation,
unitIncrement |
Ŭ·¡½º javax.swing. JComponent ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Ŭ·¡½º java.awt. Component ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
ÀÎÅÍÆäÀ̽º java.awt. Adjustable ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
HORIZONTAL,
NO_ORIENTATION,
VERTICAL |
ÀÎÅÍÆäÀ̽º java.awt.image. ImageObserver ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
ABORT,
ALLBITS,
ERROR,
FRAMEBITS,
HEIGHT,
PROPERTIES,
SOMEBITS,
WIDTH |
»ý¼ºÀÚ °³¿ä | |
---|---|
JScrollPane.ScrollBar (int orientation)
ÁöÁ¤µÈ ¹æÇâÀ¸·Î ½ºÅ©·Ñ ¹Ù¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
int |
getBlockIncrement (int direction)
ºäÆ÷Æ®ÀÇ ºä°¡ Scrollable °´Ã¼ÀÇ °æ¿ì´Â ½ºÅ©·Ñ Çϱâ À§Çؼ ¡¸ºí·Ï¡¹ÁõºÐÄ¡¸¦ »êÁ¤ÇÕ´Ï´Ù. |
int |
getUnitIncrement (int direction)
ºäÆ÷Æ®ÀÇ ºä°¡ Scrollable °´Ã¼ÀÇ °æ¿ì´Â ½ºÅ©·Ñ Çϱâ À§Çؼ ¡¸À¯´ÏÆ®¡¹ÁõºÐÄ¡¸¦ »êÁ¤ÇÕ´Ï´Ù. |
void |
setBlockIncrement (int blockIncrement)
°ªÀ» ¼³Á¤Çϵµ·Ï ½´ÆÛ Å¬·¡½º¿¡ ¸Þ¼¼Áö¸¦ º¸³», blockIncrementSet ÀνºÅϽº º¯¼ö¸¦ true¿¡ ¸®¼Â ÇÕ´Ï´Ù. |
void |
setUnitIncrement (int unitIncrement)
°ªÀ» ¼³Á¤Çϵµ·Ï ½´ÆÛ Å¬·¡½º¿¡ ¸Þ¼¼Áö¸¦ º¸³», unitIncrementSet ÀνºÅϽº º¯¼ö¸¦ true¿¡ ¸®¼Â ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public JScrollPane.ScrollBar(int orientation)
ScrollPaneConstants.VERTICAL
ScrollPaneConstants.HORIZONTAL
orientation
- »ó±âÀÇ Á¤´çÇÑ ¹æÇâÄ¡ÀÇ ¾î´ÀÂÊÀ̵çÀ» ÁöÁ¤ÇÑ Á¤¼ö°ª
¸Þ¼µåÀÇ »ó¼¼ |
---|
public void setUnitIncrement(int unitIncrement)
unitIncrementSet
ÀνºÅϽº º¯¼ö¸¦ true¿¡ ¸®¼Â ÇÕ´Ï´Ù.
Adjustable
³»ÀÇ setUnitIncrement
JScrollBar
³»ÀÇ setUnitIncrement
unitIncrement
- »õ·Î¿î ¡¸À¯´ÏÆ®¡¹ÁõºÐÄ¡. Çȼ¿ Ç¥½ÃJScrollBar.getUnitIncrement(int)
public int getUnitIncrement(int direction)
Scrollable
°´Ã¼ÀÇ °æ¿ì´Â ½ºÅ©·Ñ Çϱâ À§Çؼ ¡¸À¯´ÏÆ®¡¹ÁõºÐÄ¡¸¦ »êÁ¤ÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â super.getUnitIncrement
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
JScrollBar
³»ÀÇ getUnitIncrement
direction
- »ó¶Ç´Â¿ÞÂÊÀ¸·Î ½ºÅ©·Ñ ÇÏ´Â °æ¿ì´Â 0 º¸´Ù ÀÛ°í, ¾Æ·¡ ¶Ç´Â ¿À¸¥ÂÊÀ¸·Î ½ºÅ©·Ñ ÇÏ´Â °æ¿ì´Â 0 º¸´Ù Å©´Ù
Scrollable.getScrollableUnitIncrement(java.awt.Rectangle, int, int)
public void setBlockIncrement(int blockIncrement)
blockIncrementSet
ÀνºÅϽº º¯¼ö¸¦ true¿¡ ¸®¼Â ÇÕ´Ï´Ù.
Adjustable
³»ÀÇ setBlockIncrement
JScrollBar
³»ÀÇ setBlockIncrement
blockIncrement
- »õ·Î¿î ¡¸ºí·Ï¡¹ÁõºÐÄ¡. Çȼ¿ Ç¥½ÃJScrollBar.getBlockIncrement()
public int getBlockIncrement(int direction)
Scrollable
°´Ã¼ÀÇ °æ¿ì´Â ½ºÅ©·Ñ Çϱâ À§Çؼ ¡¸ºí·Ï¡¹ÁõºÐÄ¡¸¦ »êÁ¤ÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â blockIncrement
´Â ºäÆ÷Æ®ÀdzôÀÌ ¶Ç´Â ³ôÀÌ¿Í °°°Ô µË´Ï´Ù. ºäÆ÷Æ®°¡ ¾ø´Â °æ¿ì´Â super.getBlockIncrement
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
JScrollBar
³»ÀÇ getBlockIncrement
direction
- »ó¶Ç´Â¿ÞÂÊÀ¸·Î ½ºÅ©·Ñ ÇÏ´Â °æ¿ì´Â 0 º¸´Ù ÀÛ°í, ¾Æ·¡ ¶Ç´Â ¿À¸¥ÂÊÀ¸·Î ½ºÅ©·Ñ ÇÏ´Â °æ¿ì´Â 0 º¸´Ù Å©´Ù
Scrollable.getScrollableBlockIncrement(java.awt.Rectangle, int, int)
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.