public class Style extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Style() |
Style(String name) |
Style(String name,
String parentName) |
public Style()
public Style(String name)
public boolean isOverridesExistingStyle()
public void setOverridesExistingStyle(boolean overridesExistingStyle)
public boolean isBlankWhenNull()
public void setBlankWhenNull(boolean blankWhenNull)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public Border getBorder()
public void setBorder(Border border)
public Font getFont()
public void setFont(Font font)
public HorizontalAlign getHorizontalAlign()
public void setHorizontalAlign(HorizontalAlign horizontalAlign)
public Integer getPadding()
public void setPadding(Integer padding)
public Stretching getStreching()
public void setStreching(Stretching streching)
public boolean isStretchWithOverflow()
public void setStretchWithOverflow(boolean stretchWithOverflow)
public Color getTextColor()
public void setTextColor(Color textColor)
public Transparency getTransparency()
public void setTransparency(Transparency transparency)
public void setTransparent(boolean transparent)
public boolean isTransparent()
public VerticalAlign getVerticalAlign()
public void setVerticalAlign(VerticalAlign verticalAlign)
public net.sf.jasperreports.engine.design.JRDesignConditionalStyle transformAsConditinalStyle()
public net.sf.jasperreports.engine.design.JRDesignStyle transform()
protected void setJRBaseStyleProperties(net.sf.jasperreports.engine.base.JRBaseStyle transformedStyle)
public Border getBorderBottom()
public void setBorderBottom(Border borderBottom)
public Border getBorderLeft()
public void setBorderLeft(Border borderLeft)
public Border getBorderRight()
public void setBorderRight(Border borderRight)
public Border getBorderTop()
public void setBorderTop(Border borderTop)
@Deprecated public Color getBorderColor()
@Deprecated public void setBorderColor(Color borderColor)
borderColor
- public Rotation getRotation()
public void setRotation(Rotation rotation)
public Integer getRadius()
public void setRadius(Integer radius)
public Integer getPaddingBottom()
public void setPaddingBottom(Integer paddingBottom)
public Integer getPaddingTop()
public void setPaddingTop(Integer paddingTop)
public Integer getPaddingLeft()
public void setPaddingLeft(Integer paddingLeft)
public Integer getPaddingRight()
public void setPaddingRight(Integer paddingRight)
public String getName()
public void setName(String name)
public String getParentStyleName()
public void setParentStyleName(String parentStyleName)
public static Style createBlankStyle(String name)
name
- style namepublic String getPattern()
public void setPattern(String pattern)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2006–2015 FDV Solutions. All rights reserved.