Sfoglia il codice sorgente

Add missing since tags (#9544)

tags/8.1.0.beta2
Henri Sara 7 anni fa
parent
commit
620b413478

+ 5
- 5
client/src/main/java/com/vaadin/client/ui/VAbstractTextualDate.java Vedi File

@@ -112,7 +112,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
*
* @return a date format string to use when formatting and parsing the text
* in the input field
* @since
* @since 8.1
*/
protected String createFormatString() {
if (isYear(getCurrentResolution())) {
@@ -136,7 +136,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
* @param formatString
* the format string to use, or null to force re-creating the
* format string from the locale the next time it is needed
* @since
* @since 8.1
*/
public void setFormatString(String formatString) {
this.formatStr = formatString;
@@ -386,7 +386,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
/**
* Publish methods/properties on the element to be used from JavaScript.
*
* @since
* @since 8.1
*/
private native void publishJSHelpers(Element root)
/*-{
@@ -407,7 +407,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
* @param isoDate
* the date to set in ISO8601 format, or null to clear the date
* value
* @since
* @since 8.1
*/
public void setISODate(String isoDate) {
if (isoDate == null) {
@@ -426,7 +426,7 @@ public abstract class VAbstractTextualDate<R extends Enum<R>>
*
* @return the current date in ISO8601 format, or null if no date is set
*
* @since
* @since 8.1
*/
public String getISODate() {
Date date = getDate();

+ 4
- 2
client/src/main/java/com/vaadin/client/ui/VComboBox.java Vedi File

@@ -2825,8 +2825,9 @@ public class VComboBox extends Composite implements Field, KeyDownHandler,

/**
* Gets the empty selection caption.
*
*
* @return the empty selection caption
* @since 8.1
*/
public String getEmptySelectionCaption() {
return emptySelectionCaption;
@@ -2835,9 +2836,10 @@ public class VComboBox extends Composite implements Field, KeyDownHandler,
/**
* Sets the empty selection caption for this VComboBox. The text is
* displayed in the text input when nothing is selected.
*
*
* @param emptySelectionCaption
* the empty selection caption
* @since 8.1
*/
public void setEmptySelectionCaption(String emptySelectionCaption) {
this.emptySelectionCaption = emptySelectionCaption;

+ 1
- 1
client/src/main/java/com/vaadin/client/ui/VDateField.java Vedi File

@@ -230,7 +230,7 @@ public abstract class VDateField<R extends Enum<R>> extends FlowPanel
*
* @return <code>true</code> if time is supported in addition to date,
* <code>false</code> if only dates are supported
* @since
* @since 8.1
*/
protected abstract boolean supportsTime();


+ 2
- 2
client/src/main/java/com/vaadin/client/widgets/Grid.java Vedi File

@@ -5287,7 +5287,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
* <code>true</code> to reserve space for all contents,
* <code>false</code> to allow the column to shrink smaller
* than the contents
* @since
* @since 8.1
*/
public void setMinimumWidthFromContent(
boolean minimumWidthFromContent) {
@@ -5301,7 +5301,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
* @return <code>true</code> to reserve space for all contents,
* <code>false</code> to allow the column to shrink smaller than
* the contents
* @since
* @since 8.1
*/
public boolean isMinimumWidthFromContent() {
return minimumWidthFromContent;

+ 1
- 1
server/src/main/java/com/vaadin/navigator/View.java Vedi File

@@ -54,7 +54,7 @@ public interface View extends Serializable {
* By default casts this View to a {@link Component} if possible, otherwise
* throws an IllegalStateException.
*
* @since
* @since 8.1
* @return the component to show, by default the view instance itself
*/
public default Component getViewComponent() {

+ 4
- 4
server/src/main/java/com/vaadin/ui/Grid.java Vedi File

@@ -1528,7 +1528,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* @throws IllegalStateException
* if the column is no longer attached to any grid
* @see #setMinimumWidth(double)
* @since
* @since 8.1
*/
public Column<T, V> setMinimumWidthFromContent(
boolean minimumWidthFromContent) throws IllegalStateException {
@@ -1549,7 +1549,7 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,
* <code>false</code> to allow the column to shrink smaller than
* the contents
* @see #setMinimumWidthFromContent(boolean)
* @since
* @since 8.1
*/
public boolean isMinimumWidthFromContent() {
return getState(false).minimumWidthFromContent;
@@ -1907,9 +1907,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents,

/**
* Gets the Renderer for this Column.
*
*
* @return the renderer
* @since
* @since 8.1
*/
public Renderer<? super V> getRenderer() {
return (Renderer<? super V>) getState().renderer;

+ 2
- 0
shared/src/main/java/com/vaadin/shared/ui/grid/ColumnState.java Vedi File

@@ -66,6 +66,8 @@ public class ColumnState extends AbstractGridExtensionState {
public Connector renderer;
/**
* Whether the contents define the minimum width for this column.
*
* @since 8.1
*/
public boolean minimumWidthFromContent = true;


Loading…
Annulla
Salva