Equivalent to calling TextView.setText

@param cacheView The cache of views to get the view from
@param viewId    The id of the view whose text should change
@param resid     The new text for the view
767577
public static void setText(EfficientCacheView cacheView, int viewId, @StringRes int resid) {
        View view = cacheView.findViewByIdEfficient(viewId);
        if (view instanceof TextView) {
            ((TextView) view).setText(resid);
        }
    }
456776
def setZoom(self, viewID, zoom):
        
        self._connection._sendDoubleCmd(
            tc.CMD_SET_GUI_VARIABLE, tc.VAR_VIEW_ZOOM, viewID, zoom)
1029682
public void setText(String text) {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
      if ((text == null) || text.length() < 257) {
        SibTr.entry(this, tc, "setText", text);
      }
      else {
        SibTr.entry(this, tc, "setText", new Object[]{text.length(), text.substring(0,200)+"..."});
      }
    }

    // If the payload is changing, we need to clear all the cached values.
    softRefToDocument = null;
    clearCachedLengths();

    // Set the payload data
    getPayload().setField(JmsTextBodyAccess.BODY_DATA_VALUE, text);

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "setText");
  }
707051
@Override
    protected void setProperty(final String _name,
                               final String _value)
        throws CacheReloadException
    {
        if ("Align".equals(_name)) {
            this.align = _value;
        } else if ("UIProvider".equals(_name) || "ClassNameUI".equals(_name)) {
            try {
                this.uiProvider  = (IUIProvider) Class.forName(_value).newInstance();
            } catch (final ClassNotFoundException e) {
                throw new CacheReloadException("could not found class '" + _value + "' for '" + getName() + "'", e);
            } catch (final InstantiationException e) {
                throw new CacheReloadException("could not instantiate class '" + _value + "' for '" + getName() + "'",
                                e);
            } catch (final IllegalAccessException e) {
                throw new CacheReloadException("could not access class '" + _value + "' for '" + getName() + "'", e);
            }
        } else if ("Columns".equals(_name)) {
            this.cols = Integer.parseInt(_value);
        } else if ("Classification".equals(_name)) {
            this.classificationName = _value;
        } else if ("CreateValue".equals(_name)) {
            this.createValue = _value;
        } else if ("SelectAlternateOID".equals(_name)) {
            this.selectAlternateOID = _value;
        } else if ("Select".equals(_name)) {
            this.select = _value;
        } else if ("Attribute".equals(_name)) {
            this.attribute = _value;
        } else if ("Phrase".equals(_name)) {
            this.phrase = _value;
        } else if ("MsgPhrase".equals(_name)) {
            this.msgPhrase = _value;
        } else if ("SortAble".equals(_name)) {
            this.sortAble = !"false".equals(_value);
        } else if ("FilterBase".equals(_name)) {
            this.filter.evalBase(_value);
        } else if ("FilterDefault".equals(_name)) {
            this.filter.setDefaultValue(_value.trim());
        } else if ("FilterType".equals(_name)) {
            this.filter.evalType(_value);
        } else if ("FilterRequired".equals(_name)) {
            this.filter.setRequired("TRUE".equalsIgnoreCase(_value));
        } else if ("FilterAttributes".equals(_name)) {
            this.filter.setAttributes(_value);
        } else if ("HideLabel".equals(_name)) {
            this.hideLabel = "true".equals(_value);
        } else if ("HRef".equals(_name)) {
            this.reference = _value;
        } else if ("Icon".equals(_name)) {
            this.icon = _value;
        } else if ("Label".equals(_name)) {
            this.label = _value;
        } else if ("ModeConnect".equals(_name)) {
            this.mode2display.put(TargetMode.CONNECT, Field.Display.valueOf(_value.toUpperCase()));
        } else if ("ModeCreate".equals(_name)) {
            this.mode2display.put(TargetMode.CREATE, Field.Display.valueOf(_value.toUpperCase()));
        } else if ("ModeEdit".equals(_name)) {
            this.mode2display.put(TargetMode.EDIT, Field.Display.valueOf(_value.toUpperCase()));
        } else if ("ModePrint".equals(_name)) {
            this.mode2display.put(TargetMode.PRINT, Field.Display.valueOf(_value.toUpperCase()));
        } else if ("ModeSearch".equals(_name)) {
            this.mode2display.put(TargetMode.SEARCH, Field.Display.valueOf(_value.toUpperCase()));
        } else if ("ModeView".equals(_name)) {
            this.mode2display.put(TargetMode.VIEW, Field.Display.valueOf(_value.toUpperCase()));
        } else if ("Required".equals(_name)) {
            this.required = "true".equalsIgnoreCase(_value);
        } else if ("Rows".equals(_name)) {
            this.rows = Integer.parseInt(_value);
        } else if ("RowSpan".equals(_name)) {
            this.rowSpan = Integer.parseInt(_value);
        } else if ("ShowTypeIcon".equals(_name)) {
            this.showTypeIcon = "true".equalsIgnoreCase(_value);
        } else if ("ShowNumbering".equals(_name)) {
            this.showNumbering = "true".equalsIgnoreCase(_value);
        } else if ("Target".equals(_name)) {
            if ("content".equals(_value)) {
                this.target = Target.CONTENT;
            } else if ("hidden".equals(_value)) {
                this.target = Target.HIDDEN;
            } else if ("popup".equals(_value)) {
                this.target = Target.POPUP;
            }
        }
        super.setProperty(_name, _value);
    }
1123347
public void setCache(String cacheName, String cacheKey, Object object) {
        Cache cache = cacheManager.getCache(cacheName);
        if (cache == null) {
            return;
        }
        cache.put(new Element(cacheKey, object));
    }
461050
public static void apply(View parent, int viewId, Face type){
        TextView text = (TextView) parent.findViewById(viewId);
        if(text != null)
            apply(text, type);
    }
988308
public static void appendText(TextView view, String toAppend) {
        String currentText = getText(view);
        view.setText(currentText + toAppend);
    }
433317
public static void setTextSize(EfficientCacheView cacheView, int viewId, float size) {
        View view = cacheView.findViewByIdEfficient(viewId);
        if (view instanceof TextView) {
            ((TextView) view).setTextSize(size);
        }
    }
171937
public void put(Id id, Object value, Mode mode) {
        if (Mode.WRITE.equals(mode)) {
            writeCache.put(id, value);
        }
        readCache.put(new CacheKey(id), value);
    }
1361929
public void setContentView(View view) {
        this.mContentView = view;
        ViewGroup.LayoutParams params = view.getLayoutParams();
        if (params == null) {
            params = new ViewGroup.LayoutParams(-1, -2);
        } else {
            params.width = -1;
            params.height = -2;
        }
        this.mContentView.setLayoutParams(params);
    }
102903
public void viewChange(View view) {
        if(view == null)
            return;

        // SiteAddresses are not checked as they might be in a different cluster
        if(!(target instanceof SiteAddress) && !view.containsMember(target) && !isDone()) {
            completeExceptionally(new SuspectedException(target));
            corrDone();
        }
    }
760306
public void setTextWithoutAnimation(int resid, TextView.BufferType type) {
        mSkipAnimation = true;
        mEditText.setText(resid, type);
    }
394995
function cacheQueryResult (cached) {
    // decode result if not null
    if (cached !== null) {
        try {
            // decode JSON
            this.cached = JSON.parse(cached)
            // add cached view flag
            this.cached._cachedView = true
        }
        catch (err) {
            // ignore errors
        }
    }
    // return cached result or load
    return defined(this.cached) ? this.cached : this.loadUncached()
}
1236253
public void addTintTransformationResourceId(int resId) {
        if (mCustomTransformationDrawableIds == null)
            mCustomTransformationDrawableIds = new ArrayList<Integer>();
        mCustomTransformationDrawableIds.add(resId);
    }
349745
public static void setVisibility(EfficientCacheView cacheView, int viewId, int visibility) {
        View view = cacheView.findViewByIdEfficient(viewId);
        if (view != null) {
            view.setVisibility(visibility);
        }
    }
208119
public final void setTextKeepState (CharSequence text, TextView.BufferType type){
		mInputView.setTextKeepState(text, type);
	}
245890
@Override
    public View newView(Context context, Cursor cursor, ViewGroup parent) {
        View v = super.newView(context, cursor, parent);
        v.setTag(new ChildViewCache(v));
        return v;
    }