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 2009/08/25 22:21:00 UTC
svn commit: r807791 - in /incubator/pivot/trunk:
demos/src/org/apache/pivot/demos/dnd/ demos/www/
wtk/src/org/apache/pivot/wtk/ wtk/src/org/apache/pivot/wtk/skin/
wtk/src/org/apache/pivot/wtk/skin/terra/
Author: gbrown
Date: Tue Aug 25 20:20:59 2009
New Revision: 807791
URL: http://svn.apache.org/viewvc?rev=807791&view=rev
Log:
Minor Javadoc and deployment cleanup.
Modified:
incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/file_drop_target_demo.wtkx
incubator/pivot/trunk/demos/www/multiselect.template.html
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPaneListener.java
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/FlowPaneSkin.java
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java
Modified: incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/file_drop_target_demo.wtkx
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/file_drop_target_demo.wtkx?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/file_drop_target_demo.wtkx (original)
+++ incubator/pivot/trunk/demos/src/org/apache/pivot/demos/dnd/file_drop_target_demo.wtkx Tue Aug 25 20:20:59 2009
@@ -18,7 +18,7 @@
<Window title="File Drop Target Demo" maximized="true"
xmlns:wtkx="http://pivot.apache.org/wtkx"
- xmlns:content="org.apache.pivot.wtk.content"
+ xmlns:terra="org.apache.pivot.wtk.skin.terra"
xmlns="org.apache.pivot.wtk">
<content>
<TablePane>
@@ -37,17 +37,17 @@
<columns>
<TableView.Column name="name" width="3*" headerData="File">
<cellRenderer>
- <content:TableViewFileRenderer/>
+ <terra:TerraFileBrowserSkin.TableViewFileRenderer/>
</cellRenderer>
</TableView.Column>
<TableView.Column name="size" width="1*" headerData="Size">
<cellRenderer>
- <content:TableViewFileRenderer/>
+ <terra:TerraFileBrowserSkin.TableViewFileRenderer/>
</cellRenderer>
</TableView.Column>
<TableView.Column name="lastModified" width="2*" headerData="Modified">
<cellRenderer>
- <content:TableViewFileRenderer/>
+ <terra:TerraFileBrowserSkin.TableViewFileRenderer/>
</cellRenderer>
</TableView.Column>
</columns>
Modified: incubator/pivot/trunk/demos/www/multiselect.template.html
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/www/multiselect.template.html?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/www/multiselect.template.html (original)
+++ incubator/pivot/trunk/demos/www/multiselect.template.html Tue Aug 25 20:20:59 2009
@@ -25,7 +25,7 @@
<script src="http://java.com/js/deployJava.js"></script>
<script>
var attributes = {code:"org.apache.pivot.wtk.BrowserApplicationContext$HostApplet",
- archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-tutorials-@version@.jar",
+ archive:"lib/@project_name@-core-@version@.jar,lib/@project_name@-wtk-@version@.jar,lib/@project_name@-wtk-@version@.terra.jar,lib/@project_name@-demos-@version@.jar",
width:480,
height:360
};
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java Tue Aug 25 20:20:59 2009
@@ -1325,6 +1325,9 @@
}
}
+ /**
+ * Class representing a scheduled callback.
+ */
public static final class ScheduledCallback extends TimerTask {
private Runnable runnable = null;
private volatile boolean cancelled = false;
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java Tue Aug 25 20:20:59 2009
@@ -311,7 +311,7 @@
/**
* Sets the file filter.
*
- * @param fileFilter
+ * @param disabledFileFilter
* The file filter to use, or <tt>null</tt> for no filter.
*/
public void setDisabledFileFilter(Filter<File> disabledFileFilter) {
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java Tue Aug 25 20:20:59 2009
@@ -36,6 +36,9 @@
* Contains utility methods dealing with the Java2D API.
*/
public final class GraphicsUtilities {
+ /**
+ * Enumeration representing a paint type.
+ */
public enum PaintType {
SOLID_COLOR,
GRADIENT,
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPaneListener.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPaneListener.java?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPaneListener.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPaneListener.java Tue Aug 25 20:20:59 2009
@@ -24,7 +24,7 @@
* Called when a split pane's top left component has changed.
*
* @param splitPane
- * The SplitPane that the event originates from.
+ * The source of the event.
*
* @param previousTopLeft
* The previous component. The new component can be found inside the splitPane.
@@ -35,7 +35,7 @@
* Called when a split pane's bottom right component has changed.
*
* @param splitPane
- * The SplitPane that the event originates from.
+ * The source of the event.
*
* @param previousBottomRight
* The previous component. The new component can be found inside the splitPane.
@@ -46,7 +46,7 @@
* Called when a split pane's orientation has changed.
*
* @param splitPane
- * The SplitPane that the event originates from.
+ * The source of the event.
*/
public void orientationChanged(SplitPane splitPane);
@@ -54,7 +54,7 @@
* Called when a split pane's primary region has changed.
*
* @param splitPane
- * The SplitPane that the event originates from.
+ * The source of the event.
*/
public void primaryRegionChanged(SplitPane splitPane);
@@ -62,7 +62,7 @@
* Called when a split pane's split location has changed.
*
* @param splitPane
- * The SplitPane that the event originates from.
+ * The source of the event.
*
* @param previousSplitRatio
* The previous setting of the splitRatio.
@@ -73,7 +73,7 @@
* Called when a split pane's locked flag has changed.
*
* @param splitPane
- * The SplitPane that the event originates from.
+ * The source of the event.
*/
public void lockedChanged(SplitPane splitPane);
}
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/FlowPaneSkin.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/FlowPaneSkin.java?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/FlowPaneSkin.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/FlowPaneSkin.java Tue Aug 25 20:20:59 2009
@@ -24,6 +24,9 @@
import org.apache.pivot.wtk.HorizontalAlignment;
import org.apache.pivot.wtk.Insets;
+/**
+ * Flow pane skin.
+ */
public class FlowPaneSkin extends ContainerSkin {
private HorizontalAlignment alignment = HorizontalAlignment.LEFT;
private Insets padding = new Insets(2);
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java?rev=807791&r1=807790&r2=807791&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin.java Tue Aug 25 20:20:59 2009
@@ -285,6 +285,9 @@
}
}
+ /**
+ * File comparator.
+ */
public static class FileComparator implements Comparator<File> {
private String columnName = null;
private SortDirection sortDirection = null;