public static Composite style(Boolean bold, Boolean underline, Boolean blink, Color foreground, Color background) { int bo = bold != null ? bold ? 0 : 1: 2; int un = underline != null ? underline ? 0 : 1: 2; int bl = blink != null ? blink ? 0 : 1: 2; int fg = foreground != null ? foreground.ordinal() : COLORS.length - 1; int bg = background != null ? background.ordinal() : COLORS.length - 1; return ALL[bo][un][bl][fg][bg]; }
public static Composite style(Boolean bold, Boolean underline, Boolean blink, Color foreground, Color background) { int bo = bold != null ? bold ? 0 : 1: 2; int un = underline != null ? underline ? 0 : 1: 2; int bl = blink != null ? blink ? 0 : 1: 2; int fg = foreground != null ? foreground.ordinal() : COLORS.length - 1; int bg = background != null ? background.ordinal() : COLORS.length - 1; return ALL[bo][un][bl][fg][bg]; }
public static Composite style(Boolean bold, Boolean underline, Boolean blink, Color foreground, Color background) { int bo = bold != null ? bold ? 0 : 1: 2; int un = underline != null ? underline ? 0 : 1: 2; int bl = blink != null ? blink ? 0 : 1: 2; int fg = foreground != null ? foreground.ordinal() : COLORS.length - 1; int bg = background != null ? background.ordinal() : COLORS.length - 1; return ALL[bo][un][bl][fg][bg]; }
public static Composite style(Boolean bold, Boolean underline, Boolean blink, Color foreground, Color background) { int bo = bold != null ? bold ? 0 : 1: 2; int un = underline != null ? underline ? 0 : 1: 2; int bl = blink != null ? blink ? 0 : 1: 2; int fg = foreground != null ? foreground.ordinal() : COLORS.length - 1; int bg = background != null ? background.ordinal() : COLORS.length - 1; return ALL[bo][un][bl][fg][bg]; }