1 11 package org.eclipse.ui.internal.presentations.r33; 12 13 import org.eclipse.swt.graphics.Color; 14 15 18 public final class DefaultTabFolderColors { 19 Color foreground; 20 int[] percentages; 21 Color[] background; 22 boolean vertical; 23 24 public DefaultTabFolderColors() { 25 26 } 27 28 public DefaultTabFolderColors(Color fgColor, Color[] bgColors, 29 int[] percentages, boolean vertical) { 30 31 foreground = fgColor; 32 background = bgColors; 33 this.percentages = percentages; 34 this.vertical = vertical; 35 } 36 37 public DefaultTabFolderColors setForeground(Color fg) { 38 foreground = fg; 39 return this; 40 } 41 42 public DefaultTabFolderColors setBackground(Color[] background, int[] percentages, boolean vertical) { 43 this.background = background; 44 this.percentages = percentages; 45 this.vertical = vertical; 46 return this; 47 } 48 } 49 | Popular Tags |