org.eclipse.nebula.widgets.nattable.style
Class BorderStyle

java.lang.Object
  extended by 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.


Nested Class Summary
static class BorderStyle.LineStyleEnum
           
 
Constructor Summary
BorderStyle()
           
BorderStyle(int thickness, org.eclipse.swt.graphics.Color color, BorderStyle.LineStyleEnum lineStyle)
           
BorderStyle(String string)
          Reconstruct this instance from the persisted String.
 
Method Summary
 boolean equals(Object obj)
           
 org.eclipse.swt.graphics.Color getColor()
           
 BorderStyle.LineStyleEnum getLineStyle()
           
 int getThickness()
           
 int hashCode()
           
 void setColor(org.eclipse.swt.graphics.Color color)
           
 void setLineStyle(BorderStyle.LineStyleEnum lineStyle)
           
 void setThickness(int thickness)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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()
Method Detail

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.