JavaTM 2 Platform
Standard Ed. 5.0

javax.swing.plaf.metal
Ŭ·¡½º OceanTheme

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.swing.plaf.metal.MetalTheme 
      »óÀ§¸¦ È®Àå javax.swing.plaf.metal.DefaultMetalTheme 
          »óÀ§¸¦ È®Àå javax.swing.plaf.metal.OceanTheme

public class OceanTheme
extends DefaultMetalTheme

ÀÌ Å¬·¡½º´Â MetalLookAndFeel¸¦ »ç¿ëÇØ, ¾îÇø®ÄÉÀ̼ÇÀÇ »õ·Î¿î ¿Ü°üÀ» Á¦°øÇÕ´Ï´Ù. Metal Look & Feel ¼³°èÀÚ´Â ÇâÈĵµ »õ·Î¿î Å׸¶¸¦ »ç¿ëÇØ, µðÆúÆ®ÀÇ ¿Ü°üÀ» Ãֽſ¡ À¯ÁöÇϵµ·Ï ³ë·ÂÇÕ´Ï´Ù. ±× ¶§¹®¿¡ °³¹ßÀÚ´Â Àå·¡ÀÇ °»½Å¿¡ °ü°è¾øÀÌ, ¡¸Ocean¡¹ÀÇ ¿Ü°üÀÇ Ä¿½ºÅ͸¶ÀÌÁ, ±×°ÍÀ» ÇöÀçÀÇ Å׸¶·Î ÇÏ´Â °æ¿ì¿¡°Ô¸¸, ÀÌ Å¬·¡½º¸¦ Á÷Á¢ »ç¿ëÇÒ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
MetalLookAndFeel.setCurrentTheme(javax.swing.plaf.metal.MetalTheme)

»ý¼ºÀÚ °³¿ä
OceanTheme ()
          OceanTheme ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 void addCustomEntriesToTable (UIDefaults  table)
          ÀÌ Å׸¶ÀÇ Ä¿½ºÅÒ ¿£Æ®¸®¸¦ µðÆúÆ®ÀÇ Å×ÀÌºí¿¡ Ãß°¡ÇÕ´Ï´Ù.
protected  ColorUIResource getBlack ()
          Metal Look & Feel ·Î ¡¸Black¡¹·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 ColorUIResource getControlTextColor ()
          Metal Look & Feel ·Î ÄÁÆ®·ÑÀÇ µðÆúÆ® Ä÷¯·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 ColorUIResource getDesktopColor ()
          Metal Look & Feel ·Î µ¥½ºÅ©Å¾ ¹é±×¶ó¿îµå·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 ColorUIResource getInactiveControlTextColor ()
          Metal Look & Feel ·Î È°¼ºÈ­µÇÁö ¾ÊÀº ÄÁÆ®·ÑÀÇ µðÆúÆ® Ä÷¯·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 ColorUIResource getMenuDisabledForeground ()
          Metal Look & Feel ·Î ¹«È¿·Î µÈ ¸Þ´º Ç׸ñÀÇ foreground Ä÷¯·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 String getName ()
          ÀÌ Å׸¶ ¡¸Ocean¡¹ÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.
protected  ColorUIResource getPrimary1 ()
          Metal Look & Feel ·Î ¡¸Primary 1¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  ColorUIResource getPrimary2 ()
          Metal Look & Feel ·Î ¡¸Primary 2¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  ColorUIResource getPrimary3 ()
          Metal Look & Feel ·Î ¡¸Primary 3¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  ColorUIResource getSecondary1 ()
          Metal Look & Feel ·Î ¡¸Secondary 1¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  ColorUIResource getSecondary2 ()
          Metal Look & Feel ·Î ¡¸Secondary 2¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
protected  ColorUIResource getSecondary3 ()
          Metal Look & Feel ·Î ¡¸Secondary 3¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º javax.swing.plaf.metal. DefaultMetalTheme ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
getControlTextFont, getMenuTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
Ŭ·¡½º javax.swing.plaf.metal. MetalTheme ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getFocusColor, getHighlightedTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

OceanTheme

public OceanTheme()
OceanTheme ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù.

¸Þ¼­µåÀÇ »ó¼¼

addCustomEntriesToTable

public void addCustomEntriesToTable(UIDefaults  table)
ÀÌ Å׸¶ÀÇ Ä¿½ºÅÒ ¿£Æ®¸®¸¦ µðÆúÆ®ÀÇ Å×ÀÌºí¿¡ Ãß°¡ÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MetalTheme ³»ÀÇ addCustomEntriesToTable
ÆĶó¹ÌÅÍ:
table - µðÆúÆ®ÀÇ Å×À̺í. nullÀº ºÒ°¡
¿¹¿Ü:
NullPointerException - ÆĶó¹ÌÅÍ°¡ nullÀÎ °æ¿ì

getName

public String  getName()
ÀÌ Å׸¶ ¡¸Ocean¡¹ÀÇ À̸§À» ¸®ÅÏÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getName
¹Ýȯ°ª:
¡¸Ocean¡¹

getPrimary1

protected ColorUIResource  getPrimary1()
Metal Look & Feel ·Î ¡¸Primary 1¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getPrimary1
¹Ýȯ°ª:
¡¸Primary 1¡¹Ä÷¯

getPrimary2

protected ColorUIResource  getPrimary2()
Metal Look & Feel ·Î ¡¸Primary 2¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getPrimary2
¹Ýȯ°ª:
¡¸Primary 2¡¹Ä÷¯

getPrimary3

protected ColorUIResource  getPrimary3()
Metal Look & Feel ·Î ¡¸Primary 3¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getPrimary3
¹Ýȯ°ª:
¡¸Primary 3¡¹Ä÷¯

getSecondary1

protected ColorUIResource  getSecondary1()
Metal Look & Feel ·Î ¡¸Secondary 1¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getSecondary1
¹Ýȯ°ª:
¡¸Secondary 1¡¹Ä÷¯

getSecondary2

protected ColorUIResource  getSecondary2()
Metal Look & Feel ·Î ¡¸Secondary 2¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getSecondary2
¹Ýȯ°ª:
¡¸Secondary 2¡¹Ä÷¯

getSecondary3

protected ColorUIResource  getSecondary3()
Metal Look & Feel ·Î ¡¸Secondary 3¡¹(À¸)·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º DefaultMetalTheme ³»ÀÇ getSecondary3
¹Ýȯ°ª:
¡¸Secondary 3¡¹Ä÷¯

getBlack

protected ColorUIResource  getBlack()
Metal Look & Feel ·Î ¡¸Black¡¹·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù. ÀÌ Ä÷¯´Â ¹Ýµå½Ã ÀϹÝÀûÀÎ ÈæÀÇ °³³ä¿¡ ÀÏÄ¡ÇÏ°í ÀÖÀ» ÇÊ¿äµµ ¾øÀ¸¸é, °ËÀº Ç׸ñÀÇ ¸ðµÎ¿¡°Ô »ç¿ëÇÒ ÇÊ¿äµµ ¾ø½À´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MetalTheme ³»ÀÇ getBlack
¹Ýȯ°ª:
¡¸Black¡¹Ä÷¯

getDesktopColor

public ColorUIResource  getDesktopColor()
Metal Look & Feel ·Î µ¥½ºÅ©Å¾ ¹é±×¶ó¿îµå·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MetalTheme ³»ÀÇ getDesktopColor
¹Ýȯ°ª:
¡¸Desktop¡¹Ä÷¯

getInactiveControlTextColor

public ColorUIResource  getInactiveControlTextColor()
Metal Look & Feel ·Î È°¼ºÈ­µÇÁö ¾ÊÀº ÄÁÆ®·ÑÀÇ µðÆúÆ® Ä÷¯·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MetalTheme ³»ÀÇ getInactiveControlTextColor
¹Ýȯ°ª:
¡¸Inactive Control Text¡¹Ä÷¯

getControlTextColor

public ColorUIResource  getControlTextColor()
Metal Look & Feel ·Î ÄÁÆ®·ÑÀÇ µðÆúÆ® Ä÷¯·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MetalTheme ³»ÀÇ getControlTextColor
¹Ýȯ°ª:
¡¸Control Text¡¹Ä÷¯

getMenuDisabledForeground

public ColorUIResource  getMenuDisabledForeground()
Metal Look & Feel ·Î ¹«È¿·Î µÈ ¸Þ´º Ç׸ñÀÇ foreground Ä÷¯·Î¼­ »ç¿ëÇÏ´Â Ä÷¯¸¦ ¸®ÅÏÇÕ´Ï´Ù. Look & Feel´Â ÇÊ¿ä¿¡ µû¶ó¼­, ·»´õ¸µ¿¡ ÀÌ Ä÷¯¸¦ »ç¿ëÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º MetalTheme ³»ÀÇ getMenuDisabledForeground
¹Ýȯ°ª:
¡¸Menu Disabled Foreground¡¹Ä÷¯

JavaTM 2 Platform
Standard Ed. 5.0

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