/** * Returns whether the widget wraps lines. * * @return true if widget wraps lines, false otherwise * @since 2.0 */ public boolean getWordWrap() { checkWidget(); return wordWrap; } /**
@Override public void setDragDetect (boolean dragDetect) { checkWidget (); this.dragDetect = dragDetect; } /**
@Override public void setDragDetect (boolean dragDetect) { checkWidget (); this.dragDetect = dragDetect; } /**
@Override public void setDragDetect (boolean dragDetect) { checkWidget (); this.dragDetect = dragDetect; } /**
@Override public void setDragDetect (boolean dragDetect) { checkWidget (); this.dragDetect = dragDetect; } /**
@Override public boolean getDragDetect () { checkWidget (); return dragDetect; } /**
public boolean getDragDetect () { checkWidget (); return dragDetect; } /**
public void setDragDetect (boolean dragDetect) { checkWidget (); this.dragDetect = dragDetect; } /**
@Override public boolean getDragDetect () { checkWidget (); return dragDetect; } /**
@Override public boolean getDragDetect () { checkWidget (); return dragDetect; } /**
@Override public Color getBackground() { checkWidget(); if (background == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND); } return background; } /**
@Override public Color getBackground() { checkWidget(); if (background == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND); } return background; } /**
public Color getBackground() { checkWidget(); if (background == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND); } return background; } /**
@Override public Color getBackground() { checkWidget(); if (background == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND); } return background; } /**
@Override public Color getForeground() { checkWidget(); if (foreground == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_FOREGROUND); } return foreground; } /**
@Override public Color getForeground() { checkWidget(); if (foreground == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_FOREGROUND); } return foreground; } /**
public Color getForeground() { checkWidget(); if (foreground == null) { return getDisplay().getSystemColor(SWT.COLOR_LIST_FOREGROUND); } return foreground; } /**
/** * @see Control#setBackground(Color) */ @Override public void setBackground(Color color) { checkWidget(); background = color; super.setBackground(color); resetCache(0, content.getLineCount()); setCaretLocation(); super.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(); } /**