public void setForeground(Color c) { super.setForeground(c); label.setForeground(c); }
@Override public void setForeground(Color fg) { super.setForeground(fg); titleLabel.setForeground(fg); if (menuHyperlink != null) menuHyperlink.setForeground(fg); }
/** * Sets the foreground of all the custom controls in the expandable. */ @Override public void setForeground(Color fg) { super.setForeground(fg); if (textLabel != null) textLabel.setForeground(fg); if (toggle != null) toggle.setForeground(fg); }
/** * Sets the foreground color of the header. */ @Override public void setForeground(Color fg) { super.setForeground(fg); titleRegion.setForeground(fg); if (messageRegion != null) messageRegion.setForeground(fg); }
/** * Sets the foreground color of the header. */ @Override public void setForeground(Color fg) { super.setForeground(fg); titleRegion.setForeground(fg); if (messageRegion != null) messageRegion.setForeground(fg); }
@Override public void setForeground(Color fg) { super.setForeground(fg); titleLabel.setForeground(fg); if (menuHyperlink != null) menuHyperlink.setForeground(fg); }
/** * Sets the foreground of all the custom controls in the expandable. */ @Override public void setForeground(Color fg) { super.setForeground(fg); if (textLabel != null) textLabel.setForeground(fg); if (toggle != null) toggle.setForeground(fg); }
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); }
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); }
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); } /**
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); } /**
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); }
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); }
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); } /**
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the control * if the argument is null. * <p> * Note: This operation is a hint and may be overridden by the platform. * </p> * @param color the new color (or null) * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ @Override public void setForeground (Color color) { foreground = color; super.setForeground(getForeground()); redraw(); } /**
public void setForeground(Color color) { checkWidget(); foreground = color; super.setForeground(getForeground()); resetCache(0, content.getLineCount()); setCaretLocation(); super.redraw(); } /**
@Override public void setForeground(Color color) { checkWidget(); foreground = color; super.setForeground(getForeground()); resetCache(0, content.getLineCount()); setCaretLocation(); super.redraw(); } /**
@Override public void setForeground(Color color) { checkWidget(); foreground = color; super.setForeground(getForeground()); resetCache(0, content.getLineCount()); setCaretLocation(); super.redraw(); } /**
@Override public void setForeground(Color color) { checkWidget(); foreground = color; super.setForeground(getForeground()); resetCache(0, content.getLineCount()); setCaretLocation(); super.redraw(); } /**
@Override public void setForeground(Color color) { checkWidget(); foreground = color; super.setForeground(getForeground()); resetCache(0, content.getLineCount()); setCaretLocation(); super.redraw(); } /**