|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<String,String>
org.pentaho.chart.model.CssStyle
public class CssStyle
Nested Class Summary | |
---|---|
static class |
CssStyle.FontStyle
|
static class |
CssStyle.FontWeight
|
static class |
CssStyle.LineStyle
|
static class |
CssStyle.TextAlignment
|
Field Summary | |
---|---|
static String |
BACKGROUND_COLOR_STYLE
|
static String |
BORDER_COLOR_STYLE
|
static String |
BORDER_LINE_STYLE
|
static String |
BORDER_WIDTH_STYLE
|
static String |
COLOR_STYLE
|
static String |
FONT_FAMILY_STYLE
|
static String |
FONT_SIZE_STYLE
|
static String |
FONT_STYLE
|
static String |
FONT_WEIGHT_STYLE
|
static String |
OPACITY_STYLE
|
static String |
TEXT_ALIGNMENT_STYLE
|
Constructor Summary | |
---|---|
CssStyle()
|
Method Summary | |
---|---|
Integer |
getBackgroundColor()
|
Integer |
getBorderColor()
|
CssStyle.LineStyle |
getBorderLineStyle()
|
boolean |
getBorderVisible()
|
Integer |
getBorderWidth()
|
Integer |
getColor()
|
String |
getFontFamily()
|
Integer |
getFontSize()
|
CssStyle.FontStyle |
getFontStyle()
|
CssStyle.FontWeight |
getFontWeight()
|
Float |
getOpacity()
|
String |
getStyleString()
|
CssStyle.TextAlignment |
getTextAlignment()
|
void |
setBackgroundColor(Integer color)
StyledText.setBackgroundColor(Integer) |
void |
setBorderColor(Integer color)
ChartModel.setBorderColor(Integer) |
void |
setBorderLineStyle(CssStyle.LineStyle lineStyle)
The visual style of the line around the associated element. |
void |
setBorderVisible(boolean visible)
Not implemented |
void |
setBorderWidth(Integer width)
The width of the around the associated element in pixels. |
void |
setColor(Integer color)
StyledText.setColor(Integer) |
void |
setFont(String family,
Integer size)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight) |
void |
setFont(String family,
Integer size,
CssStyle.FontStyle fontStyle,
CssStyle.FontWeight fontWeight)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight) |
void |
setFontFamily(String family)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight) |
void |
setFontSize(Integer size)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight) |
void |
setFontStyle(CssStyle.FontStyle style)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight) |
void |
setFontWeight(CssStyle.FontWeight weight)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight) |
void |
setOpacity(Float opacity)
A value between 0.00 (transparent) and 1.00 (opaque) |
void |
setStyleString(String cssStyle)
Set additional style properties in a standard CSS format (name-one: value; name-two: value;) |
void |
setTextAlignment(CssStyle.TextAlignment textAlignment)
org.pentaho.chart.model.StyledText#setAlignment(TextAlignment) |
String |
toString()
|
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Field Detail |
---|
public static final String BACKGROUND_COLOR_STYLE
public static final String BORDER_WIDTH_STYLE
public static final String BORDER_COLOR_STYLE
public static final String BORDER_LINE_STYLE
public static final String FONT_SIZE_STYLE
public static final String FONT_WEIGHT_STYLE
public static final String FONT_STYLE
public static final String FONT_FAMILY_STYLE
public static final String COLOR_STYLE
public static final String TEXT_ALIGNMENT_STYLE
public static final String OPACITY_STYLE
Constructor Detail |
---|
public CssStyle()
Method Detail |
---|
public CssStyle.LineStyle getBorderLineStyle()
public void setBorderLineStyle(CssStyle.LineStyle lineStyle)
Possible values |
---|
SOLID |
DASHED |
DOTTED |
lineStyle
- public Integer getBorderWidth()
public void setBorderWidth(Integer width)
width
- public Integer getBorderColor()
public void setBorderColor(Integer color)
ChartModel.setBorderColor(Integer)
color
- public Integer getBackgroundColor()
public void setBackgroundColor(Integer color)
StyledText.setBackgroundColor(Integer)
color
- public CssStyle.FontStyle getFontStyle()
public void setFontStyle(CssStyle.FontStyle style)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight)
public CssStyle.FontWeight getFontWeight()
public void setFontWeight(CssStyle.FontWeight weight)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight)
public Integer getFontSize()
public void setFontSize(Integer size)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight)
public String getFontFamily()
public void setFontFamily(String family)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight)
public void setFont(String family, Integer size)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight)
public void setFont(String family, Integer size, CssStyle.FontStyle fontStyle, CssStyle.FontWeight fontWeight)
org.pentaho.chart.model.StyledText#setFont(String, Integer, FontStyle, FontWeight)
public Integer getColor()
public void setColor(Integer color)
StyledText.setColor(Integer)
color
- public void setOpacity(Float opacity)
opacity
- public Float getOpacity()
public String toString()
toString
in class AbstractMap<String,String>
public String getStyleString()
public boolean getBorderVisible()
public void setBorderVisible(boolean visible)
visible
- public void setStyleString(String cssStyle)
cssStyle
- public void setTextAlignment(CssStyle.TextAlignment textAlignment)
org.pentaho.chart.model.StyledText#setAlignment(TextAlignment)
textAlignment
- public CssStyle.TextAlignment getTextAlignment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |