|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.table.ColumnStyle
public class ColumnStyle
A customizable set of column properties.
See CellStyle for more details.
RowStyle,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ALIGNMENT_STRING
String used to identify the alignmentString property in the bag. |
static java.lang.String |
DECIMAL_PLACES
String used to identify the decimalPlaces property in the bag. |
| Fields inherited from class com.sas.table.CellVectorStyle |
|---|
ALIGN_CELLS, CELLS_TO_SIZE_COUNT, DEFAULT_CELL_STYLE, DEFAULT_LABEL_STYLE, MAX_SIZE, MIN_SIZE, RESIZABLE, SIZE |
| Constructor Summary | |
|---|---|
ColumnStyle()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlignmentString()
Returns the string, for example a decimal point ("."), to align a column of cells on. |
int |
getDecimalPlaces()
Returns the number of decimal places to align a column of numbers on. |
boolean |
isAlignmentStringSet()
Determines if the alignmentString property is in the bag. |
boolean |
isDecimalPlacesSet()
Determines if the decimalPlaces property is in the bag. |
void |
setAlignmentString(java.lang.String newValue)
Specifies the string, for example a decimal point ("."), to align a column of cells on. |
void |
setDecimalPlaces(int newValue)
Specifies the number of decimal places to align a column of numbers on. |
void |
unsetAlignmentString()
Removes the alignmentString property from the bag. |
void |
unsetDecimalPlaces()
Removes the decimalPlaces property from the bag. |
| Field Detail |
|---|
public static final java.lang.String ALIGNMENT_STRING
public static final java.lang.String DECIMAL_PLACES
| Constructor Detail |
|---|
public ColumnStyle()
| Method Detail |
|---|
public java.lang.String getAlignmentString()
true.
isAlignmentStringSet(),
setAlignmentString(java.lang.String),
unsetAlignmentString(),
CellVectorStyle.setAlignCells(boolean)public void setAlignmentString(java.lang.String newValue)
true.
newValue - The new value to assign the alignmentString property.getAlignmentString(),
isAlignmentStringSet(),
unsetAlignmentString(),
CellVectorStyle.setAlignCells(boolean)public boolean isAlignmentStringSet()
true if alignmentString has been set,
and false otherwise.getAlignmentString(),
setAlignmentString(java.lang.String),
unsetAlignmentString()public void unsetAlignmentString()
getAlignmentString(),
isAlignmentStringSet(),
setAlignmentString(java.lang.String)public int getDecimalPlaces()
true.
isDecimalPlacesSet(),
setDecimalPlaces(int),
unsetDecimalPlaces(),
CellVectorStyle.setAlignCells(boolean)public void setDecimalPlaces(int newValue)
newValue - The new value to assign the decimalPlaces property.getDecimalPlaces(),
isDecimalPlacesSet(),
unsetDecimalPlaces(),
CellVectorStyle.setAlignCells(boolean)public boolean isDecimalPlacesSet()
true if decimalPlaces has been set,
and false otherwise.getDecimalPlaces(),
setDecimalPlaces(int),
unsetDecimalPlaces()public void unsetDecimalPlaces()
getDecimalPlaces(),
isDecimalPlacesSet(),
setDecimalPlaces(int)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||