name
stringlengths
12
178
code_snippet
stringlengths
8
36.5k
score
float64
3.26
3.68
framework_AbstractSplitPanel_isSplitPositionReversed_rdh
/** * Is the split position reversed. By default the split position is measured * by the first region, but if split position is reversed the measuring is * done by the second region instead. * * @since 7.3.6 * @return {@code true} if reversed, {@code false} otherwise. * @see #setSplitPosition(float, boolean) */...
3.26
framework_AbstractSplitPanel_setFirstComponent_rdh
/** * Sets the first component of this split panel. Depending on the direction * the first component is shown at the top or to the left. * * @param c * The component to use as first component */public void setFirstComponent(Component c) { if (getFirstComponent() == c) { // Nothing to do return; } if (getFirstCo...
3.26
framework_AbstractSplitPanel_removeSplitPositionChangeListener_rdh
/** * Removes a {@link SplitPositionChangeListener}. * * @since 7.5.0 * @param listener * SplitPositionChangeListener to be removed. */ @Deprecated public void removeSplitPositionChangeListener(SplitPositionChangeListener listener) { removeListener(AbstractSplitPanel.SplitPositionChangeEvent.class, listener); }
3.26
framework_AbstractSplitPanel_getSplitPositionUnit_rdh
/** * Returns the new split position unit that triggered this change event. * * @return the new value of split position */ public Unit getSplitPositionUnit() {return unit; }
3.26
framework_CalendarComponentEvents_getNewEndTime_rdh
/** * * @deprecated Use {@link #getNewEnd()} instead * @return the new end time */ @Deprecatedpublic Date getNewEndTime() { return endTime; }
3.26
framework_CalendarComponentEvents_getNewStartTime_rdh
/** * * @deprecated Use {@link #getNewStart()} instead * @return the new start time */ @Deprecated public Date getNewStartTime() { return startTime; }
3.26
framework_CalendarComponentEvents_isMonthlyMode_rdh
/** * Gets the event's view mode. Calendar can be be either in monthly or * weekly mode, depending on the active date range. * * @deprecated User {@link Calendar#isMonthlyMode()} instead * @return Returns true when monthly view is active. */ @Deprecated public boolean isMonthlyMode() { return monthlyMode; }
3.26
framework_CalendarComponentEvents_getWeek_rdh
/** * Get week as a integer. See {@link java.util.Calendar} for the allowed * values. * * @return Week as a integer. */ public int getWeek() { return week; }
3.26
framework_CalendarComponentEvents_getNewStart_rdh
/** * Returns the updated start date/time of the event. * * @return The new date for the event */ public Date getNewStart() { return startTime; }
3.26
framework_VCheckBox_getLabelElement_rdh
/** * Gives access to the label element. * * @return Element of the Label itself * @since 8.7 */ public Element getLabelElement() { // public to allow CheckBoxState to access it. // FIXME: Would love to use a better way to access the label element return getInputElement().getNextSiblingElement(); ...
3.26
framework_StringToBooleanConverter_getFalseString_rdh
/** * Gets the locale-depended string representation for false. Default is * locale-independent value provided by {@link #getFalseString()} * * @since 7.5.4 * @param locale * to be used * @return the string representation for false */ protected String getFalseString(Locale locale) { return getFalseString(); }
3.26
framework_StringToBooleanConverter_getTrueString_rdh
/** * Gets the locale-depended string representation for true. Default is * locale-independent value provided by {@link #getTrueString()} * * @since 7.5.4 * @param locale * to be used * @return the string representation for true */ protected String getTrueString(Locale locale) { return getTrueString(); }
3.26
framework_Panel_getActionManager_rdh
/* ACTIONS */ @Override protected ActionManager getActionManager() { if (actionManager == null) {actionManager = new ActionManager(this); } return actionManager; }
3.26
framework_Panel_addClickListener_rdh
/** * Add a click listener to the Panel. The listener is called whenever the * user clicks inside the Panel. Also when the click targets a component * inside the Panel, provided the targeted component does not prevent the * click event from propagating. * * @see Registration * @param listener * The listener t...
3.26
framework_Panel_setTabIndex_rdh
/** * {@inheritDoc } */ @Override public void setTabIndex(int tabIndex) { getState().tabIndex = tabIndex; }
3.26
framework_Panel_changeVariables_rdh
/** * Called when one or more variables handled by the implementing class are * changed. * * @see com.vaadin.server.VariableOwner#changeVariables(Object, Map) */ @Override public void changeVariables(Object source, Map<String, Object> variables) { // Get new size final Integer newWidth = ((Integer) (varia...
3.26
framework_Panel_focus_rdh
/** * Moves keyboard focus to the component. {@see Focusable#focus()} */ @Override public void focus() { super.focus(); }
3.26
framework_Panel_getTabIndex_rdh
/** * {@inheritDoc } */ @Override public int getTabIndex() { return getState(false).tabIndex; }
3.26
framework_Panel_removeAllActionHandlers_rdh
/** * Removes all action handlers. */ public void removeAllActionHandlers() { if (actionManager != null) { actionManager.removeAllActionHandlers(); } }
3.26
framework_TableSqlContainer_createTestTable_rdh
/** * (Re)creates the test table * * @param connectionPool */ private void createTestTable(JDBCConnectionPool connectionPool) { Connection conn = null; try { conn = connectionPool.reserveConnection(); Statement statement = conn.createStatement(); try { statement.executeUpdate("DROP TABLE mytabl...
3.26
framework_TableSqlContainer_insertTestData_rdh
/** * Adds test data to the test table * * @param connectionPool * @throws SQLException */ private void insertTestData(JDBCConnectionPool connectionPool) throws SQLException { Connection conn = null; try { conn = connectionPool.reserveConnection(); Statement statement = conn.createStatement(); statem...
3.26
framework_AbstractDateFieldConnector_getDefaultValues_rdh
/** * Returns the default date (when no date is selected) components as a map * from Resolution to the corresponding value. * * @return default date component map * @since 8.2 */ protected Map<R, Integer> getDefaultValues() { VDateField<R> widget = getWidget(); Map<String, Integer> stateResolutions = get...
3.26
framework_AbstractDateFieldConnector_setAndUpdateAssistiveLabels_rdh
/** * Sets assistive labels for the calendar panel's navigation elements, and * updates these labels. * * @param calendar * the calendar panel for which to set the assistive labels * @since 8.4 */ @SuppressWarnings("rawtypes") protected void setAndUpdateAssistiveLabels(VAbstractCalendarPanel calendar) {calenda...
3.26
framework_MultipleUIUploadTest_getFileName_rdh
/** * Returns the fileName. * * @return String */ public String getFileName() { return fileName; }
3.26
framework_MultipleUIUploadTest_receiveUpload_rdh
/** * * @see com.vaadin.ui.Upload.Receiver#receiveUpload(String, String) */ @Override public OutputStream receiveUpload(String filename, String MIMEType) { fileName = filename; mimeType = MIMEType; outputBuffer = new ByteArrayOutputStream() { @Override public synchronized void write(b...
3.26
framework_VerticalSplitPanelConnector_getWidget_rdh
/** * A connector class for the VerticalSplitPanel component. Eagerly loaded. * * @author Vaadin Ltd */ @Connect(value = VerticalSplitPanel.class, loadStyle = LoadStyle.EAGER)public class VerticalSplitPanelConnector extends AbstractSplitPanelConnector { @Override public VSplitPanelVertical getWidget() { ...
3.26
framework_Payload_setValue_rdh
/** * Sets the value of this payload. * * @param value * value of the payload */ public void setValue(String value) { this.value = value; }
3.26
framework_Payload_parse_rdh
/** * Parses a payload string and returns a payload object represented by that * string. * * @param payloadString * string that represents a payload object * @return a payload object represented by the given string */ public static Payload parse(String payloadString) { String[] parts = payloadString.split(...
3.26
framework_Payload_getPayloadString_rdh
/** * Returns the string representation of this payload. It is used as the data * type in the {@code DataTransfer} object. * * @return the string representation of this payload */ public String getPayloadString() { return (((((ITEM_PREFIX + ":") + valueType.name().toLowerCase(Locale.ROOT)) + ":") + key) + ":")...
3.26
framework_Payload_setKey_rdh
/** * Sets the key of this payload. * * @param key * key that identifies the payload */ public void setKey(String key) { this.key = key; }
3.26
framework_Payload_getValue_rdh
/** * Gets the value of this payload. * * @return value of this payload */ public String getValue() { return value; }
3.26
framework_Payload_getValueType_rdh
/** * Gets the value type of this payload. * * @return the type of the value of this payload */ public ValueType getValueType() { return valueType; }
3.26
framework_CheckBoxConnector_delegateCaptionHandling_rdh
/** * The style names from getState().labelStyles which are currently applied * to the checkbox. * * @since 8.7 */ private JsArrayString labelStyleNames = JsArrayString.createArray().cast();@Overridepublic boolean delegateCaptionHandling() { return false; }
3.26
framework_RpcManager_getMethod_rdh
/** * Gets the method that an invocation targets. * * @param invocation * the method invocation to get the method for * @since 7.4 * @return the method targeted by this invocation */ public static Method getMethod(MethodInvocation invocation) { // Implemented here instead of in MethodInovcation since it's ...
3.26
framework_RpcManager_applyInvocation_rdh
/** * Client side RPC manager that can invoke methods based on RPC calls received * from the server. * * A GWT generator is used to create an implementation of this class at * run-time. * * @since 7.0 */public class RpcManager { /** * Perform server to client RPC invocation. * * @param invoc...
3.26
framework_DeclarativeIconGenerator_setIcon_rdh
/** * Sets an {@code icon} for the {@code item}. * * @param item * a data item * @param icon * an icon for the {@code item} */ protected void setIcon(T item, Resource icon) { captions.put(item, icon); }
3.26
framework_AbstractClickEventHandler_onDoubleClick_rdh
/** * Event handler for double clicks. Used to fire double click events. Note * that browsers typically fail to prevent the second click event so a * double click will result in two click events and one double click event. */ @Override public void onDoubleClick(DoubleClickEvent event) { if (hasEventListener() && sh...
3.26
framework_AbstractClickEventHandler_shouldFireEvent_rdh
/** * Called before firing a click event. Allows sub classes to decide if this * in an event that should cause an event or not. * * @param event * The user event * @return true if the event should be fired, false otherwise */ protected boolean shouldFireEvent(DomEvent<?> event) { return true; }
3.26
framework_AbstractClickEventHandler_registerHandler_rdh
/** * Registers the given handler to the widget so that the necessary events * are passed to this {@link ClickEventHandler}. * <p> * By default registers the handler with the connector root widget. * </p> * * @param <H> * @param handler * The handler to register * @param type * The type of the handler. ...
3.26
framework_AbstractClickEventHandler_onContextMenu_rdh
/** * Event handler for context menu. Prevents the browser context menu from * popping up if there is a listener for right clicks. */ @Override public void onContextMenu(ContextMenuEvent event) { if (hasEventListener() && shouldFireEvent(event)) { // Prevent showing the browser's context menu when there ...
3.26
framework_JsonPaintTarget_addUploadStreamVariable_rdh
/** * Adds a upload stream type variable. * * TODO not converted for JSON * * @param owner * the Listener for variable changes. * @param name * the Variable name. * @throws PaintException * if the paint operation failed. */ @Override public void addUploadStreamVariable(VariableOwner owner, String name)...
3.26
framework_JsonPaintTarget_addUIDL_rdh
/** * Adds XML directly to UIDL. * * @param xml * the Xml to be added. * @throws PaintException * if the paint operation failed. */ ...
3.26
framework_JsonPaintTarget_flush_rdh
/** * Method flush. */ private void flush() { uidlBuffer.flush();}
3.26
framework_JsonPaintTarget_endTag_rdh
/** * Prints the element end tag. * * If the parent tag is closed before every child tag is closed an * PaintException is raised. * * @param tagName * the name of the end tag. * @throws PaintException * if the paint operation failed. */ @Override public void endTag(String tagName) throws PaintException { ...
3.26
framework_JsonPaintTarget_getUIDL_rdh
/** * Gets the UIDL already printed to stream. Paint target must be closed * before the <code>getUIDL</code> can be called. * * @return the UIDL. */ public String getUIDL() { if (closed) { return uidlBuffer.toString(); }throw new IllegalStateException("Tried to read UIDL from open PaintTarget"); }
3.26
framework_JsonPaintTarget_addText_rdh
/** * Prints XML-escaped text. * * @param str * @throws PaintException * if the paint operation failed. */ @Override public void addText(String str) throws PaintException { tag.addData(("\"" + escapeJSON(str)) + "\""); }
3.26
framework_JsonPaintTarget_close_rdh
/** * Closes the paint target. Paint target must be closed before the * <code>getUIDL</code> can be called. Subsequent attempts to write to paint * target. If the target was already closed, call to this function is * ignored. will generate an exception. * * @throws PaintException * if the paint operation faile...
3.26
framework_JsonPaintTarget_addData_rdh
/** * * @param s * json string, object or array */ public void addData(String s) { children.add(s); }
3.26
framework_JsonPaintTarget_startTag_rdh
/** * Prints the element start tag. * * <pre> * Todo: * Checking of input values * * </pre> * * @param tagName * the name of the start tag. * @param isChildNode * {@code true} if child node, {@code false} otherwise * @throws PaintException * if the paint operation failed. */ public void startT...
3.26
framework_JsonPaintTarget_addSection_rdh
/** * Prints the single text section. * * Prints full text section. The section data is escaped * * @param sectionTagName * the name of the tag. * @param sectionData * the section data to be printed. * @throws PaintException * if the paint operation failed. */ @Override public void addSection(String se...
3.26
framework_AbstractTextField_setMaxLength_rdh
/** * Sets the maximum number of characters in the field. Value -1 is * considered unlimited. Terminal may however have some technical limits. * * @param maxLength * the maxLength to set */ public void setMaxLength(int maxLength) { getState().maxLength = maxLength; }
3.26
framework_AbstractTextField_selectAll_rdh
/** * Selects all text in the field. * <p> * As a side effect the field will become focused. */ public void selectAll() { getRpcProxy(AbstractTextFieldClientRpc.class).selectAll(); focus(); }
3.26
framework_AbstractTextField_setPlaceholder_rdh
/** * Sets the placeholder text. The placeholder is text that is displayed when * the field would otherwise be empty, to prompt the user for input. * * @param placeholder * the placeholder text to set * @since 8.0 */ public void setPlaceholder(String placeholder) { getState().placeholder = placeholder; }
3.26
framework_AbstractTextField_getCursorPosition_rdh
/** * Returns the last known cursor position of the field. * * @return the last known cursor position */ public int getCursorPosition() { return lastKnownCursorPosition; }
3.26
framework_AbstractTextField_addBlurListener_rdh
/** * Adds a {@link BlurListener} to this component, which gets fired when this * component loses keyboard focus. * * @param listener * the blur listener * @return a registration for the listener * @see Registration */ @Override public Registration addBlurListener(BlurListener listener) { return addListener(B...
3.26
framework_AbstractTextField_m0_rdh
/** * Sets the range of text to be selected. * <p> * As a side effect the field will become focused. * * @param start * the position of the first character to be selected * @param length * the number of characters to be selected */ public void m0(int start, int length) { getRpcProxy(AbstractTextFieldClien...
3.26
framework_AbstractTextField_addFocusListener_rdh
/** * Adds a {@link FocusListener} to this component, which gets fired when * this component receives keyboard focus. * * @param listener * the focus listener * @return a registration for the listener * @see Registration */ @Override public Registration addFocusListener(FocusListener listener) { return addLis...
3.26
framework_AbstractTextField_setCursorPosition_rdh
/** * Sets the cursor position in the field. As a side effect the field will * become focused. * * @param pos * the position for the cursor */ public void setCursorPosition(int pos) {m0(pos, 0); }
3.26
framework_VColorPickerArea_refreshColor_rdh
/** * Update the color area with the currently set color. */ public void refreshColor() { if (color != null) { // Set the color area.getElement().getStyle().setProperty("background", color); } }
3.26
framework_VColorPickerArea_getColor_rdh
/** * Gets the color. * * @since 8.4 * @return the color */ public String getColor() {return color; }
3.26
framework_VColorPickerArea_m1_rdh
/** * Gets the caption's contents as HTML. * * @return the caption's HTML */ @Override public String m1() { return caption.getHTML(); }
3.26
framework_VColorPickerArea_setHTML_rdh
/** * Sets the caption's content to the given HTML. * * @param html */ @Override public void setHTML(String html) { caption.setHTML(html); }
3.26
framework_VColorPickerArea_m0_rdh
/** * Gets the caption's contents as text. * * @return the caption's text */ @Override public String m0() { return caption.getText(); }
3.26
framework_VColorPickerArea_setOpen_rdh
/** * Mark the popup opened/closed. * * @param open */ public void setOpen(boolean open) { isOpen = open; }
3.26
framework_VColorPickerArea_isOpen_rdh
/** * Check the popup's marked state. * * @return true if the popup has been marked being open, false otherwise. */ public boolean isOpen() { return isOpen; }
3.26
framework_VColorPickerArea_addClickHandler_rdh
/** * Adds a click handler to the widget and sinks the click event. * * @param handler * @return HandlerRegistration used to remove the handler */ @Overridepublic HandlerRegistration addClickHandler(ClickHandler handler) { return addDomHandler(handler, ClickEvent.getType());}
3.26
framework_VColorPickerArea_setColor_rdh
/** * Sets the color for the area. * * @param color */ public void setColor(String color) { this.color = color; }
3.26
framework_VColorPickerArea_setWidth_rdh
/** * Sets the color area's width. This width does not include caption or * decorations such as border, margin, and padding. */ @Override public void setWidth(String width) { area.setWidth(width); }
3.26
framework_VColorPickerArea_setText_rdh
/** * Sets the caption's content to the given text. * * @param text * @see Label#setText(String) */ @Override public void setText(String text) { caption.setText(text); }
3.26
framework_VColorPickerArea_setHeight_rdh
/** * Sets the color area's height. This height does not include caption or * decorations such as border, margin, and padding. */ @Override public void setHeight(String height) { area.setHeight(height); }
3.26
framework_User_getRoles_rdh
/** * Returns an unmodifiable set of roles. To modify the roles a user has, * replace the whole set using {@link #setRoles(Set)}. * * @return set of roles (unmodifiable, not null) */public Set<Role> getRoles() { return Collections.unmodifiableSet(roles); }
3.26
framework_User_setRoles_rdh
/** * Replaces the set of roles with another collection. User references in * roles are automatically updated when setting the roles of a user. * * @param roles * non-null set of roles */ public void setRoles(Set<Role> roles) { for (Role role : this.roles) { role.getUsers().remove(this); } t...
3.26
framework_WindowMoveEvent_getNewY_rdh
/** * Gets the new y position of the window. * * @return the new Y position of the VWindow */ public int getNewY() { return newY; }
3.26
framework_NotificationElement_getDescription_rdh
/** * Returns description of the Notification element. * * @return description of the Notification element */ public String getDescription() { WebElement popup = findElement(By.className("popupContent")); WebElement caption = popup.findElement(By.tagName("p")); return caption.getText(); }
3.26
framework_NotificationElement_getCaption_rdh
/** * Returns the caption of the Notification element. * * @since 8.0 * @return the caption of the Notification element */ public String getCaption() { WebElement popup = findElement(By.className("popupContent")); WebElement caption = popup.findElement(By.tagName("h1")); return caption.getText(); }
3.26
framework_NotificationElement_close_rdh
/** * Closes a notification. * * @throws TimeoutException * If a notification can not be closed and the timeout expires. */ public void close() { click(); WebDriverWait wait = new WebDriverWait(getDriver(), 10); wait.until(ExpectedConditions.not(ExpectedConditions.presenceOfAllElementsLocatedBy(By.cl...
3.26
framework_FilesystemContainer_getSize_rdh
/** * Gets the size of this file. * * @return size */ public long getSize() { if (file.isDirectory()) { return 0; } return file.length(); }
3.26
framework_FilesystemContainer_accept_rdh
/** * Allows only files with the extension and directories. * * @see java.io.FilenameFilter#accept(File, String) */ @Override public boolean accept(File dir, String name) { if (name.endsWith(filter)) { return true; } return new File(dir, name).isDirectory(); }
3.26
framework_FilesystemContainer_getContainerPropertyIds_rdh
/** * Gets the collection of available file properties. * * @return Unmodifiable collection containing all available file properties. */ @Override public Collection<String> getContainerPropertyIds() {return FILE_PROPERTIES; }
3.26
framework_FilesystemContainer_getFileCounts_rdh
/** * Internal method to recursively calculate the number of files under a root * directory. * * @param directory * the root to start counting from. */ private int getFileCounts(File directory) { File[] l; if (filter != null) { l = directory.listFiles(filter); } else {l = directory.listFile...
3.26
framework_FilesystemContainer_getContainerProperty_rdh
/** * Gets the specified property of the specified file Item. The available * file properties are "Name", "Size" and "Last Modified". If propertyId is * not one of those, <code>null</code> is returned. * * @param itemId * the ID of the file whose property is requested. * @param propertyId * the property's I...
3.26
framework_FilesystemContainer_getFilter_rdh
/** * Returns the file filter used to limit the files in this container. * * @return Used filter instance or null if no filter is assigned. */public FilenameFilter getFilter() { return filter; }
3.26
framework_FilesystemContainer_setRecursive_rdh
/** * Sets the container recursive property. Set this to false to limit the * files directly under the root file. * <p> * Note : This is meaningful only if the root really is a directory. * </p> * * @param recursive * the New value for recursive property. */ public void setRecursive(boolean recursive) { this...
3.26
framework_FilesystemContainer_addItemProperty_rdh
/** * Filesystem container does not support adding new properties. * * @see Item#addItemProperty(Object, Property) */ @Override public boolean addItemProperty(Object id, Property property) throws UnsupportedOperationException { throw new UnsupportedOperationException("Filesystem container " + "does not support...
3.26
framework_FilesystemContainer_addRoot_rdh
/** * Adds new root file directory. Adds a file to be included as root file * directory in the <code>FilesystemContainer</code>. * * @param root * the File to be added as root directory. Null values are * ignored. */ public void addRoot(File root) { if (root != null) { final File[] newRoots = ne...
3.26
framework_FilesystemContainer_getName_rdh
/** * Gets the name of this file. * * @return file name of this file. */ public String getName() {return file.getName(); }
3.26
framework_FilesystemContainer_setFilter_rdh
/** * Sets the file filter used to limit the files in this container. * * @param extension * the Filename extension (w/o separator) to limit the files in * container. */ public void setFilter(String extension) { filter = new FileExtensionFilter(extension); }
3.26
framework_FilesystemContainer_toString_rdh
/** * * @see java.lang.Object#toString() */ @Override public String toString() { if ("".equals(file.getName())) { return file.getAbsolutePath(); } return file.getName(); }
3.26
framework_FilesystemContainer_addItemIds_rdh
/** * Internal recursive method to add the files under the specified directory * to the collection. * * @param col * the collection where the found items are added * @param f * the root file where to start adding files */ private void addItemIds(Collection<File> col, File f) { File[] l; if (filter != null) ...
3.26
framework_FilesystemContainer_getType_rdh
/** * Gets the specified property's data type. "Name" is a <code>String</code>, * "Size" is a <code>Long</code>, "Last Modified" is a <code>Date</code>. If * propertyId is not one of those, <code>null</code> is returned. * * @param propertyId * the ID of the property whose type is requested. * @return data typ...
3.26
framework_FilesystemContainer_getIcon_rdh
/** * Gets the icon of this file. * * @return the icon of this file. */ public Resource getIcon() { return FileTypeResolver.getIcon(file); }
3.26
framework_FilesystemContainer_removeItemProperty_rdh
/** * Filesystem container does not support removing properties. * * @see Item#removeItemProperty(Object) */ @Override public boolean removeItemProperty(Object id) throws UnsupportedOperationException { throw new UnsupportedOperationException("File...
3.26
framework_FilesystemContainer_size_rdh
/** * Gets the number of Items in the container. In effect, this is the * combined amount of files and directories. * * @return Number of Items in the container. */ @Override public int size() { if (recursive) { int v20 = 0; for (File f : roots) { v20 += getFileCounts(f); ...
3.26
framework_MultiSelect_getEmptyValue_rdh
/** * MultiSelect empty value should always be an empty set by default and not * {@code null}. * * @return An empty set, not {@code null} */ @Override public default Set<T> getEmptyValue() { return Collections.emptySet(); }
3.26
framework_MultiSelect_isSelected_rdh
/** * Returns whether the given item is currently selected. * * @param item * the item to check, not null * @return {@code true} if the item is selected, {@code false} otherwise */ public default boolean isSelected(T item) { return getSelectedItems().contains(item); }
3.26
framework_MultiSelect_select_rdh
/** * Adds the given items to the set of currently selected items. * <p> * By default this does not clear any previous selection. To do that, use * {@link #deselectAll()}. * <p> * If the all the items were already selected, this is a NO-OP. * <p> * This is a short-hand for {@link #updateSelection(Set, Set)} wit...
3.26
framework_MultiSelect_deselect_rdh
/** * Removes the given items from the set of currently selected items. * <p> * If the none of the items were selected, this is a NO-OP. * <p> * This is a short-hand for {@link #updateSelection(Set, Set)} with nothing * to select. * * @param items * to remove from selection, not {@code null} */ public def...
3.26
framework_MultiSelect_deselectAll_rdh
/** * Deselects all currently selected items. */ public default void deselectAll() { getSelectedItems().forEach(this::deselect); }
3.26
framework_Embedded_getCodebase_rdh
/** * This attribute specifies the base path used to resolve relative URIs * specified by the classid, data, and archive attributes. When absent, its * default value is the base URI of the current document. * * @return the code base. */ public String getCodebase() { return m2(false).codebase; }
3.26
framework_Embedded_setStandby_rdh
/** * This attribute specifies a message that a user agent may render while * loading the object's implementation and data. * * @param standby * The text to display while loading */ public void setStandby(String standby) { String v4 = getStandby(); if ((standby != v4) || ((standby != null) && (!standby.equals...
3.26