Coverage Report - org.jtheque.core.managers.view.impl.JThequeViewDefaults
 
Classes in this File Line Coverage Branch Coverage Complexity
JThequeViewDefaults
0 %
0/25
N/A
1
 
 1  
 package org.jtheque.core.managers.view.impl;
 2  
 
 3  
 import org.jtheque.core.managers.view.able.ViewDefaults;
 4  
 
 5  
 import java.awt.Color;
 6  
 import java.awt.Font;
 7  
 
 8  
 /*
 9  
  * This file is part of JTheque.
 10  
  *
 11  
  * JTheque is free software: you can redistribute it and/or modify
 12  
  * it under the terms of the GNU General Public License as published by
 13  
  * the Free Software Foundation, either version 3 of the License.
 14  
  *
 15  
  * JTheque is distributed in the hope that it will be useful,
 16  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 17  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 18  
  * GNU General Public License for more details.
 19  
  *
 20  
  * You should have received a copy of the GNU General Public License
 21  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 22  
  */
 23  
 
 24  
 /**
 25  
  * @author Baptiste Wicht
 26  
  */
 27  0
 public final class JThequeViewDefaults implements ViewDefaults {
 28  
     private Color backgroundColor;
 29  
     private Color foregroundColor;
 30  
     private Color selectedForegroundColor;
 31  
     private Color selectedBackgroundColor;
 32  
     private Color filthyBackgroundColor;
 33  
     private Color filthyForegroundColor;
 34  
 
 35  
     private Font filthyButtonFont;
 36  
     private Font filthyInputFont;
 37  
 
 38  
     @Override
 39  
     public Color getBackgroundColor() {
 40  0
         return backgroundColor;
 41  
     }
 42  
 
 43  
     /**
 44  
      * Set the default background color.
 45  
      *
 46  
      * @param backgroundColor The default background color.
 47  
      */
 48  
     public void setBackgroundColor(Color backgroundColor) {
 49  0
         this.backgroundColor = backgroundColor;
 50  0
     }
 51  
 
 52  
     @Override
 53  
     public Color getFilthyBackgroundColor() {
 54  0
         return filthyBackgroundColor;
 55  
     }
 56  
 
 57  
     /**
 58  
      * Set the filthy background color.
 59  
      *
 60  
      * @param filthyBackgroundColor The filthy background color.
 61  
      */
 62  
     public void setFilthyBackgroundColor(Color filthyBackgroundColor) {
 63  0
         this.filthyBackgroundColor = filthyBackgroundColor;
 64  0
     }
 65  
 
 66  
     @Override
 67  
     public Color getForegroundColor() {
 68  0
         return foregroundColor;
 69  
     }
 70  
 
 71  
     /**
 72  
      * Set the foreground color.
 73  
      *
 74  
      * @param foregroundColor The foreground color.
 75  
      */
 76  
     public void setForegroundColor(Color foregroundColor) {
 77  0
         this.foregroundColor = foregroundColor;
 78  0
     }
 79  
 
 80  
     @Override
 81  
     public Color getSelectedForegroundColor() {
 82  0
         return selectedForegroundColor;
 83  
     }
 84  
 
 85  
     /**
 86  
      * Set the selected foreground color.
 87  
      *
 88  
      * @param selectedForegroundColor The selected foreground color.
 89  
      */
 90  
     public void setSelectedForegroundColor(Color selectedForegroundColor) {
 91  0
         this.selectedForegroundColor = selectedForegroundColor;
 92  0
     }
 93  
 
 94  
     @Override
 95  
     public Color getSelectedBackgroundColor() {
 96  0
         return selectedBackgroundColor;
 97  
     }
 98  
 
 99  
     /**
 100  
      * Set the selected background color.
 101  
      *
 102  
      * @param selectedBackgroundColor The selected background color.
 103  
      */
 104  
     public void setSelectedBackgroundColor(Color selectedBackgroundColor) {
 105  0
         this.selectedBackgroundColor = selectedBackgroundColor;
 106  0
     }
 107  
 
 108  
     @Override
 109  
     public Font getFilthyButtonFont() {
 110  0
         return filthyButtonFont;
 111  
     }
 112  
 
 113  
     /**
 114  
      * Set the filthy button font.
 115  
      *
 116  
      * @param filthyButtonFont The filthy button font.
 117  
      */
 118  
     public void setFilthyButtonFont(Font filthyButtonFont) {
 119  0
         this.filthyButtonFont = filthyButtonFont;
 120  0
     }
 121  
 
 122  
     @Override
 123  
     public Color getFilthyForegroundColor() {
 124  0
         return filthyForegroundColor;
 125  
     }
 126  
 
 127  
     /**
 128  
      * Set the filthy foreground color.
 129  
      *
 130  
      * @param filthyForegroundColor The filthy foreground color.
 131  
      */
 132  
     public void setFilthyForegroundColor(Color filthyForegroundColor) {
 133  0
         this.filthyForegroundColor = filthyForegroundColor;
 134  0
     }
 135  
 
 136  
     @Override
 137  
     public Font getFilthyInputFont() {
 138  0
         return filthyInputFont;
 139  
     }
 140  
 
 141  
     /**
 142  
      * Set the filthy input font.
 143  
      *
 144  
      * @param filthyInputFont The filthy input font.
 145  
      */
 146  
     public void setFilthyInputFont(Font filthyInputFont) {
 147  0
         this.filthyInputFont = filthyInputFont;
 148  0
     }
 149  
 }