|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.ScrollBarUI | +--javax.swing.plaf.basic.BasicScrollBarUI | +--javax.swing.plaf.metal.MetalScrollBarUI
Metal Look & Feel ¸¦ À§ÇÑ, ScrollBarUI ÀÇ ±¸ÇöÀÔ´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä |
Ŭ·¡½º javax.swing.plaf.basic. BasicScrollBarUI À» »ó¼Ó¹ÞÀº ÁßøµÈ Ŭ·¡½º |
BasicScrollBarUI.ArrowButtonListener , BasicScrollBarUI.ModelListener , BasicScrollBarUI.PropertyChangeHandler , BasicScrollBarUI.ScrollListener , BasicScrollBarUI.TrackListener |
ÇʵåÀÇ °³¿ä | |
protected javax.swing.plaf.metal.MetalBumps |
bumps
|
protected MetalScrollButton |
decreaseButton
|
static String |
FREE_STANDING_PROP
|
protected MetalScrollButton |
increaseButton
|
protected boolean |
isFreeStanding
|
protected int |
scrollBarWidth
|
Ŭ·¡½º javax.swing.plaf.basic. BasicScrollBarUI ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
buttonListener , decrButton , DECREASE_HIGHLIGHT , incrButton , INCREASE_HIGHLIGHT , isDragging , maximumThumbSize , minimumThumbSize , modelListener , NO_HIGHLIGHT , propertyChangeListener , scrollbar , scrollListener , scrollTimer , thumbColor , thumbDarkShadowColor , thumbHighlightColor , thumbLightShadowColor , thumbRect , trackColor , trackHighlight , trackHighlightColor , trackListener , trackRect |
ÀÎÅÍÆäÀ̽º javax.swing. SwingConstants ¿¡¼ »ó¼Ó¹ÞÀº Çʵå |
BOTTOM , CENTER , EAST , HORIZONTAL , LEADING , LEFT , NEXT , NORTH , NORTH_EAST , NORTH_WEST , PREVIOUS , RIGHT , SOUTH , SOUTH_EAST , SOUTH_WEST , TOP , TRAILING , VERTICAL , WEST |
»ý¼ºÀÚÀÇ °³¿ä | |
MetalScrollBarUI ()
|
¸Þ¼ÒµåÀÇ °³¿ä | |
protected void |
configureScrollBarColors ()
|
protected JButton |
createDecreaseButton (int orientation)
Ãà¼Ò ºä¸¦ ³ªÅ¸³»´Â ºä¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected JButton |
createIncreaseButton (int orientation)
È®´ë ºä¸¦ ³ªÅ¸³»´Â ºä¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected PropertyChangeListener |
createPropertyChangeListener ()
|
static ComponentUI |
createUI (JComponent c)
ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI delegateÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected Dimension |
getMinimumThumbSize ()
»ù¿¡ Çã¿ë µÇ´Â ÃÖ¼ÒÀÇ »çÀÌÁ µ¹·ÁÁÝ´Ï´Ù. |
Dimension |
getPreferredSize (JComponent c)
¼öÁ÷ ½ºÅ©·Ñ ¹ÙÀÇ ÀûÀýÇÑ ÆøÀº ÁõºÐ ¹öư ¹× °¨ ºÐ¹öưÀÇ ÀûÀýÇÑ Æø ( null ÀÌ¿Ü)ÀÇ ÃÖ´ëÄ¡, ¹× »ùÀÇ ÃÖ¼ÒÆøÀÔ´Ï´Ù. |
protected void |
installDefaults ()
|
protected void |
installListeners ()
|
protected void |
paintThumb (Graphics g,
JComponent c,
Rectangle thumbBounds)
|
protected void |
paintTrack (Graphics g,
JComponent c,
Rectangle trackBounds)
|
protected void |
setThumbBounds (int x,
int y,
int width,
int height)
¹«È¿ÀÎ area¸¦ È®´ëÇÒ ¶§ÀÎ ¸¸Å, ¿À¹ö¶óÀ̵å(override) µË´Ï´Ù. |
Ŭ·¡½º javax.swing.plaf.basic. BasicScrollBarUI ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
addLayoutComponent , createArrowButtonListener , createModelListener , createScrollListener , createTrackListener , getMaximumSize , getMaximumThumbSize , getMinimumSize , getThumbBounds , getTrackBounds , installComponents , installKeyboardActions , installUI , layoutContainer , layoutHScrollbar , layoutVScrollbar , minimumLayoutSize , paint , paintDecreaseHighlight , paintIncreaseHighlight , preferredLayoutSize , removeLayoutComponent , scrollByBlock , scrollByUnit , uninstallComponents , uninstallDefaults , uninstallKeyboardActions , uninstallListeners , uninstallUI |
Ŭ·¡½º javax.swing.plaf. ComponentUI ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
contains , getAccessibleChild , getAccessibleChildrenCount , update |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
protected javax.swing.plaf.metal.MetalBumps bumps
protected MetalScrollButton increaseButton
protected MetalScrollButton decreaseButton
protected int scrollBarWidth
public static final String FREE_STANDING_PROP
protected boolean isFreeStanding
»ý¼ºÀÚÀÇ »ó¼¼ |
public MetalScrollBarUI()
¸Þ¼ÒµåÀÇ »ó¼¼ |
public static ComponentUI createUI(JComponent c)
ComponentUI
ÀÇ ±â¼ú: createUI
¸Þ¼Òµå¸¦ Á¦°øÇØ, ±× UI delegateÀÇ ¼ºê Ŭ·¡½ºÀÇ ÀνºÅϽº¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ½À´Ï´Ù. UI delegateÀÇ ¼ºê Ŭ·¡½º°¡ »óÅ ¾øÀ½ÀÇ °æ¿ì, º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â ÀνºÅϽº¸¦ µ¹·ÁÁÝ´Ï´Ù. UI delegateÀÌ »óÅ ÀÖ´Â °æ¿ì, ÄÄÆÛ³ÍÆ® ¸¶´Ù »õ·Î¿î ÀνºÅϽº¸¦ µ¹·ÁÁÙ Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â È£ÃâÇØ¼± ¾È µÇ±â ¶§¹®¿¡, ±× µðÆúÆ® ±¸ÇöÀº ¿¡·¯¸¦ ½½·Î¿ì ÇÕ´Ï´Ù.
protected void installDefaults()
BasicScrollBarUI
³»ÀÇ installDefaults
protected void installListeners()
BasicScrollBarUI
³»ÀÇ installListeners
protected PropertyChangeListener createPropertyChangeListener()
BasicScrollBarUI
³»ÀÇ createPropertyChangeListener
protected void configureScrollBarColors()
BasicScrollBarUI
³»ÀÇ configureScrollBarColors
public Dimension getPreferredSize(JComponent c)
BasicScrollBarUI
ÀÇ ±â¼ú: null
ÀÌ¿Ü)ÀÇ ÃÖ´ëÄ¡, ¹× »ùÀÇ ÃÖ¼ÒÆøÀÔ´Ï´Ù. ÀûÀýÇÑ ³ôÀÌ´Â ÀÌ·¯ÇÑ ÄÄÆÛ³ÍÆ®ÀÇ ÀûÀýÇÑ ³ôÀÌÀÇ ÃѰèÀÔ´Ï´Ù. ¼öÆò ½ºÅ©·Ñ ¹ÙÀÇ ÀûÀýÇÑ »çÀÌÁîµµ, ÀÌ·¯ÇÑ ÄÄÆÛ³ÍÆ®¿¡ ±Ù°ÅÇØ Á¤ÇØÁý´Ï´Ù.
preferredSize
´Â 1 ȸ¸¸ °è»êµË´Ï´Ù. ÀÌÈÄ, ÀÌ ¸Þ¼Òµå¸¦ È£ÃâÇϸé(ÀÚ), ij½¬¿¡ ÀúÀåµÈ »çÀÌÁîÄ¡°¡ µ¹·ÁÁÖ¾îÁý´Ï´Ù.
BasicScrollBarUI
³»ÀÇ getPreferredSize
c
- ÀÌ ¸Þ¼Òµå¸¦ delegate Çϰí ÀÖ´Â JScrollBar
BasicScrollBarUI.getMaximumSize(javax.swing.JComponent)
,
BasicScrollBarUI.getMinimumSize(javax.swing.JComponent)
protected JButton createDecreaseButton(int orientation)
BasicScrollBarUI
³»ÀÇ createDecreaseButton
protected JButton createIncreaseButton(int orientation)
BasicScrollBarUI
³»ÀÇ createIncreaseButton
protected void paintTrack(Graphics g, JComponent c, Rectangle trackBounds)
BasicScrollBarUI
³»ÀÇ paintTrack
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds)
BasicScrollBarUI
³»ÀÇ paintThumb
protected Dimension getMinimumThumbSize()
BasicScrollBarUI
ÀÇ ±â¼ú: °æ°í: ÀÌ ¸Þ¼Òµå°¡ µ¹·ÁÁÖ´Â °ªÀº º¯°æÇÏÁö ¸»¾Æ ÁÖ¼¼¿ä. À̰ÍÀº °øÀ¯µÇ´Â Á¤Àû Á¤¼öÀÔ´Ï´Ù.
BasicScrollBarUI
³»ÀÇ getMinimumThumbSize
BasicScrollBarUI.getMaximumThumbSize()
protected void setThumbBounds(int x, int y, int width, int height)
BasicScrollBarUI
³»ÀÇ setThumbBounds
BasicScrollBarUI.getThumbBounds()
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.