Author: gbrown
Date: Fri May 7 14:23:48 2010
New Revision: 942083
URL: http://svn.apache.org/viewvc?rev=942083&view=rev
Log:
Minor Javadoc updates.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java?rev=942083&r1=942082&r2=942083&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java Fri May 7 14:23:48
2010
@@ -16,27 +16,25 @@
*/
package org.apache.pivot.wtk;
-import org.apache.pivot.collections.Dictionary;
-
/**
* Defines a bind type.
*/
public enum BindType {
/**
- * The binding will only be processed for {...@link
Component#load(Dictionary)}
+ * The binding will only be processed for {...@link Component#load(Object)}
* operations.
*/
LOAD,
/**
- * The binding will only be processed for {...@link
Component#store(Dictionary)}
+ * The binding will only be processed for {...@link
Component#store(Object)}
* operations.
*/
STORE,
/**
- * The binding will be process for both {...@link
Component#load(Dictionary)}
- * and {...@link Component#store(Dictionary)} operations.
+ * The binding will be process for both {...@link Component#load(Object)}
+ * and {...@link Component#store(Object)} operations.
*/
BOTH
}
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java?rev=942083&r1=942082&r2=942083&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java Fri May 7 14:23:48
2010
@@ -344,22 +344,19 @@ public class TextInput extends Component
}
/**
- * Inserts a single character into the text input's content.
+ * Inserts a single character into the text input's content. The character
+ * replaces the current selection.
*
* @param character
* The character to insert.
- *
- * @param index
- * The index of the insertion point within the existing text. If equal to
- * the current character count, the new text is appended to the existing
- * content.
*/
public void insert(char character) {
insert(Character.toString(character));
}
/**
- * Inserts text into the text input's content.
+ * Inserts text into the text input's content. The text replaces the
current
+ * selection.
*
* @param text
* The text to insert.