Browse Source

Add @since 8.4 (#10840)

tags/8.5.0.alpha1
Ilia Motornyi 6 years ago
parent
commit
f716034bb7
No account linked to committer's email address

+ 1
- 1
client/src/main/java/com/vaadin/client/ui/VColorPicker.java View File

@@ -50,7 +50,7 @@ public class VColorPicker extends VButton {
/**
* Gets the color.
*
* @since
* @since 8.4
* @return the color
*/
public String getColor() {

+ 1
- 1
client/src/main/java/com/vaadin/client/ui/VColorPickerArea.java View File

@@ -167,7 +167,7 @@ public class VColorPickerArea extends Widget
/**
* Gets the color.
*
* @since
* @since 8.4
* @return the color
*/
public String getColor() {

+ 1
- 1
server/src/main/java/com/vaadin/ui/ComponentRootSetter.java View File

@@ -59,7 +59,7 @@ public class ComponentRootSetter implements Serializable {
* @param customComponent
* the custom component or composite
* @return
* @since
* @since 8.4
*
*/
public static boolean canSetRoot(Component customComponent) {

+ 1
- 0
server/src/main/java/com/vaadin/ui/components/colorpicker/ColorPickerPreview.java View File

@@ -201,6 +201,7 @@ public class ColorPickerPreview extends CssLayout implements HasValue<Color> {
* @param value
* input which caused the error
* @return error message text
* @since 8.4
*/
protected String getUserErrorText(String value) {
return value.isEmpty() ? "Input cannot be empty"

+ 1
- 1
server/src/main/java/com/vaadin/ui/components/colorpicker/ColorUtil.java View File

@@ -27,7 +27,7 @@ import com.vaadin.shared.ui.colorpicker.Color;
* Description of supported formats see
* http://www.w3schools.com/cssref/css_colors_legal.asp
*
* @since
* @since 8.4
*/
public class ColorUtil {
private ColorUtil() {

+ 1
- 1
shared/src/main/java/com/vaadin/shared/ui/colorpicker/ColorPickerServerRpc.java View File

@@ -36,7 +36,7 @@ public interface ColorPickerServerRpc extends ServerRpc {
/**
* ColorPicker's selected color is changed
*
* @since
* @since 8.4
* @param color
*/
public void changeColor(String color);

+ 4
- 4
testbench-api/src/main/java/com/vaadin/testbench/elements/ColorPickerPreviewElement.java View File

@@ -31,7 +31,7 @@ public class ColorPickerPreviewElement extends CssLayoutElement {
*
* @return true if field has errors, false otherwise
*
* @since
* @since 8.4
*/
public boolean getColorFieldContainsErrors() {
List<WebElement> caption = findElements(
@@ -47,7 +47,7 @@ public class ColorPickerPreviewElement extends CssLayoutElement {
*
* @return the value of the attribute 'value' of the input element
*
* @since
* @since 8.4
*/
public String getColorFieldValue() {
return getColorTextField().getAttribute("value");
@@ -60,7 +60,7 @@ public class ColorPickerPreviewElement extends CssLayoutElement {
* @param value
* text to insert
*
* @since
* @since 8.4
*/
public void setColorTextFieldValue(String value) {
// Select all text
@@ -72,7 +72,7 @@ public class ColorPickerPreviewElement extends CssLayoutElement {
* @return <code>WebElement</code> representing TextField in
* ColorPickerPreviewComponent
*
* @since
* @since 8.4
*/
public WebElement getColorTextField() {
return findElement(By.className("v-colorpicker-preview-textfield"));

+ 2
- 2
testbench-api/src/main/java/com/vaadin/testbench/elements/RichTextAreaElement.java View File

@@ -39,7 +39,7 @@ public class RichTextAreaElement extends AbstractFieldElement {
* Return value of the field element.
*
* @return value of the field element
* @since
* @since 8.4
*/
public String getValue() {
JavascriptExecutor executor = (JavascriptExecutor) getDriver();
@@ -53,7 +53,7 @@ public class RichTextAreaElement extends AbstractFieldElement {
*
* @param chars
* new value of the field
* @since
* @since 8.4
*/
public void setValue(CharSequence chars) throws ReadOnlyException {
if (isReadOnly()) {

Loading…
Cancel
Save