|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.table.BorderStyle
public class BorderStyle
A customizable set of border properties.
See CellStyle for more details.
| Field Summary | |
|---|---|
static java.lang.String |
HIGHLIGHT_COLOR
String used to identify the highlightColor property in the bag. |
static java.lang.String |
LIGHT_SOURCE
String used to identify the lightSource property in the bag. |
static java.lang.String |
SHADOW_COLOR
String used to identify the shadowColor property in the bag. |
static java.lang.String |
SIDES
String used to identify the sides property in the bag. |
static java.lang.String |
TYPE
String used to identify the type property in the bag. |
static java.lang.String |
WIDTH
String used to identify the width property in the bag. |
| Constructor Summary | |
|---|---|
BorderStyle()
|
|
| Method Summary | |
|---|---|
java.awt.Color |
getHighlightColor()
Returns the color used for sides of the border that are closest to the light source. |
int |
getLightSource()
Returns the light source -- one of CornerOrientation. |
java.awt.Color |
getShadowColor()
Returns the color used for sides of the border that are furthest from the light source. |
int |
getSides()
Returns which sides of the border to draw. |
int |
getType()
Returns the type -- one of BorderTypes. |
com.sas.measures.Length |
getWidth()
Returns the width (thickness). |
boolean |
isHighlightColorSet()
Determines if the highlightColor property is in the bag. |
boolean |
isLightSourceSet()
Determines if the lightSource property is in the bag. |
boolean |
isShadowColorSet()
Determines if the shadowColor property is in the bag. |
boolean |
isSidesSet()
Determines if the sides property is in the bag. |
boolean |
isTypeSet()
Determines if the type property is in the bag. |
boolean |
isWidthSet()
Determines if the width property is in the bag. |
void |
setHighlightColor(java.awt.Color newValue)
Specifies the color used for sides of the border that are closest to the light source. |
void |
setLightSource(int newValue)
Specifies the light source -- one of CornerOrientation. |
void |
setShadowColor(java.awt.Color newValue)
Specifies the color used for sides of the border that are furthest from the light source. |
void |
setSides(int newValue)
Specifies which sides of the border to draw. |
void |
setType(int newValue)
Specifies the type -- one of BorderTypes. |
void |
setWidth(com.sas.measures.Length newValue)
Specifies the width (thickness). |
void |
unsetHighlightColor()
Removes the highlightColor property from the bag. |
void |
unsetLightSource()
Removes the lightSource property from the bag. |
void |
unsetShadowColor()
Removes the shadowColor property from the bag. |
void |
unsetSides()
Removes the sides property from the bag. |
void |
unsetType()
Removes the type property from the bag. |
void |
unsetWidth()
Removes the width property from the bag. |
| Field Detail |
|---|
public static final java.lang.String HIGHLIGHT_COLOR
public static final java.lang.String LIGHT_SOURCE
public static final java.lang.String SHADOW_COLOR
public static final java.lang.String SIDES
public static final java.lang.String TYPE
public static final java.lang.String WIDTH
| Constructor Detail |
|---|
public BorderStyle()
| Method Detail |
|---|
public java.awt.Color getHighlightColor()
isHighlightColorSet(),
setHighlightColor(java.awt.Color),
unsetHighlightColor()public void setHighlightColor(java.awt.Color newValue)
newValue - The new value to assign the highlightColor property.getHighlightColor(),
isHighlightColorSet(),
unsetHighlightColor()public boolean isHighlightColorSet()
true if highlightColor has been set,
and false otherwise.getHighlightColor(),
setHighlightColor(java.awt.Color),
unsetHighlightColor()public void unsetHighlightColor()
getHighlightColor(),
isHighlightColorSet(),
setHighlightColor(java.awt.Color)public int getLightSource()
isLightSourceSet(),
setLightSource(int),
unsetLightSource()public void setLightSource(int newValue)
newValue - The new value to assign the lightSource property.getLightSource(),
isLightSourceSet(),
unsetLightSource()public boolean isLightSourceSet()
true if lightSource has been set,
and false otherwise.getLightSource(),
setLightSource(int),
unsetLightSource()public void unsetLightSource()
getLightSource(),
isLightSourceSet(),
setLightSource(int)public java.awt.Color getShadowColor()
isShadowColorSet(),
setShadowColor(java.awt.Color),
unsetShadowColor()public void setShadowColor(java.awt.Color newValue)
newValue - The new value to assign the shadowColor property.getShadowColor(),
isShadowColorSet(),
unsetShadowColor()public boolean isShadowColorSet()
true if shadowColor has been set,
and false otherwise.getShadowColor(),
setShadowColor(java.awt.Color),
unsetShadowColor()public void unsetShadowColor()
getShadowColor(),
isShadowColorSet(),
setShadowColor(java.awt.Color)public int getSides()
isSidesSet(),
setSides(int),
unsetSides()public void setSides(int newValue)
newValue - The new value to assign the sides property.getSides(),
isSidesSet(),
unsetSides()public boolean isSidesSet()
true if sides has been set,
and false otherwise.getSides(),
setSides(int),
unsetSides()public void unsetSides()
getSides(),
isSidesSet(),
setSides(int)public int getType()
isTypeSet(),
setType(int),
unsetType()public void setType(int newValue)
newValue - The new value to assign the type property.getType(),
isTypeSet(),
unsetType()public boolean isTypeSet()
true if type has been set,
and false otherwise.getType(),
setType(int),
unsetType()public void unsetType()
getType(),
isTypeSet(),
setType(int)public com.sas.measures.Length getWidth()
isWidthSet(),
setWidth(com.sas.measures.Length),
unsetWidth()public void setWidth(com.sas.measures.Length newValue)
newValue - The new value to assign the width property.getWidth(),
isWidthSet(),
unsetWidth()public boolean isWidthSet()
true if width has been set,
and false otherwise.getWidth(),
setWidth(com.sas.measures.Length),
unsetWidth()public void unsetWidth()
getWidth(),
isWidthSet(),
setWidth(com.sas.measures.Length)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||