Java Doc for MetalLookAndFeel.java in » Apache-Harmony-Java-SE » javax-package » javax » swing » plaf » metal » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Apache Harmony Java SE
»
javax package
»
javax.swing.plaf.metal
Source Cross Reference
Class Diagram
Java Document (Java Doc)
javax.swing.plaf.basic
.BasicLookAndFeel
javax.swing.plaf.metal
.MetalLookAndFeel
MetalLookAndFeel
public
class MetalLookAndFeel extends
BasicLookAndFeel
(Code)
Inner Class :final class MetalLazyValue implements
UIDefaults.LazyValue
Method Summary
protected
void
createDefaultTheme
()
public
static
ColorUIResource
getAcceleratorForeground
()
public
static
ColorUIResource
getAcceleratorSelectedForeground
()
public
static
ColorUIResource
getBlack
()
public
static
ColorUIResource
getControl
()
public
static
ColorUIResource
getControlDarkShadow
()
public
static
ColorUIResource
getControlDisabled
()
public
static
ColorUIResource
getControlHighlight
()
public
static
ColorUIResource
getControlInfo
()
public
static
ColorUIResource
getControlShadow
()
public
static
ColorUIResource
getControlTextColor
()
public
static
FontUIResource
getControlTextFont
()
public
static
MetalTheme
getCurrentTheme
()
public
UIDefaults
getDefaults
()
public
String
getDescription
()
public
static
ColorUIResource
getDesktopColor
()
public
static
ColorUIResource
getFocusColor
()
public
static
ColorUIResource
getHighlightedTextColor
()
public
String
getID
()
public
static
ColorUIResource
getInactiveControlTextColor
()
public
static
ColorUIResource
getInactiveSystemTextColor
()
public
static
ColorUIResource
getMenuBackground
()
public
static
ColorUIResource
getMenuDisabledForeground
()
public
static
ColorUIResource
getMenuForeground
()
public
static
ColorUIResource
getMenuSelectedBackground
()
public
static
ColorUIResource
getMenuSelectedForeground
()
public
static
FontUIResource
getMenuTextFont
()
public
String
getName
()
public
static
ColorUIResource
getPrimaryControl
()
public
static
ColorUIResource
getPrimaryControlDarkShadow
()
public
static
ColorUIResource
getPrimaryControlHighlight
()
public
static
ColorUIResource
getPrimaryControlInfo
()
public
static
ColorUIResource
getPrimaryControlShadow
()
public
static
ColorUIResource
getSeparatorBackground
()
public
static
ColorUIResource
getSeparatorForeground
()
public
static
FontUIResource
getSubTextFont
()
public
boolean
getSupportsWindowDecorations
()
public
static
ColorUIResource
getSystemTextColor
()
public
static
FontUIResource
getSystemTextFont
()
public
static
ColorUIResource
getTextHighlightColor
()
public
static
ColorUIResource
getUserTextColor
()
public
static
FontUIResource
getUserTextFont
()
public
static
ColorUIResource
getWhite
()
public
static
ColorUIResource
getWindowBackground
()
public
static
ColorUIResource
getWindowTitleBackground
()
public
static
FontUIResource
getWindowTitleFont
()
public
static
ColorUIResource
getWindowTitleForeground
()
public
static
ColorUIResource
getWindowTitleInactiveBackground
()
public
static
ColorUIResource
getWindowTitleInactiveForeground
()
protected
void
initClassDefaults
(
UIDefaults
uiDefs)
protected
void
initComponentDefaults
(
UIDefaults
uiDefs)
protected
void
initSystemColorDefaults
(
UIDefaults
uiDefs)
public
boolean
isNativeLookAndFeel
()
public
boolean
isSupportedLookAndFeel
()
public
void
provideErrorFeedback
(
Component
c)
public
static void
setCurrentTheme
(
MetalTheme
theme)
Method Detail
createDefaultTheme
protected
void createDefaultTheme()
(Code)
Initialize default metal theme
getAcceleratorForeground
public
static
ColorUIResource
getAcceleratorForeground()
(Code)
Return accelerator foreground color ColorUIResource color
getAcceleratorSelectedForeground
public
static
ColorUIResource
getAcceleratorSelectedForeground()
(Code)
Return accelerator selected foreground color ColorUIResource color
getBlack
public
static
ColorUIResource
getBlack()
(Code)
Return black color ColorUIResource color
getControl
public
static
ColorUIResource
getControl()
(Code)
Return control color ColorUIResource color
getControlDarkShadow
public
static
ColorUIResource
getControlDarkShadow()
(Code)
Return control dark shadow color ColorUIResource color
getControlDisabled
public
static
ColorUIResource
getControlDisabled()
(Code)
Return control disabled color ColorUIResource color
getControlHighlight
public
static
ColorUIResource
getControlHighlight()
(Code)
Return control highlight color ColorUIResource color
getControlInfo
public
static
ColorUIResource
getControlInfo()
(Code)
Return control info color ColorUIResource color
getControlShadow
public
static
ColorUIResource
getControlShadow()
(Code)
Return control shadow color ColorUIResource color
getControlTextColor
public
static
ColorUIResource
getControlTextColor()
(Code)
Return control text color ColorUIResource color
getControlTextFont
public
static
FontUIResource
getControlTextFont()
(Code)
Return control text font FontUIResource font
getCurrentTheme
public
static
MetalTheme
getCurrentTheme()
(Code)
getDefaults
public
UIDefaults
getDefaults()
(Code)
Returns the table with defaults values UIDefaults result
getDescription
public
String
getDescription()
(Code)
Return description of this Look and Feel String description
getDesktopColor
public
static
ColorUIResource
getDesktopColor()
(Code)
Return desktop color ColorUIResource color
getFocusColor
public
static
ColorUIResource
getFocusColor()
(Code)
Return focus color ColorUIResource color
getHighlightedTextColor
public
static
ColorUIResource
getHighlightedTextColor()
(Code)
Return highlighted text color ColorUIResource color
getID
public
String
getID()
(Code)
Return Look and Feel id String id
getInactiveControlTextColor
public
static
ColorUIResource
getInactiveControlTextColor()
(Code)
Return inactive control text color ColorUIResource color
getInactiveSystemTextColor
public
static
ColorUIResource
getInactiveSystemTextColor()
(Code)
Return inactive system text color ColorUIResource color
getMenuBackground
public
static
ColorUIResource
getMenuBackground()
(Code)
Return menu background color ColorUIResource color
getMenuDisabledForeground
public
static
ColorUIResource
getMenuDisabledForeground()
(Code)
Return menu disabled foreground color ColorUIResource color
getMenuForeground
public
static
ColorUIResource
getMenuForeground()
(Code)
Return menu foreground color ColorUIResource color
getMenuSelectedBackground
public
static
ColorUIResource
getMenuSelectedBackground()
(Code)
Return menu selected background color ColorUIResource color
getMenuSelectedForeground
public
static
ColorUIResource
getMenuSelectedForeground()
(Code)
Return menu selected foreground color ColorUIResource color
getMenuTextFont
public
static
FontUIResource
getMenuTextFont()
(Code)
Return menu text font FontUIResource font
getName
public
String
getName()
(Code)
Return name of this Look and Feel String name
getPrimaryControl
public
static
ColorUIResource
getPrimaryControl()
(Code)
Return primary control color ColorUIResource color
getPrimaryControlDarkShadow
public
static
ColorUIResource
getPrimaryControlDarkShadow()
(Code)
Return primary control dark shadow color ColorUIResource color
getPrimaryControlHighlight
public
static
ColorUIResource
getPrimaryControlHighlight()
(Code)
Return primary control highlight color ColorUIResource color
getPrimaryControlInfo
public
static
ColorUIResource
getPrimaryControlInfo()
(Code)
Return primary control info color ColorUIResource color
getPrimaryControlShadow
public
static
ColorUIResource
getPrimaryControlShadow()
(Code)
Return primary control shadow color ColorUIResource color
getSeparatorBackground
public
static
ColorUIResource
getSeparatorBackground()
(Code)
Return separator background color ColorUIResource color
getSeparatorForeground
public
static
ColorUIResource
getSeparatorForeground()
(Code)
Return separator foreground color ColorUIResource color
getSubTextFont
public
static
FontUIResource
getSubTextFont()
(Code)
Return sub text font FontUIResource font
getSupportsWindowDecorations
public
boolean getSupportsWindowDecorations()
(Code)
Return true due RootPaneUI instances support Window decorations in JRootPane boolean true
getSystemTextColor
public
static
ColorUIResource
getSystemTextColor()
(Code)
Return system text color ColorUIResource color
getSystemTextFont
public
static
FontUIResource
getSystemTextFont()
(Code)
Return system text font FontUIResource font
getTextHighlightColor
public
static
ColorUIResource
getTextHighlightColor()
(Code)
Return text highlight color ColorUIResource color
getUserTextColor
public
static
ColorUIResource
getUserTextColor()
(Code)
Return user text color ColorUIResource color
getUserTextFont
public
static
FontUIResource
getUserTextFont()
(Code)
Return user text font FontUIResource font
getWhite
public
static
ColorUIResource
getWhite()
(Code)
Return white color ColorUIResource color
getWindowBackground
public
static
ColorUIResource
getWindowBackground()
(Code)
Return window background color ColorUIResource color
getWindowTitleBackground
public
static
ColorUIResource
getWindowTitleBackground()
(Code)
Return window title background color ColorUIResource color
getWindowTitleFont
public
static
FontUIResource
getWindowTitleFont()
(Code)
Return window title font FontUIResource font
getWindowTitleForeground
public
static
ColorUIResource
getWindowTitleForeground()
(Code)
Return window title foreround color ColorUIResource color
getWindowTitleInactiveBackground
public
static
ColorUIResource
getWindowTitleInactiveBackground()
(Code)
Return window title inactive background color ColorUIResource color
getWindowTitleInactiveForeground
public
static
ColorUIResource
getWindowTitleInactiveForeground()
(Code)
Return window title font FontUIResource font
initClassDefaults
protected
void initClassDefaults(
UIDefaults
uiDefs)
(Code)
Initialize class default values
Parameters:
uiDefs - defaults table
initComponentDefaults
protected
void initComponentDefaults(
UIDefaults
uiDefs)
(Code)
Initialize component default values in the defaults table
Parameters:
uiDefs - defaults table
initSystemColorDefaults
protected
void initSystemColorDefaults(
UIDefaults
uiDefs)
(Code)
Initialize system color default values
Parameters:
uiDefs - defaults table
isNativeLookAndFeel
public
boolean isNativeLookAndFeel()
(Code)
Return false because this is not native look and feel boolean false
isSupportedLookAndFeel
public
boolean isSupportedLookAndFeel()
(Code)
Return true because this Look and Feel is supported for all platforms boolean true
provideErrorFeedback
public
void provideErrorFeedback(
Component
c)
(Code)
Invoked on invalid operation
setCurrentTheme
public
static void setCurrentTheme(
MetalTheme
theme)
(Code)
Set the theme
Methods inherited from
javax.swing.plaf.basic.BasicLookAndFeel
protected
Action
createAudioAction(
Object
key)
(Code)
(Java Doc)
protected
ActionMap
getAudioActionMap()
(Code)
(Java Doc)
public
UIDefaults
getDefaults()
(Code)
(Java Doc)
protected
void initClassDefaults(
UIDefaults
uiDefs)
(Code)
(Java Doc)
protected
void initComponentDefaults(
UIDefaults
uiDefs)
(Code)
(Java Doc)
protected
void initSystemColorDefaults(
UIDefaults
uiDefs)
(Code)
(Java Doc)
protected
void loadSystemColors(
UIDefaults
uiDefs,
String
[] customColors, boolean isNative)
(Code)
(Java Doc)
protected
void playSound(
Action
action)
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.