org.eclipse.nebula.widgets.nattable.style
Class BorderStyle
java.lang.Object
org.eclipse.nebula.widgets.nattable.style.BorderStyle
- Direct Known Subclasses:
- BorderStyleFixture
public class BorderStyle
- extends Object
This class defines the visual attributes of a Border.
BorderStyle
public BorderStyle()
BorderStyle
public BorderStyle(int thickness,
org.eclipse.swt.graphics.Color color,
BorderStyle.LineStyleEnum lineStyle)
BorderStyle
public BorderStyle(String string)
- Reconstruct this instance from the persisted String.
- See Also:
toString()
getThickness
public int getThickness()
getColor
public org.eclipse.swt.graphics.Color getColor()
getLineStyle
public BorderStyle.LineStyleEnum getLineStyle()
setThickness
public void setThickness(int thickness)
setColor
public void setColor(org.eclipse.swt.graphics.Color color)
setLineStyle
public void setLineStyle(BorderStyle.LineStyleEnum lineStyle)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- a human readable representation of the border style.
This is suitable for constructing an equivalent instance using the BorderStyle(String) constructor
Copyright © 2014. All rights reserved.