Resets the ui information to the default data for the widget.
321725
def reset( self ):
        
        if not self.plugin():
            return False
        
        self.plugin().reset()
        self.refreshUi()
        
        return True
197794
public void resetData() {
		ComponentModel sharedModel = getSharedModel();

		if (sharedModel instanceof DataBoundComponentModel) {
			Object sharedData = ((DataBoundComponentModel) sharedModel).getData();
			setData(copyData(sharedData));

			// clear the user data flag
			setFlags(getFlags() & ~USER_DATA_SET);
		}
	}
1107432
protected void reset() {
	done.set(false);
	performing.set(false);
	cancelled.set(false);
	estimated.set(0L);
    }
40795
private function reset(): void
    {
        $this->value = 0;
        $this->color = null;
        $this->striped = false;
        $this->animate = false;
        $this->label = null;
    }
808468
public void reset() {
		this.errorType = ErrorType.NONE;
		this.message = null;
		this.columnName = null;
		this.columnValue = null;
		this.columnType = null;
		this.line = null;
		this.lineNumber = 0;
		this.linePos = 0;
	}
1053671
public function reset()
    {
        $this->selectString = null;
        $this->fromString = null;
        $this->whereString = null;
        $this->groupString = null;
        $this->havingString = null;
        $this->orderString = null;
        $this->limitString = null;
        $this->lastInvokedClauseMethod = null;

        $this->boundCounter = 0;
        $this->boundValues = array();
    }
57892
public final function reset(): void
    {
        // reset data
        $this->data = [];
        // reset properties
        $this->ids = [];
        $this->rowsCount = 0;
        $this->rowsAffected = 0;
    }
360192
def reset_table_widget(t, rowCount, colCount):
    """"""
    t.reset()
    t.horizontalHeader().reset()
    t.clear()
    t.sortItems(-1)
    t.setRowCount(rowCount)
    t.setColumnCount(colCount)
618788
def reset(self):
        
        # Ensure that the widgets are using the right values.
        self.update_widgets()

        # Reset all the widgets.
        for column in self._columns:
            for widget in column:
                widget.reset()
                widget.blur()

        # Find the focus for the first widget
        self._live_widget = -1
        self._find_next_widget(1)
875055
def reset(self):
        """"""
        self.idx_annotations.setText('Load Annotation File...')
        self.idx_rater.setText('')

        self.annot = None
        self.dataset_markers = None

        # remove dataset marker
        self.idx_marker.clearContents()
        self.idx_marker.setRowCount(0)

        # remove summary statistics
        w1 = self.idx_summary.takeAt(1).widget()
        w2 = self.idx_summary.takeAt(1).widget()
        self.idx_summary.removeWidget(w1)
        self.idx_summary.removeWidget(w2)
        w1.deleteLater()
        w2.deleteLater()
        b1 = QGroupBox('Staging')
        b2 = QGroupBox('Signal quality')
        self.idx_summary.addWidget(b1)
        self.idx_summary.addWidget(b2)

        # remove annotations
        self.display_eventtype()
        self.update_annotations()

        self.parent.create_menubar()
76608
public void reset() {
        base.reset();
        graphics.projection.reset();
        baseGrid.setBase(base);

        if (graphics.projection instanceof Projection3D) {
            ((Projection3D) graphics.projection).setDefaultView();
        }

        canvas.repaint();    
    }
301412
@SuppressWarnings("unused")
	private void reset() {
		this.version = 0;
		this.versionSeen = false;
		this.accession = null;
		this.description = null;
		this.identifier = null;
		this.name = null;
		this.comments.clear();
	}
201801
private function reset(): void
    {
        $this->content = null;
        $this->lg_size = null;
        $this->md_size = null;
        $this->sm_size = null;
        $this->xl_size = null;
        $this->xs_size = null;
    }
881328
public void reset()
  {
    m_flushedStartDoc = false;
    m_foundFirstElement = false;
    m_outputStream = null;
    clearParameters();
    m_result = null;
    m_resultContentHandler = null;
    m_resultDeclHandler = null;
    m_resultDTDHandler = null;
    m_resultLexicalHandler = null;
    m_serializer = null;
    m_systemID = null;
    m_URIResolver = null;
    m_outputFormat = new OutputProperties(Method.XML);
  }
366453
private void resetSettings(FeedbackPanel feedbackPanel, Component component, Widget widget, AjaxRequestTarget target) {
		// on reset settings we must delete UserWidgetParameters if any
		try {
			UserWidgetParameters wp = dashboardService.getUserWidgetParameters(widget.getId());			
			if (wp != null) {				
				storageService.removeEntityById(wp.getId());	
				dashboardService.resetCache(widget.getId());
				final WidgetPanel widgetPanel = component.findParent(WidgetPanel.class);
				ModalWindow.closeCurrent(target);
				//target.add(widgetPanel);
				// ChartRendererPanel uses container.replace("chart")
				// we should add widgetView again instead of a simple target.add(widgetPanel), otherwise we will see two refreshes
				widgetPanel.refresh(target);	
				return;
			}
		} catch (NotFoundException ex) {
			// should not happen
			Log.error(ex.getMessage(),  ex);
		}
		if ((widget instanceof DrillDownWidget)	&& (((DrillDownWidget) widget).getEntity() instanceof Chart)) {
			final WidgetPanel widgetPanel = component.findParent(WidgetPanel.class);
			ChartUtil.updateWidget(widget, ChartUtil.getRuntimeModel(storageService.getSettings(), (EntityWidget) widget,
					reportService, dataSourceService, false));
			try {				
				if (component.findParent(DashboardPanel.class) == null) {				
					errorRefresh();
					target.add(feedbackPanel);
					return;
				} else {
					ModalWindow.closeCurrent(target);
				}								
				dashboardService.modifyWidget(getDashboardId(widget.getId()), widget);
			} catch (NotFoundException e) {
				// never happening
			}
			widgetPanel.refresh(target);
		} else if (widget instanceof ChartWidget) {
			final WidgetPanel widgetPanel = component.findParent(WidgetPanel.class);			
			if (component.findParent(DashboardPanel.class) == null) {				
				errorRefresh();
				target.add(feedbackPanel);
				return;
			} else {
				ModalWindow.closeCurrent(target);
			}
			ChartUtil.updateWidget(widget, ChartUtil.getDefaultRuntimeModel(storageService.getSettings(), (ChartWidget) widget,
					reportService, dataSourceService));
			try {				
				dashboardService.modifyWidget(getDashboardId(widget.getId()), widget);
			} catch (NotFoundException e) {
				// never happening
			}
			//target.add(widgetPanel);
			// ChartRendererPanel uses container.replace("chart")
			// we should add widgetView again instead of a simple target.add(widgetPanel), otherwise we will see two refreshes
			widgetPanel.refresh(target);	
		}		
	}
507506
private function reset(): void
    {
        $this->classes = ['card' => [], 'body' => [], 'header' => [], 'footer' => []];
        $this->attr = ['card' => [], 'body' => [], 'header' => [], 'footer' => []];

        $this->body_classes = ['title' => [], 'subtitle' => [], 'text' => [], 'link' => []];
        $this->body_attr = ['title' => [], 'subtitle' => [], 'text' => [], 'link' => []];

        $this->body_classes_first = [];
        $this->body_attr_first = [];

        $this->body = null;
        $this->body_sections = [];
        $this->header = null;
        $this->footer = null;
    }
585746
public function reset()
    {
        $this->values[self::INDEX] = null;
        $this->values[self::KEY] = null;
    }