Java Doc for SDefaultTheme.java in » Swing-Library » Swinglets » com » javelin » swinglets » theme » 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
»
Swing Library
»
Swinglets
»
com.javelin.swinglets.theme
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
com.javelin.swinglets.theme
.STheme
com.javelin.swinglets.theme
.SDefaultTheme
SDefaultTheme
public
class SDefaultTheme extends
STheme
(Code)
SDefaultTheme represents a concrete implementation of a default theme.
author:
Robin Sharp
Constructor Summary
public
SDefaultTheme
()
Method Summary
protected
SColor
getContrast1
()
Get Text Color.
protected
SColor
getContrast2
()
Get Focus, Desktop.
protected
SColor
getContrast3
()
Get Menu Background.
public
SFont
getControlTextFont
()
Get Control Text sFont.
public
static synchronized
STheme
getDefaultTheme
()
Get a Theme by path to a properties file.
public
SIcon
getIcon
(
String
key)
Get the icon ny name.
public
SFont
getMenuTextFont
()
Get Menu Text SFont.
public
String
getName
()
Get the name.
protected
SColor
getPrimary1
()
Get Text Color.
protected
SColor
getPrimary2
()
Get Focus, Desktop.
protected
SColor
getPrimary3
()
Get Menu Background.
protected
SColor
getSecondary1
()
Get Text Color - disabled.
protected
SColor
getSecondary2
()
Get Focus, Desktop - disabled.
protected
SColor
getSecondary3
()
Get Menu Background - disabled.
public
SFont
getSubTextFont
()
Get Sub Text SFont.
public
SFont
getSystemTextFont
()
Get System Text SFont.
public
SFont
getUserTextFont
()
Get User Text SFont.
public
SFont
getWindowTitleFont
()
Get Window Title SFont.
protected
SIcon
newIcon
(
String
key)
public
void
setContrast1
(
String
color)
Set the Text Color.
public
void
setContrast2
(
String
color)
Set the Focus, Desktop..
public
void
setContrast3
(
String
color)
Set the Menu Background..
public
void
setControlTextFont
(
String
font)
Set Control Text SFont.
public
void
setMenuTextFont
(
String
font)
Set Menu Text SFont.
public
void
setName
(
String
name)
Set the name.
public
void
setPrimary1
(
String
color)
Set the Text Color.
public
void
setPrimary2
(
String
color)
Set the Focus, Desktop..
public
void
setPrimary3
(
String
color)
Set the Menu Background..
public
void
setSecondary1
(
String
color)
Set the Text Color - disabled.
public
void
setSecondary2
(
String
color)
Set the Focus, Desktop - disabled.
public
void
setSecondary3
(
String
color)
Set Menu Background - disabled.
public
void
setSubTextFont
(
String
font)
Get Sub Text SFont.
public
void
setSystemTextFont
(
String
font)
Set Control Text SFont.
public
void
setUserTextFont
(
String
font)
Set Control Text SFont.
public
void
setWindowTitleFont
(
String
font)
Set Window Title SFont.
Constructor Detail
SDefaultTheme
public
SDefaultTheme()
(Code)
Path relative to
Method Detail
getContrast1
protected
SColor
getContrast1()
(Code)
Get Text Color.
getContrast2
protected
SColor
getContrast2()
(Code)
Get Focus, Desktop.
getContrast3
protected
SColor
getContrast3()
(Code)
Get Menu Background.
getControlTextFont
public
SFont
getControlTextFont()
(Code)
Get Control Text sFont.
getDefaultTheme
public
static synchronized
STheme
getDefaultTheme()
(Code)
Get a Theme by path to a properties file.
getIcon
public
SIcon
getIcon(
String
key)
(Code)
Get the icon ny name.
getMenuTextFont
public
SFont
getMenuTextFont()
(Code)
Get Menu Text SFont.
getName
public
String
getName()
(Code)
Get the name.
getPrimary1
protected
SColor
getPrimary1()
(Code)
Get Text Color.
getPrimary2
protected
SColor
getPrimary2()
(Code)
Get Focus, Desktop.
getPrimary3
protected
SColor
getPrimary3()
(Code)
Get Menu Background.
getSecondary1
protected
SColor
getSecondary1()
(Code)
Get Text Color - disabled.
getSecondary2
protected
SColor
getSecondary2()
(Code)
Get Focus, Desktop - disabled.
getSecondary3
protected
SColor
getSecondary3()
(Code)
Get Menu Background - disabled.
getSubTextFont
public
SFont
getSubTextFont()
(Code)
Get Sub Text SFont.
getSystemTextFont
public
SFont
getSystemTextFont()
(Code)
Get System Text SFont.
getUserTextFont
public
SFont
getUserTextFont()
(Code)
Get User Text SFont.
getWindowTitleFont
public
SFont
getWindowTitleFont()
(Code)
Get Window Title SFont.
newIcon
protected
SIcon
newIcon(
String
key)
(Code)
Load an Icon from the respective theme directory
"com/javelin/swinglets/theme/" + name + ".gif"
setContrast1
public
void setContrast1(
String
color)
(Code)
Set the Text Color.
setContrast2
public
void setContrast2(
String
color)
(Code)
Set the Focus, Desktop..
setContrast3
public
void setContrast3(
String
color)
(Code)
Set the Menu Background..
setControlTextFont
public
void setControlTextFont(
String
font)
(Code)
Set Control Text SFont.
setMenuTextFont
public
void setMenuTextFont(
String
font)
(Code)
Set Menu Text SFont.
setName
public
void setName(
String
name)
(Code)
Set the name.
setPrimary1
public
void setPrimary1(
String
color)
(Code)
Set the Text Color.
setPrimary2
public
void setPrimary2(
String
color)
(Code)
Set the Focus, Desktop..
setPrimary3
public
void setPrimary3(
String
color)
(Code)
Set the Menu Background..
setSecondary1
public
void setSecondary1(
String
color)
(Code)
Set the Text Color - disabled.
setSecondary2
public
void setSecondary2(
String
color)
(Code)
Set the Focus, Desktop - disabled.
setSecondary3
public
void setSecondary3(
String
color)
(Code)
Set Menu Background - disabled.
setSubTextFont
public
void setSubTextFont(
String
font)
(Code)
Get Sub Text SFont.
setSystemTextFont
public
void setSystemTextFont(
String
font)
(Code)
Set Control Text SFont.
setUserTextFont
public
void setUserTextFont(
String
font)
(Code)
Set Control Text SFont.
setWindowTitleFont
public
void setWindowTitleFont(
String
font)
(Code)
Set Window Title SFont.
Fields inherited from
com.javelin.swinglets.theme.STheme
final
public
static
String
BACKGROUND_ICON
(Code)
(Java Doc)
final
public
static
String
FRAME_BAR
(Code)
(Java Doc)
final
public
static
String
FRAME_CLOSE
(Code)
(Java Doc)
final
public
static
String
FRAME_DESKTOP
(Code)
(Java Doc)
final
public
static
String
FRAME_ICON
(Code)
(Java Doc)
final
public
static
String
FRAME_MAX
(Code)
(Java Doc)
final
public
static
String
FRAME_MIN
(Code)
(Java Doc)
final
public
static
String
FRAME_RESTORE
(Code)
(Java Doc)
final
public
static
String
HORIZONTAL_DIV
(Code)
(Java Doc)
final
public
static
String
TAB_BL_ICON
(Code)
(Java Doc)
final
public
static
String
TAB_BR_ICON
(Code)
(Java Doc)
final
public
static
String
TAB_TL_ICON
(Code)
(Java Doc)
final
public
static
String
TAB_TM_ICON
(Code)
(Java Doc)
final
public
static
String
TAB_TR_ICON
(Code)
(Java Doc)
final
public
static
String
TREE_CLOSED_ICON
(Code)
(Java Doc)
final
public
static
String
TREE_LEAF_ICON
(Code)
(Java Doc)
final
public
static
String
TREE_OPEN_ICON
(Code)
(Java Doc)
final
public
static
String
VERTICAL_DIV
(Code)
(Java Doc)
protected
String
path
(Code)
(Java Doc)
protected
static
Hashtable
themes
(Code)
(Java Doc)
Methods inherited from
com.javelin.swinglets.theme.STheme
public
SColor
getAcceleratorForeground()
(Code)
(Java Doc)
public
SColor
getAcceleratorSelectedForeground()
(Code)
(Java Doc)
protected
SColor
getBlack()
(Code)
(Java Doc)
abstract
protected
SColor
getContrast1()
(Code)
(Java Doc)
abstract
protected
SColor
getContrast2()
(Code)
(Java Doc)
abstract
protected
SColor
getContrast3()
(Code)
(Java Doc)
public
SColor
getControl()
(Code)
(Java Doc)
public
SColor
getControlDarkShadow()
(Code)
(Java Doc)
public
SColor
getControlDisabled()
(Code)
(Java Doc)
public
SColor
getControlHighlight()
(Code)
(Java Doc)
public
SColor
getControlInfo()
(Code)
(Java Doc)
public
SColor
getControlShadow()
(Code)
(Java Doc)
public
SColor
getControlTextColor()
(Code)
(Java Doc)
abstract
public
SFont
getControlTextFont()
(Code)
(Java Doc)
public
SColor
getDesktopColor()
(Code)
(Java Doc)
public
SColor
getFocusColor()
(Code)
(Java Doc)
public
SColor
getHighlightedTextColor()
(Code)
(Java Doc)
abstract
public
SIcon
getIcon(
String
key)
(Code)
(Java Doc)
public
SColor
getInactiveControlTextColor()
(Code)
(Java Doc)
public
SColor
getInactiveSystemTextColor()
(Code)
(Java Doc)
public
SColor
getMenuBackground()
(Code)
(Java Doc)
public
SColor
getMenuDisabledForeground()
(Code)
(Java Doc)
public
SColor
getMenuForeground()
(Code)
(Java Doc)
public
SColor
getMenuSelectedBackground()
(Code)
(Java Doc)
public
SColor
getMenuSelectedForeground()
(Code)
(Java Doc)
abstract
public
SFont
getMenuTextFont()
(Code)
(Java Doc)
abstract
public
String
getName()
(Code)
(Java Doc)
public
String
getPath()
(Code)
(Java Doc)
abstract
protected
SColor
getPrimary1()
(Code)
(Java Doc)
abstract
protected
SColor
getPrimary2()
(Code)
(Java Doc)
abstract
protected
SColor
getPrimary3()
(Code)
(Java Doc)
public
SColor
getPrimaryControl()
(Code)
(Java Doc)
public
SColor
getPrimaryControlDarkShadow()
(Code)
(Java Doc)
public
SColor
getPrimaryControlHighlight()
(Code)
(Java Doc)
public
SColor
getPrimaryControlInfo()
(Code)
(Java Doc)
public
SColor
getPrimaryControlShadow()
(Code)
(Java Doc)
abstract
protected
SColor
getSecondary1()
(Code)
(Java Doc)
abstract
protected
SColor
getSecondary2()
(Code)
(Java Doc)
abstract
protected
SColor
getSecondary3()
(Code)
(Java Doc)
public
SColor
getSeparatorBackground()
(Code)
(Java Doc)
public
SColor
getSeparatorForeground()
(Code)
(Java Doc)
abstract
public
SFont
getSubTextFont()
(Code)
(Java Doc)
public
SColor
getSystemTextColor()
(Code)
(Java Doc)
abstract
public
SFont
getSystemTextFont()
(Code)
(Java Doc)
public
SColor
getTextHighlightColor()
(Code)
(Java Doc)
public
static synchronized
STheme
getTheme(
String
name)
(Code)
(Java Doc)
public
static
Enumeration
getThemes()
(Code)
(Java Doc)
public
SColor
getUserTextColor()
(Code)
(Java Doc)
abstract
public
SFont
getUserTextFont()
(Code)
(Java Doc)
protected
SColor
getWhite()
(Code)
(Java Doc)
public
SColor
getWindowBackground()
(Code)
(Java Doc)
public
SColor
getWindowTitleBackground()
(Code)
(Java Doc)
abstract
public
SFont
getWindowTitleFont()
(Code)
(Java Doc)
public
SColor
getWindowTitleForeground()
(Code)
(Java Doc)
public
SColor
getWindowTitleInactiveBackground()
(Code)
(Java Doc)
public
SColor
getWindowTitleInactiveForeground()
(Code)
(Java Doc)
public
static synchronized void putTheme(
STheme
theme)
(Code)
(Java Doc)
public
void setPath(
String
path)
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(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.