AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.util.PropertyUtil Class Reference

Static Public Member Functions

static Component copyComponentProperties (Component source, Component target) throws Throwable
 

Detailed Description

Utilities for copying properties between different instances of the same component.

Author
markf.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Mark Friedman)

Definition at line 20 of file PropertyUtil.java.

Member Function Documentation

◆ copyComponentProperties()

static Component com.google.appinventor.components.runtime.util.PropertyUtil.copyComponentProperties ( Component  source,
Component  target 
) throws Throwable
static

Copy properties from one component to another of the same class.

Parameters
sourcethe source component
targetthe target component
Returns
the target component (for convenience in chaining)
Exceptions
Throwable

Definition at line 29 of file PropertyUtil.java.


The documentation for this class was generated from the following file: