public class EffectBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Source |
mSource |
protected int |
resId |
protected int |
viewId |
Constructor and Description |
---|
EffectBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkIsInvalid() |
void |
copy(EffectBase base)
Gets a copy of the parameters of an object.
|
java.lang.String |
getPath()
Deprecated.
Replaced by
getSource() . |
int |
getResId()
Gets the id of a resource.
|
Source |
getSource()
Gets the file of a resource.
|
int |
getViewId()
Gets the id of an effect.
|
protected java.lang.String |
readString(java.lang.String path) |
void |
setPath(java.lang.String path)
Deprecated.
Replaced by
setSource(Source) . |
void |
setResId(int id)
Deprecated.
|
void |
setSource(Source source)
Sets the file of a resource.
|
void |
setViewId(int id)
Sets the id of an effect.
|
java.lang.String |
toString() |
public int getResId()
@Deprecated public void setResId(int id)
public int getViewId()
public void setViewId(int id)
id
- It is not recommended to call this method.@Deprecated public java.lang.String getPath()
getSource()
.@Deprecated public void setPath(java.lang.String path)
setSource(Source)
.path
- public Source getSource()
public void setSource(Source source)
source
- Sourceprotected java.lang.String readString(java.lang.String path)
public void copy(EffectBase base)
public boolean checkIsInvalid()
public java.lang.String toString()
toString
in class java.lang.Object