name
stringlengths
12
178
code_snippet
stringlengths
8
36.5k
score
float64
3.26
3.68
framework_Slider_setValue_rdh
/** * Sets the value of this object. If the new value is not equal to * {@code getValue()}, fires a {@link ValueChangeEvent}. Throws * {@code NullPointerException} if the value is null. * * @param value * the new value, not {@code null} * @throws NullPointerException * if {@code value} is {@code null} */ @...
3.26
framework_Slider_setOrientation_rdh
/** * Sets the orientation of the slider. * * @param orientation * the new orientation, either * {@link SliderOrientation#HORIZONTAL} or * {@link SliderOrientation#VERTICAL} */ public void setOrientation(SliderOrientation orientation) { getState().orientation = orientation; }
3.26
framework_Slider_getMax_rdh
/** * Gets the maximum slider value. The default value is 100.0. * * @return the largest value the slider can have */ public double getMax() { return getState(false).maxValue; }
3.26
framework_Slider_setResolution_rdh
/** * Set a new resolution for the slider. The resolution is the number of * digits after the decimal point. * * @throws IllegalArgumentException * if resolution is negative. * @param resolution * the number of digits after the decimal point */ public void setResolution(int resolution) { if (resolution ...
3.26
framework_Slider_setMin_rdh
/** * Sets the minimum slider value. If the current value of the slider is * smaller than this, the value is set to the new minimum. * * @param min * The new minimum slider value */ public void setMin(double min) { double roundedMin = getRoundedValue(min); getStat...
3.26
framework_Slider_setMax_rdh
/** * Sets the maximum slider value. If the current value of the slider is * larger than this, the value is set to the new maximum. * * @param max * The new maximum slider value */ public void setMax(double max) { double roundedMax = getRoundedValue(max); getState().maxValue = roundedMax; if (getMi...
3.26
framework_NativeSelectElement_getValue_rdh
/** * Return value of the selected item in the native select element. * * @return value of the selected item * @throws NoSuchElementException * if no value is selected */ public String getValue() throws NoSuchElementException { return select.getFirstSelectedOption().getText(); }
3.26
framework_NativeSelectElement_setValue_rdh
/** * Select item of the native select element with the specified value. * * @param chars * value of the native select item will be selected */ public void setValue(CharSequence chars) throws ReadOnlyException { selectByText(((String) (chars))); }
3.26
framework_ConnectorHierarchyWriter_write_rdh
/** * Writes a JSON object containing the connector hierarchy (parent-child * mappings) of the dirty connectors in the given UI. * * @param ui * The {@link UI} whose hierarchy to write. * @param writer * The {@link Writer} used to write the JSON. * @param stateUpdateConne...
3.26
framework_DateCellDayEvent_getDatesWidth_rdh
/* Returns total width of all date cells. */ private int getDatesWidth() { if (weekGrid.width == (-1)) { // Undefined width. Needs to be calculated by the known cell // widths. int count = weekGrid.content.getWidgetCount() - 1; return count * getDateCellWidth(); } return weekGrid.getInternalWidth(); }
3.26
framework_DateCellDayEvent_getMinTimeRange_rdh
/** * * @return the minimum amount of ms that an event must last when resized */ private long getMinTimeRange() { return DateConstants.MINUTEINMILLIS * 30; }
3.26
framework_DateCellDayEvent_calculateStartFromMinute_rdh
// date methods are not deprecated in GWT @SuppressWarnings("deprecation") private long calculateStartFromMinute(long startFromMinutes, Date from, Date to, int dayOffset) { boolean eventStartAtDifferentDay = from.getDate() != to.getDate();if (eventStartAtDifferentDay) { long minutesOnPrevDay = (getTargetD...
3.26
framework_DateCellDayEvent_updateCaptions_rdh
/** * * @param bigMode * If false, event is so small that caption must be in time-row */ private void updateCaptions(boolean bigMode) { String v4; String timeAsText = calendarEvent.getTimeAsText(); String htmlOrText; if (dateCell.weekgrid.getCalendar().isEventCaptionAsHtml()) { htmlOrText...
3.26
framework_DateCellDayEvent_isTimeRangeTooSmall_rdh
/** * Check if the given time range is too small for events * * @param start * @param end * @return */ private boolean isTimeRangeTooSmall(long start, long end) { return (end - start) >= getMinTimeRange(); }
3.26
framework_DateCellDayEvent_clickTargetsResize_rdh
/** * * @return true if the current mouse movement is resizing */ private boolean clickTargetsResize() { return weekGrid.getCalendar().isEventResizeAllowed() && ((clickTarget == topResizeBar) || (clickTarget == bottomResizeBar)); }
3.26
framework_DateCellDayEvent_calculateDateCellOffsetPx_rdh
/** * * @param dateOffset * @return the amount of pixels the given date is from the left side */ private int calculateDateCellOffsetPx(int dateOffset) { int dateCellOffset = 0; int[] dateWidths = weekGrid.getDateCellWidths(); if (dateWidths != null) { for (int i = 0; i < dateOffset; i++) {...
3.26
framework_VTextField_updateFieldContent_rdh
/** * For internal use only. May be removed or replaced in the future. */ public void updateFieldContent(final String text) { setPrompting(((inputPrompt != null) && (focusedTextField != this)) && text.equals("")); String fieldValue; if (prompting) { fieldValue = (isReadOnly()) ? "" : inputPrompt; addStyleDependentNam...
3.26
framework_VTextField_updateCursorPosition_rdh
/** * Updates the cursor position variable if it has changed since the last * update. * * @return true if the value was updated */ protected boolean updateCursorPosition() { if (WidgetUtil.isAttachedAndDisplayed(this)) {int cursorPos = (prompting) ? 0 : getCursorPos(); if (lastCursorPos != cursorPos) { client.upda...
3.26
framework_VTextField_setMaxLength_rdh
/** * For internal use only. May be removed or replaced in the future. */ public void setMaxLength(int newMaxLength) { if (newMaxLength == maxLength) { return; } maxLength = newMaxLength; updateMaxLength(maxLength); }
3.26
framework_VTextField_m0_rdh
/** * Called when the field value might have changed and/or the field was * blurred. These are combined so the blur event is sent in the same batch * as a possible value change event (these are often connected). * * @param blurred * true if the field was blurred */ public void m0(boolean blurred) { if ((client...
3.26
framework_VTextField_updateMaxLength_rdh
/** * This method is responsible for updating the DOM or otherwise ensuring * that the given max length is enforced. Called when the max length for the * field has changed. * * @param maxLength * The new max length */ protected void updateMaxLength(int maxLength) { if (maxLength >= 0) { getElement().setPropert...
3.26
framework_VCalendar_getForwardListener_rdh
/** * Get the listener which listens to forward events from the calendar. * * @return */ public ForwardListener getForwardListener() { return forwardListener; }
3.26
framework_VCalendar_set24HFormat_rdh
/** * Should the 24h time format be used. * * @param format * True if the 24h format should be used else the 12h format is * used */ public void set24HFormat(boolean format) { this.format = format; }
3.26
framework_VCalendar_distributeSize_rdh
/** * Calculates correct size for all cells (size / amount of cells ) and * distributes any overflow over all the cells. * * @param totalSize * the total amount of size reserved for all cells * @param numberOfCells * the number of cells * @param sizeModifier * a modifier which is applied to all cells bef...
3.26
framework_VCalendar_setDisabled_rdh
/** * Is the component disabled. * * @param disabled * True if disabled */ public void setDisabled(boolean disabled) { this.disabled = disabled; ...
3.26
framework_VCalendar_setRangeMoveAllowed_rdh
/** * Is moving a range allowed. * * @param rangeMoveAllowed * Is it allowed */ public void setRangeMoveAllowed(boolean rangeMoveAllowed) { this.rangeMoveAllowed = rangeMoveAllowed; }
3.26
framework_VCalendar_updateWeekGrid_rdh
/** * Re-render the week grid. * * @param daysCount * The amount of days to include in the week * @param days * The days * @param today * Todays date * @param realDayNames * The names of the dates */ @SuppressWarnings("deprecation") public void updateWeekGrid(int daysCount, List<CalendarDay> days, Da...
3.26
framework_VCalendar_updateMonthGrid_rdh
/** * Updates the events in the Month view. * * @param daysCount * How many days there are * @param daysUidl * @param today * Todays date */ @SuppressWarnings("deprecation") public void updateMonthGrid(int daysCount, List<CalendarDay> days, Date today) { int columns = (getLastDayNumber() - m2()) + 1...
3.26
framework_VCalendar_isEventMoveAllowed_rdh
/** * Is moving an event allowed. */ public boolean isEventMoveAllowed() { return eventMoveAllowed; }
3.26
framework_VCalendar_isEventResizeAllowed_rdh
/** * Is resizing an event allowed. */ public boolean isEventResizeAllowed() { return eventResizeAllowed; }
3.26
framework_VCalendar_updateEventsToMonthGrid_rdh
/** * Adds events to the month grid. * * @param events * The events to add * @param drawImmediately * Should the grid be rendered immediately. (currently not in * use) */ public void updateEventsToMonthGrid(Collection<CalendarEvent> events, boolean drawImmediately) { for (CalendarEvent e : sortEvent...
3.26
framework_VCalendar_updateWeekView_rdh
/** * Re-renders the whole week view. * * @param scroll * The amount of pixels to scroll the week view * @param today * Todays date * @param daysInMonth * How man...
3.26
framework_VCalendar_getMonthGrid_rdh
/** * Get the month grid component. * * @return */ public MonthGrid getMonthGrid() { return monthGrid; }
3.26
framework_VCalendar_getDayNames_rdh
/** * Get the names of the week days. */ public String[] getDayNames() { return dayNames;}
3.26
framework_VCalendar_getTimeFormat_rdh
/** * Get the time format used to format time only (excludes date). * * @return */ public DateTimeFormat getTimeFormat() { if (is24HFormat()) { return time24format_date; } return time12format_date; }
3.26
framework_VCalendar_updateMonthView_rdh
/** * Re-renders the whole month view. * * @param firstDayOfWeek * The first day of the week * @param today * Todays date * @param daysInMonth * Amount of days in the month * @param events * The events to render * @param days * The day information */ public void updateMonthView(int firstDayOfWeek...
3.26
framework_VCalendar_setEventResizeAllowed_rdh
/** * Is resizing an event allowed. * * @param eventResizeAllowed * True if allowed false if not */ public void setEventResizeAllowed(boolean eventResizeAllowed) { this.eventResizeAllowed = eventResizeAllowed; }
3.26
framework_VCalendar_setReadOnly_rdh
/** * Is the component read-only. * * @param readOnly * True if component is readonly */ public void setReadOnly(boolean readOnly) { this.readOnly = readOnly; }
3.26
framework_VCalendar_setListener_rdh
/** * Set the listener that listen to mouse events. * * @param mouseEventListener * The listener to use */ public void setListener(MouseEventListener mouseEventListener) { this.mouseEventListener = mouseEventListener; }
3.26
framework_VCalendar_setSortOrder_rdh
/** * Set sort strategy for events. * * @param order * sort order */ public void setSortOrder(EventSortOrder order) { if (order == null) { eventSortOrder = EventSortOrder.DURATION_DESC; } else { eventSortOrder = order;} }
3.26
framework_VCalendar_m1_rdh
/** * Recalculates the widths of the sub-components in the calendar. */ protected void m1() { if (!f1) { nameToolbar.setWidthPX(intWidth); dayToolbar.setWidthPX(intWidth); if (monthGrid != null) { monthGrid.updateCellSizes(intWidth - weekToolbar.getOffsetWidth(), intHeight - n...
3.26
framework_VCalendar_getWeekGrid_rdh
/** * Get he week grid component. * * @return */ public WeekGrid getWeekGrid() { return weekGrid; }
3.26
framework_VCalendar_isDisabledOrReadOnly_rdh
/** * Is the calendar either disabled or readonly. * * @return */ public boolean isDisabledOrReadOnly() { return disabled || readOnly; }
3.26
framework_VCalendar_setMonthNames_rdh
/** * Set the names of the months. * * @param names * The names of the months (January, February,...) */ public void setMonthNames(String[] names) { assert names.length == 12; monthNames = names; }
3.26
framework_VCalendar_getDateTimeFormat_rdh
/** * Get the date and time format to format the dates (includes both date and * time). * * @return */ public DateTimeFormat getDateTimeFormat() { return dateformat_datetime; }
3.26
framework_VCalendar_getWeekClickListener_rdh
/** * Get the listener that listens to user clicking on the week numbers. * * @return */ public WeekClickListener getWeekClickListener() { return weekClickListener; }
3.26
framework_VCalendar_isRangeMoveAllowed_rdh
/** * Is moving a range allowed. * * @return */ public boolean isRangeMoveAllowed() { return rangeMoveAllowed; }
3.26
framework_VCalendar_getDateClickListener_rdh
/** * Gets the listener for listening to event clicks. * * @return */ public DateClickListener getDateClickListener() { return dateClickListener; }
3.26
framework_VCalendar_getMouseEventListener_rdh
/** * Get the listener that listen to mouse events. * * @return */ public MouseEventListener getMouseEventListener() { return mouseEventListener; }
3.26
framework_VCalendar_isRangeSelectAllowed_rdh
/** * Is selecting a range allowed? */ public boolean isRangeSelectAllowed() { return f0; }
3.26
framework_VCalendar_setLastHourOfTheDay_rdh
/** * Set the last hour of the day. * * @param hour * The last hour of the day */ public void setLastHourOfTheDay(int hour) { assert (hour >= 0) && (hour <= 23); lastHour = hour; }
3.26
framework_VCalendar_setFirstHourOfTheDay_rdh
/** * Set the first hour of the day. * * @param hour * The first hour of the day */ public void setFirstHourOfTheDay(int hour) { assert (hour >= 0) && (hour <= 23); firstHour = hour; }
3.26
framework_VCalendar_is24HFormat_rdh
/** * Is the 24h time format used. */ public boolean is24HFormat() { return format; }
3.26
framework_VCalendar_setLastDayNumber_rdh
/** * Set the number when a week ends. * * @param dayNumber * The number of the day */ public void setLastDayNumber(int dayNumber) { assert (dayNumber >= 1) && (dayNumber <= 7); lastDay = dayNumber; }
3.26
framework_VCalendar_setEventMoveAllowed_rdh
/** * Is moving an event allowed. * * @param eventMoveAllowed * True if moving is allowed, false if not */ public void setEventMoveAllowed(boolean eventMoveAllowed) { this.eventMoveAllowed = eventMoveAllowed; }
3.26
framework_VCalendar_setEventCaptionAsHtml_rdh
/** * Sets whether the event captions are rendered as HTML. * <p> * If set to true, the captions are rendered in the browser as HTML and the * developer is ...
3.26
framework_VCalendar_getEventMovedListener_rdh
/** * Get the listener that listens to when event is dragged to a new location. * * @return */ public EventMovedListener getEventMovedListener() { return eventMovedListener; }
3.26
framework_VCalendar_isZeroLengthMidnightEvent_rdh
/** * Is the calendar event zero seconds long and is occurring at midnight. * * @param event * The event to check * @return */ public static boolean isZeroLengthMidnightEvent(CalendarEvent event) { return areDatesEqualToSecond(event.getStartTime(), event.getEndTime()) && isMidnight(event.getEndTime()); }
3.26
framework_VCalendar_sortEvents_rdh
/** * Sort the events by current sort order. * * @param events * The events to sort * @return An array where the events has been sorted */ public CalendarEvent[] sortEvents(Collection<CalendarEvent> events) { if (EventSortOrder.DURATION_DESC.equals(eventSortOrder)) { return sortEventsByDuration(events);...
3.26
framework_VCalendar_removeMonthEvent_rdh
/** * Remove a month event from the view. * * @param target * The event to remove * @param repaintImmediately * Should we repaint after the event was removed? */ public void removeMonthEvent(CalendarEvent target, boolean repaintImmediately) { if ((target != null) && (target.getSlotIndex() >= 0)) { // Rem...
3.26
framework_VCalendar_setRangeSelectAllowed_rdh
/** * Set selecting a range allowed. * * @param rangeSelectAllowed * Should selecting a range be allowed */ public void setRangeSelectAllowed(boolean rangeSelectAllowed) { this.f0 = rangeSelectAllowed; }
3.26
framework_VCalendar_getRangeSelectListener_rdh
/** * Get the listener that listens to the user highlighting a region in the * calendar. * * @return */ public RangeSelectListener getRangeSelectListener() { return rangeSelectListener; }
3.26
framework_VCalendar_getBackwardListener_rdh
/** * Set the listener which listens to backward events from the calendar. * * @return */ public BackwardListener getBackwardListener() { return backwardListener; }
3.26
framework_VCalendar_m2_rdh
/** * Get the number when a week starts. */ public int m2() { return firstDay; }
3.26
framework_VCalendar_updateEventToMonthGrid_rdh
/** * Updates an event in the month grid. * * @param changedEvent * The event that has changed */ public void updateEventToMonthGrid(CalendarEvent changedEvent) { removeMonthEvent(changedEvent, true); changedEvent.setSlotIndex(-1);addEventToMonthGrid(changedEvent, true); }
3.26
framework_VCalendar_areDatesEqualToSecond_rdh
/** * Are the dates equal (uses second resolution). * * @param date1 * The first the to compare * @param date2 * The second date to compare * @return */ @SuppressWarnings("deprecation") public static boolean areDatesEqualToSecond(Date date1, Date date2) { return ((((date1.getYear() == date2.getYear()) &...
3.26
framework_VCalendar_setFirstDayNumber_rdh
/** * Set the number when a week starts. * * @param dayNumber * The number of the day */ public void setFirstDayNumber(int dayNumber) { assert (dayNumber >= 1) && (dayNumber <= 7); firstDay = dayNumber; }
3.26
framework_VCalendar_getEventResizeListener_rdh
/** * Get the listener that listens to when an events time limits are being * adjusted. * * @return */ public EventResizeListener getEventResizeListener() { return eventResizeListener; }
3.26
framework_VCalendar_setDropHandler_rdh
/** * Set the drop handler. * * @param dropHandler * The drophandler to use */ public void setDropHandler(CalendarDropHandler dropHandler) { this.f2 = dropHandler; }
3.26
framework_VCalendar_getScrollListener_rdh
/** * Get the listener that listens to when the calendar widget is scrolled. * * @return */ public ScrollListener getScrollListener() { return scrollListener; }
3.26
framework_ProgressBar_setValue_rdh
/** * Sets the value of this progress bar. The value is a <code>float</code> * between 0 and 1 where 0 represents no progress at all and 1 represents * fully completed. * * @param newValue * the current progress value */ @Override public void setValue(Float newValue) { super.setValue(newValue); }
3.26
framework_ProgressBar_setIndeterminate_rdh
/** * Sets whether or not this progress indicator is indeterminate. In * indeterminate mode there is an animation indicating that the task is * running but without providing any information about the current progress. * * @param indeterminate * <code>true</code> to set to indeterminate mode; otherwise * <cod...
3.26
framework_MarkedAsDirtyConnectorEvent_getUi_rdh
/** * Get the UI for which the connector event was fired * * @return target ui for event */ public UI getUi() { return ui; }
3.26
framework_DetailsManagerConnector_markDetailsAddedOrUpdatedForDelayedAlertToGrid_rdh
/** * Makes sure that after the layout phase has finished Grid will be informed * whether any details rows were added or updated. This delay is needed to * allow the details row(s) to get their final size, and it's possible that * more than one operation that might affect that size or details row * existence will ...
3.26
framework_DetailsManagerConnector_triggerDelayedRepositioning_rdh
/** * Triggers repositioning of the the contents from the first affected row * downwards if any of the rows fall within the visual range. If any other * delayed repositioning has been triggered within this round trip the * affected range is expanded as needed. The processing is delayed to make * sure all updates h...
3.26
framework_DetailsManagerConnector_refreshDetailsVisibilityWithRange_rdh
/** * Refreshes the existence of details components within the given range, and * gives a delayed notice to Grid if any got added or updated. */ private void refreshDetailsVisibilityWithRange(Range rangeToRefresh) { if (!getState().hasDetailsGenerator) { markDetailsAddedOrUpdatedForDelayedAlertToGrid(fal...
3.26
framework_DetailsManagerConnector_getDetailsComponentConnectorId_rdh
/** * Returns the connector id for a details component. * * @param rowIndex * the row index of details component * @return connector id; {@code null} if row or id is not found */ private String getDetailsComponentConnectorId(int rowIndex) { JsonObject row = getWidget().getDataSource().getRow(rowIndex); ...
3.26
framework_OptimizedWidgetsetPanel_update_rdh
/** * Update the panel contents based on the connectors that have been used so * far on this execution of the application. */ public void update() { clear(); HTML h = new HTML("Getting used connectors"); add(h); String s = ""; for (ApplicationConnection ac : ApplicationConfiguration.getRunningApp...
3.26
framework_GridDragSource_addGridDragStartListener_rdh
/** * Attaches dragstart listener for the current drag source grid. * * @param listener * Listener to handle the dragstart event. * @return Handle to be used to remove this listener. * @see GridDragStartEvent */ public Registration addGridDragStartListener(GridDragStartListener<T> listener) { return addLis...
3.26
framework_GridDragSource_getDraggedItems_rdh
/** * Collects the dragged items of a Grid given the list of item keys. */ private List<T> getDraggedItems(Grid<T> grid, List<String> draggedItemKeys) { if ((draggedItemKeys == null) || draggedItemKeys.isEmpty()) { throw new IllegalStateException("The drag event does not contain dragged items"); } ...
3.26
framework_GridDragSource_getGrid_rdh
/** * Gets the grid this extension has been attached to. * * @return the grid for this extension * @since 8.2 */ public Grid<T> getGrid() { return getParent(); }
3.26
framework_GridDragSource_clearDragDataGenerator_rdh
/** * Remove the generator function set for the given type. * * @param type * Type of the generator to be removed. */ public void clearDragDataGenerator(String type) { generatorFunctions.remove(type); }
3.26
framework_GridDragSource_setDragDataGenerator_rdh
/** * Sets a generator function for customizing drag data. The generated value * will be accessible using the same {@code type} as the generator is set * here. The function is executed for each item in the Grid during data * generation. Return a {@link String} to be appended to the row as {@code type} data. * <p> ...
3.26
framework_GridDragSource_generateData_rdh
/** * Drag data generator. Appends drag data to row data json if generator * function(s) are set by the user of this extension. * * @param item * Row item for data generation. * @param jsonObject * Row data in json format. */ @Override public void generateData(Object item, JsonObject jsonObject) { JsonO...
3.26
framework_GridDragSource_addGridDragEndListener_rdh
/** * Attaches dragend listener for the current drag source grid. * * @param listener * Listener to handle the dragend event. * @return Handle to be used to remove this listener. * @see GridDragEndEvent */ public Registration addGridDragEndListener(GridDragEndListener<T> listener) { return addListener(Drag...
3.26
framework_GridDragSource_getDragDataGenerator_rdh
/** * Returns the drag data generator function for the given type. * * @param type * Type of the generated data. * @return Drag data generator function for the given type. */ public SerializableFunction<T, String> getDragDataGenerator(String type) { return generatorFunctions.get(type); }
3.26
framework_TreeGridDragSourceConnector_getState_rdh
/** * Adds HTML5 drag and drop functionality to a TreeGrid's rows. This is the * client side counterpart of {@link TreeGridDragSource}. * * @author Vaadin Ltd * @since 8.1 */ @Connect(TreeGridDragSource.class)public class TreeGridDragSourceConnector extends GridDragSourceConnector { @Override public TreeG...
3.26
framework_Image_addClickListener_rdh
/** * Add a click listener to the component. The listener is called whenever * the user clicks inside the component. Depending on the content the event * may be blocked and in that case no event is fired. * * @see Registration * @param listener * The listener to add, not null * @return a registration object f...
3.26
framework_SettingsView_processPendingView_rdh
// if there is a pending view change, do it now private void processPendingView() { if (pendingViewAndParameters != null) { navigator.navigateTo(pendingViewAndParameters); pendingViewAndParameters = null; } }
3.26
framework_SettingsView_hideOrShowButtons_rdh
// Hide or show buttons depending on whether date is modified or not private void hideOrShowButtons() { apply.setVisible(date.isModified()); cancel.setVisible(date.isModified());}
3.26
framework_ImageRendererConnector_getRenderer_rdh
/** * A connector for {@link ImageRenderer}. * * @since 7.4 * @author Vaadin Ltd */ @Connect(ImageRenderer.class)public class ImageRendererConnector extends ClickableRendererConnector<String> { @Override public ImageRenderer getRenderer() { return ((ImageRenderer) (super.getRenderer())); }
3.26
framework_ApplicationConfiguration_getAtmosphereJSVersion_rdh
/** * Return Atmosphere JS version. * * @since 7.4 * @return Atmosphere JS version. */ public String getAtmosphereJSVersion() { return getJsoConfiguration(id).getAtmosphereJSVersion(); }
3.26
framework_ApplicationConfiguration_startApplication_rdh
/** * Starts the application with a given id by reading the configuration * options stored by the bootstrap javascript. * * @param applicationId * id of the application to load, this is also the id of the html * element into which the application should be rendered. */ public static void startApplication(fin...
3.26
framework_ApplicationConfiguration_getTagsForServerSideClassName_rdh
/** * Returns all tags for given class. Tags are used in * {@link ApplicationConfiguration} to keep track of different classes and * their hierarchy * * @since 7.2 * @param classname * name of class which tags we want * @return Integer array of tags pointing to this classname */ public Integer[] getTagsForSe...
3.26
framework_ApplicationConfiguration_getUIDL_rdh
/** * Gets the initial UIDL from the DOM, if it was provided during the init * process. * * @return */ public String getUIDL() { return getJsoConfiguration(id).getUIDL(); }
3.26
framework_ApplicationConfiguration_isWidgetsetVersionSent_rdh
/** * Checks whether the widget set version has been sent to the server. It is * sent in the first UIDL request. * * @return <code>true</code> if browser information has already been sent */ public boolean isWidgetsetVersionSent() { return widgetsetVersionSent; }
3.26
framework_ApplicationConfiguration_setWidgetsetVersionSent_rdh
/** * Registers that the widget set version has been sent to the server. */public void setWidgetsetVersionSent() { widgetsetVersionSent = true; }
3.26
framework_ApplicationConfiguration_getServiceUrl_rdh
/** * Gets the URL to the server-side VaadinService. If * {@link #useServiceUrlPathParam()} return <code>true</code>, the requested * path info should be in the <code>v-resourcePath</code> query parameter; * else the path info should be appended to the end of the URL. * * @see #useServiceUrlPathParam() * @return...
3.26
framework_ApplicationConfiguration_getServiceUrlParameterName_rdh
/** * Return the name of the parameter used to to send data to the service url. * This method should only be called if {@link #useServiceUrlPathParam()} is * true. * * @since 7.1.6 * @return The parameter name, by default <code>v-resourcePath</code> */ public String getServiceUrlParameterName() { return getJsoCo...
3.26
framework_ApplicationConfiguration_getFrontendUrl_rdh
/** * Gets the URL of the that the {@literal frontend://} protocol should * resolve to. * * @return the URL of the frontend protocol * @since 8.1 */public String getFrontendUrl() { return frontendUrl; }
3.26