Change-Id: I376cd27d5ae08c877cd3279740b601fb8dddb2e7tags/7.6.0.alpha6
/** | /** | ||||
* Returns the sum of the top and bottom margin | * Returns the sum of the top and bottom margin | ||||
* | * | ||||
* @since 7.6 | |||||
* @since 7.5.6 | |||||
* @return the sum of the top and bottom margin | * @return the sum of the top and bottom margin | ||||
*/ | */ | ||||
public double getMarginHeight() { | public double getMarginHeight() { | ||||
/** | /** | ||||
* Returns the sum of the top and bottom margin | * Returns the sum of the top and bottom margin | ||||
* | * | ||||
* @since 7.6 | |||||
* @since 7.5.6 | |||||
* @return the sum of the left and right margin | * @return the sum of the left and right margin | ||||
*/ | */ | ||||
public double getMarginWidth() { | public double getMarginWidth() { |
/** | /** | ||||
* Checks if there is something waiting for a layout to take place. | * Checks if there is something waiting for a layout to take place. | ||||
* | * | ||||
* @since | |||||
* @since 7.5.6 | |||||
* @return true if there are connectors waiting for measurement or layout, | * @return true if there are connectors waiting for measurement or layout, | ||||
* false otherwise | * false otherwise | ||||
*/ | */ |
* by a server-side {@link com.vaadin.ui.ComboBox.ItemStyleGenerator}. | * by a server-side {@link com.vaadin.ui.ComboBox.ItemStyleGenerator}. | ||||
* The returned style is prefixed by <code>v-filterselect-item-</code>. | * The returned style is prefixed by <code>v-filterselect-item-</code>. | ||||
* | * | ||||
* @since | |||||
* @since 7.5.6 | |||||
* @return the style name to use, or <code>null</code> to not apply any | * @return the style name to use, or <code>null</code> to not apply any | ||||
* custom style. | * custom style. | ||||
*/ | */ |
* Item caption mode: Item's ID's <code>String</code> representation is | * Item caption mode: Item's ID's <code>String</code> representation is | ||||
* used as caption. | * used as caption. | ||||
* | * | ||||
* @since | |||||
* @since 7.5.6 | |||||
*/ | */ | ||||
ID_TOSTRING, | ID_TOSTRING, | ||||
/** | /** |
* shown in the popup. The CSS class name that will be added to the item | * shown in the popup. The CSS class name that will be added to the item | ||||
* style names is <tt>v-filterselect-item-[style name]</tt>. | * style names is <tt>v-filterselect-item-[style name]</tt>. | ||||
* | * | ||||
* @since | |||||
* @since 7.5.6 | |||||
* @see ComboBox#setItemStyleGenerator(ItemStyleGenerator) | * @see ComboBox#setItemStyleGenerator(ItemStyleGenerator) | ||||
*/ | */ | ||||
public interface ItemStyleGenerator extends Serializable { | public interface ItemStyleGenerator extends Serializable { | ||||
* @param itemStyleGenerator | * @param itemStyleGenerator | ||||
* the item style generator to set, or <code>null</code> to not | * the item style generator to set, or <code>null</code> to not | ||||
* use any custom item styles | * use any custom item styles | ||||
* @since | |||||
* @since 7.5.6 | |||||
*/ | */ | ||||
public void setItemStyleGenerator(ItemStyleGenerator itemStyleGenerator) { | public void setItemStyleGenerator(ItemStyleGenerator itemStyleGenerator) { | ||||
this.itemStyleGenerator = itemStyleGenerator; | this.itemStyleGenerator = itemStyleGenerator; | ||||
* | * | ||||
* @return the itemStyleGenerator the currently used item style generator, | * @return the itemStyleGenerator the currently used item style generator, | ||||
* or <code>null</code> if no generator is used | * or <code>null</code> if no generator is used | ||||
* @since | |||||
* @since 7.5.6 | |||||
*/ | */ | ||||
public ItemStyleGenerator getItemStyleGenerator() { | public ItemStyleGenerator getItemStyleGenerator() { | ||||
return itemStyleGenerator; | return itemStyleGenerator; |
} | } | ||||
/** | /** | ||||
* @since | |||||
* @since 7.5.6 | |||||
* @param indicator | * @param indicator | ||||
* @param string | * @param string | ||||
* @return | * @return |