You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2018/04/24 14:42:54 UTC
svn commit: r1830002 -
/pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java
Author: rwhitcomb
Date: Tue Apr 24 14:42:54 2018
New Revision: 1830002
URL: http://svn.apache.org/viewvc?rev=1830002&view=rev
Log:
Code cleanup: Allow ScriptApplication to deal with several other types
of main components: Sheet and Palette, which both require an owner window
in order to work.
Update class Javadoc about this.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java?rev=1830002&r1=1830001&r2=1830002&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java Tue Apr 24 14:42:54 2018
@@ -31,6 +31,8 @@ import org.apache.pivot.util.Resources;
* a {@link Window} (or subclass of it) then the window will be displayed
* directly. Otherwise a default {@code Window} will be created and the
* component made its content.
+ * <p> Note: A {@link Sheet} or {@link Palette} will get owned by the default
+ * window.
*/
public class ScriptApplication implements Application {
private Window window = null;