| java.lang.Object it.businesslogic.ireport.Style
All known Subclasses: it.businesslogic.ireport.UndefinedStyle, it.businesslogic.ireport.TemplateStyle, it.businesslogic.ireport.ConditionedStyle,
Constructor Summary | |
public | Style() | public | Style(Style s1) Create a new style with the same values of s1
isDefault is reset to false. |
Method Summary | |
public void | copyStyleFrom(Style s1) Copy all values of s1 in the current style. | public Object | getAttribute(String attribute) This method return the attribute value. | public Object | getAttribute(String attribute, boolean lookInParent) This method return the attribute value. | public boolean | getAttributeBoolean(String attribute, boolean defaultBoolean) | public boolean | getAttributeBoolean(String attribute, boolean defaultBoolean, boolean lookInParentToo) This method is the same as getAttribute(String attribute, true). | public Color | getAttributeColor(String attribute, Color defaultColor) | public Color | getAttributeColor(String attribute, Color defaultColor, boolean lookInParentToo) This method is the same as getAttribute(String attribute, true). | public double | getAttributeDouble(String attribute, double defaultDouble) This method is the same as getAttribute(String attribute, true). | public int | getAttributeInteger(String attribute, int defaultInt) | public int | getAttributeInteger(String attribute, int defaultInt, boolean lookInParentToo) This method is the same as getAttribute(String attribute). | public String | getAttributeString(String attribute, String defaultString) | public String | getAttributeString(String attribute, String defaultString, boolean lookInParentToo) This method is the same as getAttribute(String attribute). | public HashMap | getAttributes() | public Box | getBox() | public Vector | getConditionedStyles() | public String | getName() | public Style | getParent() | public Pen | getPen() | public static boolean | isDefaultValue(Object value, String attributeName, Style elementStyle, Style defaultStyle) | public void | setAttributes(HashMap attributes) | public void | setBox(Box box) | public void | setConditionedStyles(Vector conditionedStyles) | public void | setName(String name) | public void | setPen(Pen pen) | public String | toString() |
ATTRIBUTE_backcolor | final public static String ATTRIBUTE_backcolor(Code) | | |
ATTRIBUTE_border | final public static String ATTRIBUTE_border(Code) | | |
ATTRIBUTE_borderColor | final public static String ATTRIBUTE_borderColor(Code) | | |
ATTRIBUTE_bottomBorder | final public static String ATTRIBUTE_bottomBorder(Code) | | |
ATTRIBUTE_bottomBorderColor | final public static String ATTRIBUTE_bottomBorderColor(Code) | | |
ATTRIBUTE_bottomPadding | final public static String ATTRIBUTE_bottomPadding(Code) | | |
ATTRIBUTE_condition | final public static String ATTRIBUTE_condition(Code) | | |
ATTRIBUTE_fill | final public static String ATTRIBUTE_fill(Code) | | |
ATTRIBUTE_fontName | final public static String ATTRIBUTE_fontName(Code) | | |
ATTRIBUTE_fontSize | final public static String ATTRIBUTE_fontSize(Code) | | |
ATTRIBUTE_forecolor | final public static String ATTRIBUTE_forecolor(Code) | | |
ATTRIBUTE_hAlign | final public static String ATTRIBUTE_hAlign(Code) | | |
ATTRIBUTE_isBlankWhenNull | final public static String ATTRIBUTE_isBlankWhenNull(Code) | | |
ATTRIBUTE_isBold | final public static String ATTRIBUTE_isBold(Code) | | |
ATTRIBUTE_isDefault | final public static String ATTRIBUTE_isDefault(Code) | | |
ATTRIBUTE_isItalic | final public static String ATTRIBUTE_isItalic(Code) | | |
ATTRIBUTE_isPdfEmbedded | final public static String ATTRIBUTE_isPdfEmbedded(Code) | | |
ATTRIBUTE_isStrikeThrough | final public static String ATTRIBUTE_isStrikeThrough(Code) | | |
ATTRIBUTE_isStyledText | final public static String ATTRIBUTE_isStyledText(Code) | | |
ATTRIBUTE_isUnderline | final public static String ATTRIBUTE_isUnderline(Code) | | |
ATTRIBUTE_leftBorder | final public static String ATTRIBUTE_leftBorder(Code) | | |
ATTRIBUTE_leftBorderColor | final public static String ATTRIBUTE_leftBorderColor(Code) | | |
ATTRIBUTE_leftPadding | final public static String ATTRIBUTE_leftPadding(Code) | | |
ATTRIBUTE_lineSpacing | final public static String ATTRIBUTE_lineSpacing(Code) | | |
ATTRIBUTE_markup | final public static String ATTRIBUTE_markup(Code) | | |
ATTRIBUTE_mode | final public static String ATTRIBUTE_mode(Code) | | |
ATTRIBUTE_name | final public static String ATTRIBUTE_name(Code) | | |
ATTRIBUTE_padding | final public static String ATTRIBUTE_padding(Code) | | |
ATTRIBUTE_pattern | final public static String ATTRIBUTE_pattern(Code) | | |
ATTRIBUTE_pdfEncoding | final public static String ATTRIBUTE_pdfEncoding(Code) | | |
ATTRIBUTE_pdfFontName | final public static String ATTRIBUTE_pdfFontName(Code) | | |
ATTRIBUTE_radius | final public static String ATTRIBUTE_radius(Code) | | |
ATTRIBUTE_rightBorder | final public static String ATTRIBUTE_rightBorder(Code) | | |
ATTRIBUTE_rightBorderColor | final public static String ATTRIBUTE_rightBorderColor(Code) | | |
ATTRIBUTE_rightPadding | final public static String ATTRIBUTE_rightPadding(Code) | | |
ATTRIBUTE_rotation | final public static String ATTRIBUTE_rotation(Code) | | |
ATTRIBUTE_scaleImage | final public static String ATTRIBUTE_scaleImage(Code) | | |
ATTRIBUTE_style | final public static String ATTRIBUTE_style(Code) | | |
ATTRIBUTE_topBorder | final public static String ATTRIBUTE_topBorder(Code) | | |
ATTRIBUTE_topBorderColor | final public static String ATTRIBUTE_topBorderColor(Code) | | |
ATTRIBUTE_topPadding | final public static String ATTRIBUTE_topPadding(Code) | | |
ATTRIBUTE_vAlign | final public static String ATTRIBUTE_vAlign(Code) | | |
JRXMLStyleAttributes | final public static String[] JRXMLStyleAttributes(Code) | | |
Style | public Style()(Code) | | Create an empty style
|
Style | public Style(Style s1)(Code) | | Create a new style with the same values of s1
isDefault is reset to false.
|
copyStyleFrom | public void copyStyleFrom(Style s1)(Code) | | Copy all values of s1 in the current style. The subStyles are not duplicated!
A cimply copy of conditionedStyles vector is performed
|
getAttribute | public Object getAttribute(String attribute)(Code) | | This method return the attribute value.
|
getAttribute | public Object getAttribute(String attribute, boolean lookInParent)(Code) | | This method return the attribute value.
|
getAttributeBoolean | public boolean getAttributeBoolean(String attribute, boolean defaultBoolean)(Code) | | |
getAttributeBoolean | public boolean getAttributeBoolean(String attribute, boolean defaultBoolean, boolean lookInParentToo)(Code) | | This method is the same as getAttribute(String attribute, true).
|
getAttributeColor | public Color getAttributeColor(String attribute, Color defaultColor, boolean lookInParentToo)(Code) | | This method is the same as getAttribute(String attribute, true).
|
getAttributeDouble | public double getAttributeDouble(String attribute, double defaultDouble)(Code) | | This method is the same as getAttribute(String attribute, true).
|
getAttributeInteger | public int getAttributeInteger(String attribute, int defaultInt)(Code) | | |
getAttributeInteger | public int getAttributeInteger(String attribute, int defaultInt, boolean lookInParentToo)(Code) | | This method is the same as getAttribute(String attribute).
|
getAttributeString | public String getAttributeString(String attribute, String defaultString, boolean lookInParentToo)(Code) | | This method is the same as getAttribute(String attribute).
|
getConditionedStyles | public Vector getConditionedStyles()(Code) | | |
setConditionedStyles | public void setConditionedStyles(Vector conditionedStyles)(Code) | | |
|
|