You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/11/27 22:57:01 UTC

svn commit: r1039768 - in /pivot/trunk: wtk-terra/src/org/apache/pivot/wtk/skin/terra/package.html wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java

Author: gbrown
Date: Sat Nov 27 21:57:01 2010
New Revision: 1039768

URL: http://svn.apache.org/viewvc?rev=1039768&view=rev
Log:
Javadoc updates.

Modified:
    pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/package.html
    pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java

Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/package.html
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/package.html?rev=1039768&r1=1039767&r2=1039768&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/package.html (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/package.html Sat Nov 27 21:57:01 2010
@@ -19,7 +19,7 @@ limitations under the License.
 <head></head>
 <body>
 
-<p style="font-weight: bold">
+<p>
 Defines skin classes for the "Terra" theme.
 </p>
 
@@ -39,62 +39,6 @@ is shown below:
 </p>
 <br/>
 
-<p>Summary of color usage in skin classes</p>
-<table border="1" cellpadding="5">
-<tr>
-<th nowrap="nowrap">Palette Index:</th>
-<th nowrap="nowrap">Usage:</th>
-</tr>
-<tr>
-<td align="right">1</td>
-<td>foreground for labels</td>
-</tr>
-<tr>
-<td align="right">4</td>
-<td>background for groups and some type of labels</td>
-</tr>
-<tr>
-<td align="right">7</td>
-<td>borders, and some disabled elements</td>
-</tr>
-<tr>
-<td align="right">10</td>
-<td>
-background in input elements, tabs, scrollbars, buttons, table headers,
-expanders titles, etc
-</td>
-</tr>
-<tr>
-<td align="right">13</td>
-<td>
-selection, links, expanders text, labels
-(in links, separators, accordion and expanders titles),
-title bars and buttons in alerts
-</td>
-</tr>
-<tr>
-<td align="right">16</td>
-<td>background in option buttons</td>
-</tr>
-<tr>
-<td align="right">19</td>
-<td>selection background, form warnings</td>
-</tr>
-<tr>
-<td align="right">22</td>
-<td>errors, invalid elements, form errors</td>
-</tr>
-<tr>
-<td>&nbsp;</td>
-<td>
-<tt>TerraTooltipSkin</tt> use a fixed (not from palette) color for the background, of 0xffffe0,
-and transparency (alpha) 0xf0
-</td>
-</tr>
-</table>
-<br/>
-<br/>
-
 <p>
 The font, color palette, and message icons are defined in a JSON file that should contain a
 <tt>Map</tt> containing the following properties:
@@ -118,7 +62,7 @@ The default theme font; must be understa
 <td><tt>Number</tt></td>
 <td>
 The default multiplication delta (+/-) for generating the darker and lighter version
-of any "base color palette", in the range ]0 .. 1.0[.
+of any "base color palette", in the range [0.0..1.0].
 </td>
 </tr>
 <tr valign="top">
@@ -161,14 +105,5 @@ property.
 </p>
 <br/>
 
-<p>
-Note that to test custom color definitions, it's better to use
-the <tt>org.apache.pivot.demos.styles.ColorSchemeBuilder</tt> demo,
-because in "Kitchen Sink" some colors are overridden inside bxml files.
-</p>
-<br/>
-
-<hr/>
-
 </body>
 </html>

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java?rev=1039768&r1=1039767&r2=1039768&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewSelectionListener.java Sat Nov 27 21:57:01 2010
@@ -72,7 +72,7 @@ public interface TreeViewSelectionListen
      * Called when a tree view's selected node has changed.
      *
      * @param treeView
-     * @param previousSelectedItem
+     * @param previousSelectedNode
      */
     public void selectedNodeChanged(TreeView treeView, Object previousSelectedNode);
 }