use of org.eclipse.nebula.widgets.nattable.style.BorderStyle.LineStyleEnum in project nebula.widgets.nattable by eclipse.
the class BorderStyleEditorPanel method getNewValue.
@Override
public BorderStyle getNewValue() {
if (!this.noBordersCheckBox.getSelection()) {
Color borderColor = this.colorPicker.getSelectedColor();
LineStyleEnum lineStyle = this.lineStylePicker.getSelectedLineStyle();
int borderThickness = this.thicknessPicker.getSelectedThickness();
return new BorderStyle(borderThickness, borderColor, lineStyle);
}
return null;
}
Aggregations