Переглянути джерело

Update @since tags for new API (#14330)

Change-Id: Ieee79bc4e1c61c7a0b00e19c0bca8826b0e10cff
tags/7.3.0.rc1
Artur Signell 9 роки тому
джерело
коміт
2987485ccb

+ 3
- 0
client/src/com/vaadin/client/DeferredWorker.java Переглянути файл

* scheduled to be executed in the near future and that the framework should * scheduled to be executed in the near future and that the framework should
* wait for this work to complete before assuming the UI has reached a steady * wait for this work to complete before assuming the UI has reached a steady
* state. * state.
*
* @since 7.3
* @author Vaadin Ltd
*/ */
public interface DeferredWorker { public interface DeferredWorker {
/** /**

+ 4
- 7
client/src/com/vaadin/client/Util.java Переглянути файл

/** /**
* Defers the execution of {@link #runWebkitOverflowAutoFix(Element)} * Defers the execution of {@link #runWebkitOverflowAutoFix(Element)}
* *
* @since
* @since 7.2.6
* @param elem * @param elem
* with overflow auto * with overflow auto
*/ */
* necessary in cases where IE "forgets" to update child elements when they * necessary in cases where IE "forgets" to update child elements when they
* resize. * resize.
* *
* @since
* @since 7.3
* @param e * @param e
* The element to perform the hack on * The element to perform the hack on
*/ */
* performed. This may be "forward" or "backward", or "none" if * performed. This may be "forward" or "backward", or "none" if
* the direction is unknown or irrelevant. * the direction is unknown or irrelevant.
* *
* @since
* @since 7.3
*/ */
public native static void setSelectionRange(Element elem, int pos, public native static void setSelectionRange(Element elem, int pos,
int length, String direction) int length, String direction)
* string representation.<br/> * string representation.<br/>
* Eg. 50%, 123px, ... * Eg. 50%, 123px, ...
* *
* @since
* @since 7.2.6
* @author Vaadin Ltd * @author Vaadin Ltd
*/ */
@SuppressWarnings("serial") @SuppressWarnings("serial")
/** /**
* Gets the unit value by its type. * Gets the unit value by its type.
* *
* @since
* @param type * @param type
* the type of the unit as found in the style. * the type of the unit as found in the style.
* @return the unit value. * @return the unit value.
/** /**
* Creates a {@link CssSize} using a value and its measurement unit. * Creates a {@link CssSize} using a value and its measurement unit.
* *
* @since
* @param value * @param value
* the value. * the value.
* @param unit * @param unit
/** /**
* Check whether the two sizes are equals. * Check whether the two sizes are equals.
* *
* @since
* @param cssSize1 * @param cssSize1
* the first size to compare. * the first size to compare.
* @param cssSize2 * @param cssSize2

+ 4
- 2
client/src/com/vaadin/client/ui/VFilterSelect.java Переглянути файл

/** /**
* Select the first item of the suggestions list popup. * Select the first item of the suggestions list popup.
* *
* @since
* @since 7.2.6
*/ */
public void selectFirstItem() { public void selectFirstItem() {
debug("VFS.SP: selectFirstItem()"); debug("VFS.SP: selectFirstItem()");
/** /**
* Select the last item of the suggestions list popup. * Select the last item of the suggestions list popup.
* *
* @since
* @since 7.2.6
*/ */
public void selectLastItem() { public void selectLastItem() {
debug("VFS.SP: selectLastItem()"); debug("VFS.SP: selectLastItem()");
* menu currently displays the last page with less items then the * menu currently displays the last page with less items then the
* maximum visibility (in which case the scroll is not active, but the * maximum visibility (in which case the scroll is not active, but the
* scroll is active for any other page in general). * scroll is active for any other page in general).
*
* @since 7.2.6
*/ */
@Override @Override
public boolean isScrollActive() { public boolean isScrollActive() {

+ 1
- 1
client/src/com/vaadin/client/ui/VScrollTable.java Переглянути файл

} }


/** /**
* @since
* @since 7.2.6
*/ */
public void onUnregister() { public void onUnregister() {
if (addCloseHandler != null) { if (addCloseHandler != null) {

+ 1
- 1
client/src/com/vaadin/client/ui/VTabsheet.java Переглянути файл

/** /**
* Delegate method for the onFocus event occurring on Tab. * Delegate method for the onFocus event occurring on Tab.
* *
* @since
* @since 7.2.6
* @param newFocusTab * @param newFocusTab
* the new focused tab. * the new focused tab.
* @see #onBlur(Tab) * @see #onBlur(Tab)

+ 7
- 7
client/src/com/vaadin/client/ui/menubar/MenuBar.java Переглянути файл

/** /**
* Gets the first item from the menu or null if no items. * Gets the first item from the menu or null if no items.
* *
* @since
* @since 7.2.6
* @return the first item from the menu or null if no items. * @return the first item from the menu or null if no items.
*/ */
public MenuItem getFirstItem() { public MenuItem getFirstItem() {
/** /**
* Gest the last item from the menu or null if no items. * Gest the last item from the menu or null if no items.
* *
* @since
* @since 7.2.6
* @return the last item from the menu or null if no items. * @return the last item from the menu or null if no items.
*/ */
public MenuItem getLastItem() { public MenuItem getLastItem() {
/** /**
* Gets the index of the selected item. * Gets the index of the selected item.
* *
* @since
* @since 7.2.6
* @return the index of the selected item. * @return the index of the selected item.
*/ */
public int getSelectedIndex() { public int getSelectedIndex() {
/** /**
* Scroll the selected item into view. * Scroll the selected item into view.
* *
* @since
* @since 7.2.6
*/ */
public void scrollSelectionIntoView() { public void scrollSelectionIntoView() {
scrollItemIntoView(selectedItem); scrollItemIntoView(selectedItem);
/** /**
* Sets the menu scroll enabled or disabled. * Sets the menu scroll enabled or disabled.
* *
* @since
* @since 7.2.6
* @param enabled * @param enabled
* the enabled state of the scroll. * the enabled state of the scroll.
*/ */
/** /**
* Gets whether the scroll is activate for this menu. * Gets whether the scroll is activate for this menu.
* *
* @since
* @since 7.2.6
* @return true if the scroll is active, otherwise false. * @return true if the scroll is active, otherwise false.
*/ */
public boolean isScrollActive() { public boolean isScrollActive() {
/** /**
* Gets the preferred height of the menu. * Gets the preferred height of the menu.
* *
* @since
* @since 7.2.6
*/ */
protected int getPreferredHeight() { protected int getPreferredHeight() {
return table.getOffsetHeight(); return table.getOffsetHeight();

Завантаження…
Відмінити
Зберегти