JavaTM 2 Platform
Standard Ed. 5.0

javax.swing.plaf.basic
Ŭ·¡½º BasicTabbedPaneUI

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.swing.plaf.ComponentUI 
      »óÀ§¸¦ È®Àå javax.swing.plaf.TabbedPaneUI 
          »óÀ§¸¦ È®Àå javax.swing.plaf.basic.BasicTabbedPaneUI
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
SwingConstants
¾Ë·ÁÁø Á÷°è ¼­ºê Ŭ·¡½º:
MetalTabbedPaneUI

public class BasicTabbedPaneUI
extends TabbedPaneUI
implements SwingConstants

TabbedPaneUI ±âº» Look & Feel ¿¡ ÇÑ ±¸ÇöÀÔ´Ï´Ù.


Áßø(Nested) Ŭ·¡½º °³¿ä
 class BasicTabbedPaneUI.FocusHandler
          ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼­ Ãë±ÞÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
 class BasicTabbedPaneUI.MouseHandler
          ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼­ Ãë±ÞÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
 class BasicTabbedPaneUI.PropertyChangeHandler
          ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼­ Ãë±ÞÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
 class BasicTabbedPaneUI.TabbedPaneLayout
          ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼­ Ãë±ÞÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
 class BasicTabbedPaneUI.TabSelectionHandler
          ÀÌ Å¬·¡½º´Â "protected" ³»ºÎ Ŭ·¡½º·Î¼­ Ãë±ÞÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
 
ÇÊµå °³¿ä
protected  Rectangle calcRect
          ½ÇÇàÁß¿¡ ¸¹Àº »õ·Î¿î Rectangles°¡ ±¸ÃàµÇ´Â °ÍÀ» ¸·±â À§ÇØ, ÀϹÝÀÇ ·¹À̾ƿô °è»ê¿¡ »ç¿ëµÇ´Â ±¸ÇüÀÔ´Ï´Ù.
protected  Insets contentBorderInsets
           
protected  Color darkShadow
           
protected  KeyStroke downKey
          ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
protected  Color focus
           
protected  FocusListener focusListener
           
protected  Color highlight
           
protected  KeyStroke leftKey
          ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
protected  Color lightHighlight
           
protected  int maxTabHeight
           
protected  int maxTabWidth
           
protected  MouseListener mouseListener
           
protected  PropertyChangeListener propertyChangeListener
           
protected  Rectangle [] rects
           
protected  KeyStroke rightKey
          ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
protected  int runCount
           
protected  int selectedRun
           
protected  Insets selectedTabPadInsets
           
protected  Color shadow
           
protected  Insets tabAreaInsets
           
protected  ChangeListener tabChangeListener
           
protected  Insets tabInsets
           
protected  JTabbedPane tabPane
           
protected  int tabRunOverlay
           
protected  int[] tabRuns
           
protected  int textIconGap
           
protected  KeyStroke upKey
          ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
 
ÀÎÅÍÆäÀ̽º 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
 
»ý¼ºÀÚ °³¿ä
BasicTabbedPaneUI ()
           
 
¸Þ¼­µå °³¿ä
protected  void assureRectsCreated (int tabCount)
           
protected  int calculateMaxTabHeight (int tabPlacement)
           
protected  int calculateMaxTabWidth (int tabPlacement)
           
protected  int calculateTabAreaHeight (int tabPlacement, int horizRunCount, int maxTabHeight)
           
protected  int calculateTabAreaWidth (int tabPlacement, int vertRunCount, int maxTabWidth)
           
protected  int calculateTabHeight (int tabPlacement, int tabIndex, int fontHeight)
           
protected  int calculateTabWidth (int tabPlacement, int tabIndex, FontMetrics  metrics)
           
protected  ChangeListener createChangeListener ()
           
protected  FocusListener createFocusListener ()
           
protected  LayoutManager createLayoutManager ()
          installUI¿¡ ÀÇÇØ ºÒ·Á°¡ JTabbedPane¸¦ °ü¸®Çϱâ À§ÇÑ ·¹À̾ƿô ¸Å´ÏÀú °´Ã¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
protected  MouseListener createMouseListener ()
           
protected  PropertyChangeListener createPropertyChangeListener ()
           
protected  JButton createScrollButton (int direction)
          Æ¯Á¤ÀÇ ¹æÇâÀ¸·Î ÅÇÀ» ½ºÅ©·Ñ ÇÒ ¼ö ÀÖµµ·Ï ÇÏ´Â JButton¸¦ »ý¼ºÇØ, ±×°ÍÀ» ¸®ÅÏÇÕ´Ï´Ù.
static ComponentUI createUI (JComponent  c)
           
protected  void expandTabRunsArray ()
           
protected  Insets getContentBorderInsets (int tabPlacement)
           
protected  int getFocusIndex ()
          Æ÷Ä¿½º°¡ ÀÖ´Â ÅÇÀÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  FontMetrics getFontMetrics ()
           
protected  Icon getIconForTab (int tabIndex)
           
 Dimension getMaximumSize (JComponent  c)
          Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ´ë »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù.
 Dimension getMinimumSize (JComponent  c)
          Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ¼Ò »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù.
protected  int getNextTabIndex (int base)
           
protected  int getNextTabIndexInRun (int tabCount, int base)
           
protected  int getNextTabRun (int baseRun)
           
protected  int getPreviousTabIndex (int base)
           
protected  int getPreviousTabIndexInRun (int tabCount, int base)
           
protected  int getPreviousTabRun (int baseRun)
           
protected  int getRolloverTab ()
          ¸¶¿ì½º°¡ ÇöÀç ³õ¿©Á® ÀÖ´Â ÅÇÀ» µ¹·ÁÁÖ°í, ¸¶¿ì½º°¡ ÅÇ À§¿¡ ¾ø´Â °æ¿ì´Â -1À» ¸®ÅÏÇÕ´Ï´Ù.
protected  int getRunForTab (int tabCount, int tabIndex)
           
protected  Insets getSelectedTabPadInsets (int tabPlacement)
           
protected  Insets getTabAreaInsets (int tabPlacement)
           
protected  Rectangle getTabBounds (int tabIndex, Rectangle  dest)
          JTabbedPane ÄÄÆÛ³ÍÆ®ÀÇ ÁÂÇ¥ °ø°£³»ÀÇ, ÁöÁ¤µÈ ÅÇÀÇ °æ°è¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 Rectangle getTabBounds (JTabbedPane  pane, int i)
          ÁöÁ¤µÈ ÅÇ À妽ºÀÇ °æ°è¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  Insets getTabInsets (int tabPlacement, int tabIndex)
           
protected  int getTabLabelShiftX (int tabPlacement, int tabIndex, boolean isSelected)
           
protected  int getTabLabelShiftY (int tabPlacement, int tabIndex, boolean isSelected)
           
 int getTabRunCount (JTabbedPane  pane)
           
protected  int getTabRunIndent (int tabPlacement, int run)
           
protected  int getTabRunOffset (int tabPlacement, int tabCount, int tabIndex, boolean forward)
           
protected  int getTabRunOverlay (int tabPlacement)
           
protected  View getTextViewForTab (int tabIndex)
          ÁöÁ¤µÈ ÅÇÀ» À§Çؼ­ ¾ç½ÄÈ­µÈ ÅؽºÆ® (HTML)¸¦ ·»´õ¸µ Çϴµ¥ ÇÊ¿äÇÑ, ÅؽºÆ® View °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  Component getVisibleComponent ()
           
protected  void installComponents ()
          JTabbedPane¿¡ ÇÊ¿äÇÑ ÀÓÀÇÀÇ ¼­ºê ÄÄÆÛ³ÍÆ®¸¦ ÀÛ¼º ¹× ÀνºÅç ÇÕ´Ï´Ù.
protected  void installDefaults ()
           
protected  void installKeyboardActions ()
           
protected  void installListeners ()
           
 void installUI (JComponent  c)
          Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ±¸¼ºÇÕ´Ï´Ù.
protected  int lastTabInRun (int tabCount, int run)
           
protected  void layoutLabel (int tabPlacement, FontMetrics  metrics, int tabIndex, String  title, Icon  icon, Rectangle  tabRect, Rectangle  iconRect, Rectangle  textRect, boolean isSelected)
           
protected  void navigateSelectedTab (int direction)
           
 void paint (Graphics  g, JComponent  c)
          Look &Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ÆäÀÎÆ® ÇÕ´Ï´Ù.
protected  void paintContentBorder (Graphics  g, int tabPlacement, int selectedIndex)
           
protected  void paintContentBorderBottomEdge (Graphics  g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintContentBorderLeftEdge (Graphics  g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintContentBorderRightEdge (Graphics  g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintContentBorderTopEdge (Graphics  g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)
           
protected  void paintFocusIndicator (Graphics  g, int tabPlacement, Rectangle [] rects, int tabIndex, Rectangle  iconRect, Rectangle  textRect, boolean isSelected)
           
protected  void paintIcon (Graphics  g, int tabPlacement, int tabIndex, Icon  icon, Rectangle  iconRect, boolean isSelected)
           
protected  void paintTab (Graphics  g, int tabPlacement, Rectangle [] rects, int tabIndex, Rectangle  iconRect, Rectangle  textRect)
           
protected  void paintTabArea (Graphics  g, int tabPlacement, int selectedIndex)
          ÅÇ ¿µ¿ªÀÇ ÅÇÀ» ÆäÀÎÆ® ÇÕ´Ï´Ù.
protected  void paintTabBackground (Graphics  g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
           
protected  void paintTabBorder (Graphics  g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
           °¢ ÅÇÀÇ ÁÖÀ§¿¡ º¸´õ¸¦ ·»´õ¸µ ÇÕ´Ï´Ù.
protected  void paintText (Graphics  g, int tabPlacement, Font  font, FontMetrics  metrics, int tabIndex, String  title, Rectangle  textRect, boolean isSelected)
           
protected static void rotateInsets (Insets  topInsets, Insets  targetInsets, int targetPlacement)
           
protected  void selectAdjacentRunTab (int tabPlacement, int tabIndex, int offset)
           
protected  void selectNextTab (int current)
           
protected  void selectNextTabInRun (int current)
           
protected  void selectPreviousTab (int current)
           
protected  void selectPreviousTabInRun (int current)
           
protected  void setRolloverTab (int index)
          ¸¶¿ì½º°¡ ÇöÀç ³õ¿©Á® ÀÖ´Â ÅÇÀ» index·Î ¼³Á¤ÇÕ´Ï´Ù.
protected  void setVisibleComponent (Component  component)
           
protected  boolean shouldPadTabRun (int tabPlacement, int run)
           
protected  boolean shouldRotateTabRuns (int tabPlacement)
           
 int tabForCoordinate (JTabbedPane  pane, int x, int y)
          JTabbedPane ÁÂÇ¥ °ø°£³»ÀÇ ÁöÁ¤µÈ Á¡°ú ±³Â÷ÇÏ´Â ÅÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  void uninstallComponents ()
          ÀνºÅç µÈ ÀÓÀÇÀÇ ¼­ºê ÄÄÆÛ³ÍÆ®¸¦, JTabbedPane ·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù.
protected  void uninstallDefaults ()
           
protected  void uninstallKeyboardActions ()
           
protected  void uninstallListeners ()
           
 void uninstallUI (JComponent  c)
          installUI ½Ã¿¡ ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®·Î ½ÇÇàÇÑ ±¸¼ºÀ» Ãë¼ÒÇÕ´Ï´Ù.
 
Ŭ·¡½º javax.swing.plaf. ComponentUI ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
contains, getAccessibleChild, getAccessibleChildrenCount, getPreferredSize, update
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

ÇʵåÀÇ »ó¼¼

tabPane

protected JTabbedPane  tabPane

highlight

protected Color  highlight

lightHighlight

protected Color  lightHighlight

shadow

protected Color  shadow

darkShadow

protected Color  darkShadow

focus

protected Color  focus

textIconGap

protected int textIconGap

tabRunOverlay

protected int tabRunOverlay

tabInsets

protected Insets  tabInsets

selectedTabPadInsets

protected Insets  selectedTabPadInsets

tabAreaInsets

protected Insets  tabAreaInsets

contentBorderInsets

protected Insets  contentBorderInsets

upKey

@Deprecated 
protected KeyStroke  upKey
ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
¹®¼­·ÎºÎÅÍ »èÁ¦ ³¡³­ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 3 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù. Å° ¹ÙÀεùÀº LookAndFeel¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ. ÀÚ¼¼ÇÑ °ÍÀº Å° ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇϽʽÿÀ.


downKey

@Deprecated 
protected KeyStroke  downKey
ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
¹®¼­·ÎºÎÅÍ »èÁ¦ ³¡³­ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 3 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù. Å° ¹ÙÀεùÀº LookAndFeel¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ. ÀÚ¼¼ÇÑ °ÍÀº Å° ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇϽʽÿÀ.


leftKey

@Deprecated 
protected KeyStroke  leftKey
ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
¹®¼­·ÎºÎÅÍ »èÁ¦ ³¡³­ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 3 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù. Å° ¹ÙÀεùÀº LookAndFeel¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ. ÀÚ¼¼ÇÑ °ÍÀº Å° ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇϽʽÿÀ.


rightKey

@Deprecated 
protected KeyStroke  rightKey
ÃßõÇÏÁö ¾Ê½À´Ï´Ù.  Java 2 Ç÷§Æû v1. 3 ÀÌÈÄ
¹®¼­·ÎºÎÅÍ »èÁ¦ ³¡³­ ÀÌ Çʵå´Â Java 2 Ç÷§Æû v1. 3 ¿¡¼­´Â »ç¿ëµÇÁö ¾Ê½À´Ï´Ù. Å° ¹ÙÀεùÀº LookAndFeel¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ. ÀÚ¼¼ÇÑ °ÍÀº Å° ¹ÙÀεùÀÇ »ç¾çÀ» ÂüÁ¶ÇϽʽÿÀ.


tabRuns

protected int[] tabRuns

runCount

protected int runCount

selectedRun

protected int selectedRun

rects

protected Rectangle [] rects

maxTabHeight

protected int maxTabHeight

maxTabWidth

protected int maxTabWidth

tabChangeListener

protected ChangeListener  tabChangeListener

propertyChangeListener

protected PropertyChangeListener  propertyChangeListener

mouseListener

protected MouseListener  mouseListener

focusListener

protected FocusListener  focusListener

calcRect

protected transient Rectangle  calcRect
½ÇÇàÁß¿¡ ¸¹Àº »õ·Î¿î Rectangles°¡ ±¸ÃàµÇ´Â °ÍÀ» ¸·±â À§ÇØ, ÀϹÝÀÇ ·¹À̾ƿô °è»ê¿¡ »ç¿ëµÇ´Â ±¸ÇüÀÔ´Ï´Ù.

»ý¼ºÀÚ »ó¼¼

BasicTabbedPaneUI

public BasicTabbedPaneUI()
¸Þ¼­µåÀÇ »ó¼¼

createUI

public static ComponentUI  createUI(JComponent  c)

installUI

public void installUI(JComponent  c)
Ŭ·¡½º ComponentUI ±â¼ú:
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ±¸¼ºÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå´Â ComponentUIÀνºÅϽº°¡ ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI À§¾çÀ¸·Î¼­ ÀνºÅç µÇ°í ÀÖÀ» ¶§ È£ÃâÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå´Â ÀÌÇϸ¦ Æ÷ÇÔÇÑ Look & Feel¿ëÀÇ ÄÄÆÛ³ÍÆ®¸¦ ¿ÏÀüÇÏ°Ô ±¸¼ºÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.
  1. Ä÷¯, ÆùÆ®, º¸´õ,ÀڽľÆÀÌÄÜ, ºÒÅõ¸íÇÔ µî ¸ðµç µðÆúÆ® ÇÁ·ÎÆÛƼÀÇ °ªÀ» ÄÄÆÛ³ÍÆ®¿¡ ÀνºÅç ÇÑ´Ù. °¡´ÉÇÑ °æ¿ì´Â Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥¿¡ ÀÇÇØ ÃʱâÈ­µÈ ÇÁ·ÎÆÛƼÀÇ °ªÀ» ¿À¹ö¶óÀ̵å(override) Çؼ­´Â ¾È µÈ´Ù
  2. ÇÊ¿ä¿¡ µû¶ó¼­, ÄÄÆÛ³ÍÆ®¿¡ LayoutManager¸¦ ÀνºÅç ÇÑ´Ù
  3. ÇÊ¿äÇÑ ¼­ºê ÄÄÆÛ³ÍÆ®¸¦, ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â Ãß°¡ÇÑ´Ù
  4. À̺¥Æ® ¸®½º³Ê¸¦, ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â ÀνºÅç ÇÑ´Ù
  5. ÄÄÆÛ³ÍÆ®ÀÇ ÇÁ·ÎÆÛƼÀÇ º¯°æÀ» ÀûÀýÈ÷ °ËÃâÇØ, ÀÀ´äÇϱâ À§Çؼ­ PropertyChangeListener¸¦ ÄÄÆÛ³ÍÆ®¿¡ ÀÛ¼º ¶Ç´Â ÀνºÅç ÇÑ´Ù
  6. Å°º¸µå UI (Mnemonics, traversalµî)¸¦, ÄÄÆÛ³ÍÆ®¿¡ ÀνºÅç ÇÑ´Ù
  7. ÀûÀýÇÑ ÀνºÅϽºÀÇ µ¥ÀÌÅ͸¦ ÃʱâÈ­ÇÑ´Ù

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ installUI
ÆĶó¹ÌÅÍ:
c - UI À§¾çÀÌ ÀνºÅç µÇ°í ÀÖ´Â ÄÄÆÛ³ÍÆ®
°ü·Ã Ç׸ñ:
ComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()

uninstallUI

public void uninstallUI(JComponent  c)
Ŭ·¡½º ComponentUI ±â¼ú:
installUI ½Ã¿¡ ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®·Î ½ÇÇàÇÑ ±¸¼ºÀ» Ãë¼ÒÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå´Â ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ UI À§¾çÀ¸·Î¼­ÀÇ UIComponentÀνºÅϽº°¡ »èÁ¦µÇ°í ÀÖÀ» ¶§ È£ÃâÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå´Â installUI¿¡ ÀÇÇØ ½ÇÇàµÈ ±¸¼ºÀ» ¹ÙÅÁÀ¸·Î µÇµ¹¸± ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ÀÌ °æ¿ì JComponentÀνºÅϽº¸¦ ±ú²ýÇÑ »óÅ (¿©ºÐÀÇ ¸®½º³Ê³ª, Look & Feel °íÀ¯ÀÇ ÇÁ·ÎÆÛƼ °´Ã¼°¡ ³²Áö ¾Ê°Ô)·Î Çϵµ·Ï ÃæºÐÈ÷ ÁÖÀÇÇØ ÁÖ¼¼¿ä. ¼ø¼­¿¡´Â ´ÙÀ½ÀÇ °ÍÀÌ ÀÖ½À´Ï´Ù.
  1. UI ·Î¼­ ¼³Á¤µÈ ¸ðµç º¸´õ¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  2. UI ·Î¼­ ¼³Á¤µÈ ¸ðµç ·¹À̾ƿô ¸Å´ÏÀú¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  3. UI ·Î¼­ Ãß°¡µÈ ¸ðµç ¼­ºê ÄÄÆÛ³ÍÆ®¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  4. UI ·Î¼­ Ãß°¡µÈ ¸ðµç À̺¥Æ®/¸®½º³Ê¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  5. UI ·Î¼­ ÀνºÅç µÈ ¸ðµç Å°º¸µå UI¸¦, ÄÄÆÛ³ÍÆ®·ÎºÎÅÍ »èÁ¦ÇÑ´Ù
  6. GC ¿ëÀ¸·Î ÇÒ´çÇÒ ¼ö ÀÖ´ø ¸ðµç ÀνºÅϽºÀÇ µ¥ÀÌÅÍ °´Ã¼¸¦ ¹«È¿·Î ÇÑ´Ù

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ uninstallUI
ÆĶó¹ÌÅÍ:
c - ÀÌ UI À§¾çÀÌ »èÁ¦µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
ComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()

createLayoutManager

protected LayoutManager  createLayoutManager()
installUI¿¡ ÀÇÇØ ºÒ·Á°¡ JTabbedPane¸¦ °ü¸®Çϱâ À§ÇÑ ·¹À̾ƿô ¸Å´ÏÀú °´Ã¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

¹Ýȯ°ª:
·¹À̾ƿô ¸Å´ÏÀú °´Ã¼
°ü·Ã Ç׸ñ:
BasicTabbedPaneUI.TabbedPaneLayout, JTabbedPane.getTabLayoutPolicy()

installComponents

protected void installComponents()
JTabbedPane¿¡ ÇÊ¿äÇÑ ÀÓÀÇÀÇ ¼­ºê ÄÄÆÛ³ÍÆ®¸¦ ÀÛ¼º ¹× ÀνºÅç ÇÕ´Ï´Ù. installUI¿¡ ÀÇÇØ È£ÃâÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.4

createScrollButton

protected JButton  createScrollButton(int direction)
ƯÁ¤ÀÇ ¹æÇâÀ¸·Î ÅÇÀ» ½ºÅ©·Ñ ÇÒ ¼ö ÀÖµµ·Ï ÇÏ´Â JButton¸¦ »ý¼ºÇØ, ±×°ÍÀ» ¸®ÅÏÇÕ´Ï´Ù. ¸®ÅÏµÈ JButton´Â UIResource ÀνºÅϽº°¡ ¾Æ´Ï¸é ¾ÈµË´Ï´Ù.

ÆĶó¹ÌÅÍ:
direction - SwingConstants Á¤¼ö SOUTH, NORTH, EAST, ¶Ç´Â WEST ¾ðÁ¨°¡
¹Ýȯ°ª:
»ç¿ëÀÚ¸¦ À§ÇÑ À§Á¦Æ®
¿¹¿Ü:
IllegalArgumentException - direction°¡ NORTH, SOUTH, EAST, ¶Ç´Â WEST ¾î¶² °Íµµ ¾Æ´Ñ °æ¿ì
µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
JTabbedPane.setTabPlacement(int), SwingConstants

uninstallComponents

protected void uninstallComponents()
ÀνºÅç µÈ ÀÓÀÇÀÇ ¼­ºê ÄÄÆÛ³ÍÆ®¸¦, JTabbedPane ·ÎºÎÅÍ »èÁ¦ÇÕ´Ï´Ù. uninstallUI¿¡ ÀÇÇØ È£ÃâÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.4

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

installListeners

protected void installListeners()

uninstallListeners

protected void uninstallListeners()

createMouseListener

protected MouseListener  createMouseListener()

createFocusListener

protected FocusListener  createFocusListener()

createChangeListener

protected ChangeListener  createChangeListener()

createPropertyChangeListener

protected PropertyChangeListener  createPropertyChangeListener()

installKeyboardActions

protected void installKeyboardActions()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

setRolloverTab

protected void setRolloverTab(int index)
¸¶¿ì½º°¡ ÇöÀç ³õ¿©Á® ÀÖ´Â ÅÇÀ» index·Î ¼³Á¤ÇÕ´Ï´Ù. ¸¶¿ì½º¸¦ ´õ ÀÌ»ó ÅÇ À§¿¡ µÎÁö ¾Ê´Â °æ¿ì´Â index¸¦ -1 ·Î ÇÕ´Ï´Ù. °Ç³×¹ÞÀº À妽º°¡ À¯È¿ÇÑ ÅÇÀ» ½Äº°ÇÒÁö ¾î¶³ÁöÀÇ È®ÀÎÀº ÇàÇØÁöÁö ¾Ê½À´Ï´Ù.

ÆĶó¹ÌÅÍ:
index - ¸¶¿ì½º°¡ ³õ¿©Áö´Â ÅÇÀÇ À妽º
µµÀÔµÈ ¹öÀü :
1.5

getRolloverTab

protected int getRolloverTab()
¸¶¿ì½º°¡ ÇöÀç ³õ¿©Á® ÀÖ´Â ÅÇÀ» µ¹·ÁÁÖ°í, ¸¶¿ì½º°¡ ÅÇ À§¿¡ ¾ø´Â °æ¿ì´Â -1À» ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
¸¶¿ì½º°¡ ³õ¿©Á® ÀÖ´Â ÅÇÀÇ À妽º
µµÀÔµÈ ¹öÀü :
1.5

getMinimumSize

public Dimension  getMinimumSize(JComponent  c)
Ŭ·¡½º ComponentUI ±â¼ú:
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ¼Ò »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù. nullÀÌ ¸®ÅϵÈÀÎ °æ¿ì, ÃÖ¼Ò »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (ÀÌ°ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼­µåÀÇ µðÆúÆ® ±¸ÇöÀº getPreferredSize¸¦ È£ÃâÇØ, ±× °ªÀ» ¸®ÅÏÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getMinimumSize
ÆĶó¹ÌÅÍ:
c - ÃÖ¼Ò »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
Dimension °´Ã¼, ¶Ç´Â null
°ü·Ã Ç׸ñ:
JComponent.getMinimumSize(), LayoutManager.minimumLayoutSize(java.awt.Container), ComponentUI.getPreferredSize(javax.swing.JComponent)

getMaximumSize

public Dimension  getMaximumSize(JComponent  c)
Ŭ·¡½º ComponentUI ±â¼ú:
Look & Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®ÀÇ ÃÖ´ë »çÀÌÁ ¸®ÅÏÇÕ´Ï´Ù. nullÀÌ ¸®ÅϵÈÀÎ °æ¿ì, ÃÖ´ë »çÀÌÁî´Â ´ë½Å¿¡ ÄÄÆÛ³ÍÆ®ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¿¡ ÀÇÇØ °è»êµË´Ï´Ù (ÀÌ°ÍÀº ƯÁ¤ÀÇ ·¹À̾ƿô ¸Å´ÏÀú¸¦ ÀνºÅç µÇ¾î ÀÖ´Â ÄÄÆÛ³ÍÆ®ÀÇ °æ¿ì¿¡ Ãßõ ÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù). ÀÌ ¸Þ¼­µåÀÇ µðÆúÆ® ±¸ÇöÀº getPreferredSize¸¦ È£ÃâÇØ, ±× °ªÀ» ¸®ÅÏÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ getMaximumSize
ÆĶó¹ÌÅÍ:
c - ÃÖ´ë »çÀÌÁî°¡ Á¶È¸µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Ù
¹Ýȯ°ª:
Dimension °´Ã¼, ¶Ç´Â null
°ü·Ã Ç׸ñ:
JComponent.getMaximumSize(), LayoutManager2.maximumLayoutSize(java.awt.Container)

paint

public void paint(Graphics  g,
                  JComponent  c)
Ŭ·¡½º ComponentUI ±â¼ú:
Look &Feel¿¡ ÀûÀýÇÑ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®¸¦ ÆäÀÎÆ® ÇÕ´Ï´Ù. ÀÌ ¸Þ¼­µå´Â ComponentUI.update ¸Þ¼­µå·ÎºÎÅÍ, ÁöÁ¤µÈ ÄÄÆÛ³ÍÆ®°¡ ÆäÀÎÆ® µÉ ¶§ È£ÃâÇÕ´Ï´Ù. ¼­ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼­µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, ÁöÁ¤µÈ Graphics °´Ã¼¸¦ »ç¿ëÇØ ÄÄÆÛ³ÍÆ®ÀÇ ³»¿ëÀ» ·»´õ¸µ ÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º ComponentUI ³»ÀÇ paint
ÆĶó¹ÌÅÍ:
g - ÆäÀÎÆ® ´ë»óÀÇ Graphics ÄÁÅؽºÆ®
c - ÆäÀÎÆ® µÇ´Â ÄÄÆÛ³ÍÆ®. ÀÌ Àμö´Â ÀÚÁÖ ¹«½ÃµÇÁö¸¸, UI °´Ã¼°¡ »óžøÀÌ º¹¼öÀÇ ÄÄÆÛ³ÍÆ®¿¡ °øÀ¯µÇ´Â °æ¿ì¿¡ »ç¿ëµÇ´Â ÀÏÀÌ ÀÖ´Â
°ü·Ã Ç׸ñ:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

paintTabArea

protected void paintTabArea(Graphics  g,
                            int tabPlacement,
                            int selectedIndex)
ÅÇ ¿µ¿ªÀÇ ÅÇÀ» ÆäÀÎÆ® ÇÕ´Ï´Ù. paint()¿¡ ÀÇÇØ ½ÃÀ۵˴ϴÙ. ±×·¡ÇÈ ÆĶó¹ÌÅÍ´Â À¯È¿ÇÑ Graphics °´Ã¼ÀÏ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ÅÇÀÇ ¹èÄ¡ ¹æ¹ýÀº, JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, ¶Ç´Â JTabbedPane.RIGHT ¾î¶² °ÍÀΰ¡°¡ µË´Ï´Ù. ¼±ÅÃµÈ À妽º´Â À¯È¿ÇÑ ÅÇ ±¸È¹ ÅÇ À妽º (0 ÀÌ»ó, ÅǼö¸¶À̳ʽº 1 ÀÌÇÏ)°¡ µÇ´ÂÁö, ÇöÀç ÅÇÀÌ ¼±ÅõǾî ÀÖÁö ¾ÊÀº °æ¿ì,-1°¡ µÉ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ¹«È¿ÀÎ ÆĶó¹ÌÅÍÀÇ Ã³¸®´Â ÁöÁ¤µÇÁö ¾Ê½À´Ï´Ù.

ÆĶó¹ÌÅÍ:
g - ·»´õ¸µ¿¡ »ç¿ëÇÏ´Â ±×·¡ÇÈ °´Ã¼
tabPlacement - JTabbedPane ³»ÀÇ ÅÇÀÇ ¹èÄ¡ ¹æ¹ý
selectedIndex - ¼±ÅÃµÈ ÄÄÆÛ³ÍÆ®ÀÇ ÅÇ À妽º
µµÀÔµÈ ¹öÀü :
1.4

paintTab

protected void paintTab(Graphics  g,
                        int tabPlacement,
                        Rectangle [] rects,
                        int tabIndex,
                        Rectangle  iconRect,
                        Rectangle  textRect)

layoutLabel

protected void layoutLabel(int tabPlacement,
                           FontMetrics  metrics,
                           int tabIndex,
                           String  title,
                           Icon  icon,
                           Rectangle  tabRect,
                           Rectangle  iconRect,
                           Rectangle  textRect,
                           boolean isSelected)

paintIcon

protected void paintIcon(Graphics  g,
                         int tabPlacement,
                         int tabIndex,
                         Icon  icon,
                         Rectangle  iconRect,
                         boolean isSelected)

paintText

protected void paintText(Graphics  g,
                         int tabPlacement,
                         Font  font,
                         FontMetrics  metrics,
                         int tabIndex,
                         String  title,
                         Rectangle  textRect,
                         boolean isSelected)

getTabLabelShiftX

protected int getTabLabelShiftX(int tabPlacement,
                                int tabIndex,
                                boolean isSelected)

getTabLabelShiftY

protected int getTabLabelShiftY(int tabPlacement,
                                int tabIndex,
                                boolean isSelected)

paintFocusIndicator

protected void paintFocusIndicator(Graphics  g,
                                   int tabPlacement,
                                   Rectangle [] rects,
                                   int tabIndex,
                                   Rectangle  iconRect,
                                   Rectangle  textRect,
                                   boolean isSelected)

paintTabBorder

protected void paintTabBorder(Graphics  g,
                              int tabPlacement,
                              int tabIndex,
                              int x,
                              int y,
                              int w,
                              int h,
                              boolean isSelected)
°¢ ÅÇÀÇ ÁÖÀ§¿¡ º¸´õ¸¦ ·»´õ¸µ ÇÕ´Ï´Ù. ÀÌ ÇÔ¼ö´Â µ¿½Ã¿¡ ÅÇÀÇ ¹é±×¶ó¿îµåµµ ·»´õ¸µ ÇÕ´Ï´Ù¸¸, ±×°ÍÀº ´Ù¸¥ Àå¼Ò¿¡¼­ ÇàÇØÁý´Ï´Ù.


paintTabBackground

protected void paintTabBackground(Graphics  g,
                                  int tabPlacement,
                                  int tabIndex,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  boolean isSelected)

paintContentBorder

protected void paintContentBorder(Graphics  g,
                                  int tabPlacement,
                                  int selectedIndex)

paintContentBorderTopEdge

protected void paintContentBorderTopEdge(Graphics  g,
                                         int tabPlacement,
                                         int selectedIndex,
                                         int x,
                                         int y,
                                         int w,
                                         int h)

paintContentBorderLeftEdge

protected void paintContentBorderLeftEdge(Graphics  g,
                                          int tabPlacement,
                                          int selectedIndex,
                                          int x,
                                          int y,
                                          int w,
                                          int h)

paintContentBorderBottomEdge

protected void paintContentBorderBottomEdge(Graphics  g,
                                            int tabPlacement,
                                            int selectedIndex,
                                            int x,
                                            int y,
                                            int w,
                                            int h)

paintContentBorderRightEdge

protected void paintContentBorderRightEdge(Graphics  g,
                                           int tabPlacement,
                                           int selectedIndex,
                                           int x,
                                           int y,
                                           int w,
                                           int h)

getTabBounds

public Rectangle  getTabBounds(JTabbedPane  pane,
                              int i)
ÁöÁ¤µÈ ÅÇ À妽ºÀÇ °æ°è¸¦ ¸®ÅÏÇÕ´Ï´Ù. °æ°è´Â JTabbedPane ÁÂÇ¥ °ø°£À» ±âÁØÀ¸·Î ÇÕ´Ï´Ù.

Á¤ÀÇ:
Ŭ·¡½º TabbedPaneUI ³»ÀÇ getTabBounds

getTabRunCount

public int getTabRunCount(JTabbedPane  pane)
Á¤ÀÇ:
Ŭ·¡½º TabbedPaneUI ³»ÀÇ getTabRunCount

tabForCoordinate

public int tabForCoordinate(JTabbedPane  pane,
                            int x,
                            int y)
JTabbedPane ÁÂÇ¥ °ø°£³»ÀÇ ÁöÁ¤µÈ Á¡°ú ±³Â÷ÇÏ´Â ÅÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù.

Á¤ÀÇ:
Ŭ·¡½º TabbedPaneUI ³»ÀÇ tabForCoordinate

getTabBounds

protected Rectangle  getTabBounds(int tabIndex,
                                 Rectangle  dest)
JTabbedPane ÄÄÆÛ³ÍÆ®ÀÇ ÁÂÇ¥ °ø°£³»ÀÇ, ÁöÁ¤µÈ ÅÇÀÇ °æ°è¸¦ ¸®ÅÏÇÕ´Ï´Ù. ÅÇ rects´Â µðÆúÆ®¿¡¼­´Â ·»´õ¸µ µÇ´Â ÄÄÆÛ³ÍÆ®ÀÇ ÁÂÇ¥ °ø°£³»¿¡ Á¤ÀǵǾî(WRAP_TAB_LAYOUT¸¦ À§ÇÑ) JTabbedPane, ¶Ç´Â (SCROLL_TAB_LAYOUTÀ» À§ÇÑ) ScrollableTabPanel µî¿¡ µÇ¹Ç·Î ÀÌ ¸Þ¼­µå°¡ ÇÊ¿äÇÏ°Ô µË´Ï´Ù. ÅÇÀÇ ±¸ÇüÀÌ JTabbedPane ÀÚü¿¡ °ü·ÃÇØ, (¸Åȸ »õ·Î¿îÀÇ Rectangle¸¦ ÀνºÅϽºÈ­ÇØ µ¹·ÁÁÖ´Â °ÍÀÌ ¾Æ´Ï¶ó,) ÁöÁ¤ÇÑ Rectangle °´Ã¼³»¿¡ °á°ú¸¦ µÑ ÇÊ¿ä°¡ ÀÖ´Â °æ¿ì¿¡ ÀÌ ¸Þ¼­µå´Â »ç¿ëµË´Ï´Ù. ÅÇÀÇ À妽º ÆĶó¹ÌÅÍ´Â À¯È¿ÇÑ ÅÇ ±¸È¹ ÅÇ À妽º (0 ÀÌ»ó, ÅǼö¸¶À̳ʽº 1 ÀÌÇÏ)°¡ µÉ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. Ãâ·ÂóÀÇ ±¸Çü ÆĶó¹ÌÅÍ´Â À¯È¿ÇÑ RectangleÀνºÅϽº°¡ µÉ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ¹«È¿ÀÎ ÆĶó¹ÌÅÍÀÇ Ã³¸®´Â ÁöÁ¤µÇÁö ¾Ê½À´Ï´Ù.

ÆĶó¹ÌÅÍ:
tabIndex - ÅÇÀÇ À妽º
dest - °á°ú°¡ ³õ¿©Áö´Â ±¸Çü
¹Ýȯ°ª:
°á°úÀÇ ±¸Çü
µµÀÔµÈ ¹öÀü :
1.4

getVisibleComponent

protected Component  getVisibleComponent()

setVisibleComponent

protected void setVisibleComponent(Component  component)

assureRectsCreated

protected void assureRectsCreated(int tabCount)

expandTabRunsArray

protected void expandTabRunsArray()

getRunForTab

protected int getRunForTab(int tabCount,
                           int tabIndex)

lastTabInRun

protected int lastTabInRun(int tabCount,
                           int run)

getTabRunOverlay

protected int getTabRunOverlay(int tabPlacement)

getTabRunIndent

protected int getTabRunIndent(int tabPlacement,
                              int run)

shouldPadTabRun

protected boolean shouldPadTabRun(int tabPlacement,
                                  int run)

shouldRotateTabRuns

protected boolean shouldRotateTabRuns(int tabPlacement)

getIconForTab

protected Icon  getIconForTab(int tabIndex)

getTextViewForTab

protected View  getTextViewForTab(int tabIndex)
ÁöÁ¤µÈ ÅÇÀ» À§Çؼ­ ¾ç½ÄÈ­µÈ ÅؽºÆ® (HTML)¸¦ ·»´õ¸µ Çϴµ¥ ÇÊ¿äÇÑ, ÅؽºÆ® View °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. ¶Ç´Â ÀÌ ÅÇÀ¸·Î Ưº°ÇÑ ÅؽºÆ®ÀÇ ·»´õ¸µÀÌ ÇÊ¿ä¾ø´Â °æ¿ì, nullÀ» ¸®ÅÏÇÕ´Ï´Ù. Ådz»ÀÇ HTML ·»´õ¸µÀ» Áö¿ø Çϱâ À§Çؼ­ Á¦°øµË´Ï´Ù.

ÆĶó¹ÌÅÍ:
tabIndex - ÅÇÀÇ À妽º
¹Ýȯ°ª:
ÅÇÀÇ ÅؽºÆ®¸¦ ·»´õ¸µÇϱâ À§ÇÑ ÅؽºÆ® È­¸é, ¶Ç´Â Ưº°ÇÑ ·»´õ¸µÀÌ ÇÊ¿äÇÏÁö ¾ÊÀº °æ¿ì null
µµÀÔµÈ ¹öÀü :
1.4

calculateTabHeight

protected int calculateTabHeight(int tabPlacement,
                                 int tabIndex,
                                 int fontHeight)

calculateMaxTabHeight

protected int calculateMaxTabHeight(int tabPlacement)

calculateTabWidth

protected int calculateTabWidth(int tabPlacement,
                                int tabIndex,
                                FontMetrics  metrics)

calculateMaxTabWidth

protected int calculateMaxTabWidth(int tabPlacement)

calculateTabAreaHeight

protected int calculateTabAreaHeight(int tabPlacement,
                                     int horizRunCount,
                                     int maxTabHeight)

calculateTabAreaWidth

protected int calculateTabAreaWidth(int tabPlacement,
                                    int vertRunCount,
                                    int maxTabWidth)

getTabInsets

protected Insets  getTabInsets(int tabPlacement,
                              int tabIndex)

getSelectedTabPadInsets

protected Insets  getSelectedTabPadInsets(int tabPlacement)

getTabAreaInsets

protected Insets  getTabAreaInsets(int tabPlacement)

getContentBorderInsets

protected Insets  getContentBorderInsets(int tabPlacement)

getFontMetrics

protected FontMetrics  getFontMetrics()

navigateSelectedTab

protected void navigateSelectedTab(int direction)

selectNextTabInRun

protected void selectNextTabInRun(int current)

selectPreviousTabInRun

protected void selectPreviousTabInRun(int current)

selectNextTab

protected void selectNextTab(int current)

selectPreviousTab

protected void selectPreviousTab(int current)

selectAdjacentRunTab

protected void selectAdjacentRunTab(int tabPlacement,
                                    int tabIndex,
                                    int offset)

getFocusIndex

protected int getFocusIndex()
Æ÷Ä¿½º°¡ ÀÖ´Â ÅÇÀÇ À妽º¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
Æ÷Ä¿½º°¡ ÀÖ´Â ÅÇÀÇ À妽º
µµÀÔµÈ ¹öÀü :
1.5

getTabRunOffset

protected int getTabRunOffset(int tabPlacement,
                              int tabCount,
                              int tabIndex,
                              boolean forward)

getPreviousTabIndex

protected int getPreviousTabIndex(int base)

getNextTabIndex

protected int getNextTabIndex(int base)

getNextTabIndexInRun

protected int getNextTabIndexInRun(int tabCount,
                                   int base)

getPreviousTabIndexInRun

protected int getPreviousTabIndexInRun(int tabCount,
                                       int base)

getPreviousTabRun

protected int getPreviousTabRun(int baseRun)

getNextTabRun

protected int getNextTabRun(int baseRun)

rotateInsets

protected static void rotateInsets(Insets  topInsets,
                                   Insets  targetInsets,
                                   int targetPlacement)

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.