Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
public class DefaultMetalTheme
This class describes the default Metal Theme.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see XMLEncoder.
| Constructor Summary | |
|---|---|
DefaultMetalTheme()
|
|
| Method Summary | |
|---|---|
FontUIResource |
getControlTextFont()
|
FontUIResource |
getMenuTextFont()
|
String |
getName()
|
protected ColorUIResource |
getPrimary1()
|
protected ColorUIResource |
getPrimary2()
|
protected ColorUIResource |
getPrimary3()
|
protected ColorUIResource |
getSecondary1()
|
protected ColorUIResource |
getSecondary2()
|
protected ColorUIResource |
getSecondary3()
|
FontUIResource |
getSubTextFont()
|
FontUIResource |
getSystemTextFont()
|
FontUIResource |
getUserTextFont()
|
FontUIResource |
getWindowTitleFont()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMetalTheme()
| Method Detail |
|---|
public String getName()
getName in class MetalThemeprotected ColorUIResource getPrimary1()
getPrimary1 in class MetalThemeprotected ColorUIResource getPrimary2()
getPrimary2 in class MetalThemeprotected ColorUIResource getPrimary3()
getPrimary3 in class MetalThemeprotected ColorUIResource getSecondary1()
getSecondary1 in class MetalThemeprotected ColorUIResource getSecondary2()
getSecondary2 in class MetalThemeprotected ColorUIResource getSecondary3()
getSecondary3 in class MetalThemepublic FontUIResource getControlTextFont()
getControlTextFont in class MetalThemepublic FontUIResource getSystemTextFont()
getSystemTextFont in class MetalThemepublic FontUIResource getUserTextFont()
getUserTextFont in class MetalThemepublic FontUIResource getMenuTextFont()
getMenuTextFont in class MetalThemepublic FontUIResource getWindowTitleFont()
getWindowTitleFont in class MetalThemepublic FontUIResource getSubTextFont()
getSubTextFont in class MetalTheme
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.