CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/11/15 11:03:00
Modified files: javax/swing/text/html: CSS.java StyleSheet.java TableView.java . : ChangeLog Log message: 2006-11-15 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/html/CSS.java (Attribute.BORDER_SPACING): New field for the CSS border-spacing attribute. * javax/swing/text/html/StyleSheet.java (BoxPainter.bottomPadding): New field. (BoxPainter.leftPadding): New field. (BoxPainter.rightPadding): New field. (BoxPainter.topPadding): New field. (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes too. (BoxPainter.getInset): Recognize and include the padding. (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING. javax/swing/text/html/TableView.java (RowView.calculateMajorAxisRequirements): Adjust req's for cellSpacing. (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing. (cellSpacing): New field. (columnRequirements): Made package private to avoid accessor method. (calculateMinorAxisRequirements): Include cellSpacing. (calculateMajorAxisRequirements): Overridden to include cellSpacing. (layoutMajorAxis): Likewise. (layoutColumns): Respect cellSpacing. (setParent): Overridden to fetch the CSS attributes when view gets connected. (setPropertiesFromAttributes): New method. Fetches the cell spacing from the CSS attributes. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/CSS.java?cvsroot=classpath&r1=1.9&r2=1.10 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/StyleSheet.java?cvsroot=classpath&r1=1.14&r2=1.15 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/text/html/TableView.java?cvsroot=classpath&r1=1.6&r2=1.7 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8800&r2=1.8801