[richfaces-svn-commits] JBoss Rich Faces SVN: r4836 - in branches/3.1.x/ui/orderingList/src: main/resources/org/richfaces/renderkit/html/css and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Dec 13 19:04:01 EST 2007


Author: nbelaevski
Date: 2007-12-13 19:04:01 -0500 (Thu, 13 Dec 2007)
New Revision: 4836

Added:
   branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListButtonGradient.java
Removed:
   branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListSelectGradient.java
Modified:
   branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListClickedGradient.java
   branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListHeaderGradient.java
   branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
   branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
Log:
skinning updated for OL & LS

Added: branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListButtonGradient.java
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListButtonGradient.java	                        (rev 0)
+++ branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListButtonGradient.java	2007-12-14 00:04:01 UTC (rev 4836)
@@ -0,0 +1,35 @@
+/**
+ * License Agreement.
+ *
+ *  JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007  Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ */
+
+package org.richfaces.renderkit.html.gradientimages;
+
+import org.richfaces.renderkit.html.BaseGradient;
+import org.richfaces.skin.Skin;
+
+/**
+ * @author Siarhej Chalipau
+ *
+ */
+public class OrderingListButtonGradient extends BaseGradient {
+	public OrderingListButtonGradient() {
+		 super(8, 18, 9, Skin.generalBackgroundColor, "tabBackgroundColor");
+	}
+}

Modified: branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListClickedGradient.java
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListClickedGradient.java	2007-12-14 00:00:16 UTC (rev 4835)
+++ branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListClickedGradient.java	2007-12-14 00:04:01 UTC (rev 4836)
@@ -39,7 +39,7 @@
 	}
 	
 	public OrderingListClickedGradient() {
-		 super(7, 15, 9, "additionalBackgroundColor", "trimColor");
+		 super(7, 15, 9, "tabBackgroundColor", Skin.generalBackgroundColor);
 	}
 
 }

Modified: branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListHeaderGradient.java
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListHeaderGradient.java	2007-12-14 00:00:16 UTC (rev 4835)
+++ branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListHeaderGradient.java	2007-12-14 00:04:01 UTC (rev 4836)
@@ -30,6 +30,6 @@
  */
 public class OrderingListHeaderGradient extends BaseGradient {
 	public OrderingListHeaderGradient() {
-		 super(8, 18, 9, "additionalBackgroundColor", "trimColor");
+		 super(8, 40, 14, Skin.generalBackgroundColor, "tabBackgroundColor");
 	}
 }

Deleted: branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListSelectGradient.java
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListSelectGradient.java	2007-12-14 00:00:16 UTC (rev 4835)
+++ branches/3.1.x/ui/orderingList/src/main/java/org/richfaces/renderkit/html/gradientimages/OrderingListSelectGradient.java	2007-12-14 00:04:01 UTC (rev 4836)
@@ -1,34 +0,0 @@
-/**
- * License Agreement.
- *
- *  JBoss RichFaces - Ajax4jsf Component Library
- *
- * Copyright (C) 2007  Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
- */
-
-package org.richfaces.renderkit.html.gradientimages;
-
-import org.richfaces.renderkit.html.BaseGradient;
-
-/**
- * @author Siarhej Chalipau
- *
- */
-public class OrderingListSelectGradient extends BaseGradient {
-	public OrderingListSelectGradient() {
-		 super(11, 18, 18, "tableBackgroundColor", "additionalBackgroundColor");
-	}
-}

Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss	2007-12-14 00:00:16 UTC (rev 4835)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss	2007-12-14 00:04:01 UTC (rev 4836)
@@ -182,9 +182,9 @@
 
 <u:selector name=".rich-ordering-list-button">
 	<u:style name="background-image">
-		<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient" />
+		<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient" />
 	</u:style>
-	<u:style name="background-color" skin="trimColor" />
+	<u:style name="background-color" skin="tabBackgroundColor" />
 	<u:style name="color" skin="generalTextColor"/>
 	<u:style name="font-family" skin="headerFamilyFont"/>
 	<u:style name="font-size" skin="headerSizeFont"/>
@@ -192,9 +192,9 @@
 
 <u:selector name=".rich-ordering-list-button-disabled">
 	<u:style name="background-image">
-		<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient" />
+		<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient" />
 	</u:style>
-	<u:style name="background-color" skin="trimColor" />
+	<u:style name="background-color" skin="tabBackgroundColor" />
 	<u:style name="color" skin="tabDisabledTextColor"/>
 	<u:style name="font-family" skin="headerFamilyFont"/>
 	<u:style name="font-size" skin="headerSizeFont"/>
@@ -202,9 +202,9 @@
 
 	<u:selector name=".rich-ordering-list-button-light">
 		<u:style name="background-image">
-			<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient" />
+			<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient" />
 		</u:style>
-		<u:style name="background-color" skin="trimColor" />
+		<u:style name="background-color" skin="tabBackgroundColor" />
 		<u:style name="border-color" skin="selectControlColor" />
 		<u:style name="border-width" skin="tableBorderWidth" />
 		<u:style name="font-family" skin="headerFamilyFont" />
@@ -216,7 +216,7 @@
 		<u:style name="background-image">
 			<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient" />
 		</u:style>
-		<u:style name="background-color" skin="additionalBackgroundColor" />
+		<u:style name="background-color" skin="tabBackgroundColor" />
 		<u:style name="border-color" skin="tableBorderColor" />
 		<u:style name="border-width" skin="tableBorderWidth" />
 		<u:style name="font-family" skin="headerFamilyFont" />
@@ -228,7 +228,7 @@
 		<u:style name="background-image">
 			<f:resource f:key="org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient" />
 		</u:style>
-		<u:style name="background-color" skin="trimColor" />
+		<u:style name="background-color" skin="tabBackgroundColor" />
 		<u:style name="color" skin="generalTextColor" />
 		<u:style name="font-family" skin="headerFamilyFont" />
 		<u:style name="font-size" skin="headerSizeFont" />

Modified: branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
===================================================================
--- branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java	2007-12-14 00:00:16 UTC (rev 4835)
+++ branches/3.1.x/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java	2007-12-14 00:04:01 UTC (rev 4836)
@@ -73,7 +73,6 @@
 		imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled");
 		imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient");
 		imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient");
-		imageClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListSelectGradient");
 	}
 	
     /**




More information about the richfaces-svn-commits mailing list