1 19 20 package org.netbeans.modules.xml.multiview.ui; 21 22 import java.awt.*; 23 import java.awt.event.*; 24 import java.beans.*; 25 import java.util.*; 26 import javax.swing.*; 27 import javax.swing.table.*; 28 import javax.swing.event.*; 29 30 37 public class SectionVisualTheme { 38 39 40 static Color documentBackgroundColor = new java.awt.Color (255, 255, 255); 41 static Color sectionActiveBackgroundColor = new java.awt.Color (252, 250, 245); 42 static Color documentMarginColor = new java.awt.Color (153, 153, 153); 43 static Color sectionHeaderColor = new java.awt.Color (255, 255, 255); 44 static Color containerHeaderColor = new java.awt.Color (230, 228, 223); 45 static Color sectionHeaderActiveColor = new java.awt.Color (250, 232, 213); 46 static Color fillerColor = javax.swing.UIManager.getDefaults().getColor("Button.background"); static Color tableHeaderColor = new java.awt.Color (204, 204, 204); 48 static Color tableGridColor = new java.awt.Color (255, 255, 255); 49 static Color sectionHeaderLineColor = new java.awt.Color (230, 139, 44); 50 static Color hyperlinkColor = new java.awt.Color (0, 0, 255); 51 static Color hyperlinkColorFocused = new java.awt.Color (04,84,145); 52 static Color textColor = new java.awt.Color (0, 0, 0); 53 static Color foldLineColor = new java.awt.Color (102, 102, 102); 54 55 static Color errorLabelColor = javax.swing.UIManager.getDefaults().getColor("ToolBar.dockingForeground"); 57 public SectionVisualTheme() { 58 } 59 60 static public Color getDocumentBackgroundColor(){ 61 return documentBackgroundColor; 62 } 63 static public Color getMarginColor(){ 64 return documentMarginColor; 65 } 66 static public Color getSectionHeaderColor(){ 67 return sectionHeaderColor; 68 } 69 static public Color getContainerHeaderColor(){ 70 return containerHeaderColor; 71 } 72 static public Color getSectionHeaderActiveColor(){ 73 return sectionHeaderActiveColor; 74 } 75 static public Color getSectionActiveBackgroundColor(){ 76 return sectionActiveBackgroundColor; 77 } 78 static public Color getTableHeaderColor(){ 79 return tableHeaderColor; 80 } 81 static public Color getTableGridColor(){ 82 return tableGridColor; 83 } 84 85 static public Color getSectionHeaderLineColor(){ 86 return sectionHeaderLineColor; 87 } 88 89 static public Color getHyperlinkColor(){ 90 return hyperlinkColor; 91 } 92 93 static public Color getHyperlinkColorFocused(){ 94 return hyperlinkColorFocused; 95 } 96 97 static public Color getTextColor(){ 98 return textColor; 99 } 100 101 static public Color getFillerColor(){ 102 return fillerColor; 103 } 104 105 static public Color getErrorLabelColor(){ 106 return errorLabelColor; 107 } 108 109 static public Color getFoldLineColor(){ 110 return foldLineColor; 111 } 112 113 } 114 | Popular Tags |