Class EditTextControl
java.lang.Object
soot.jimple.infoflow.resources.controls.LayoutControl
soot.jimple.infoflow.android.resources.controls.AndroidLayoutControl
soot.jimple.infoflow.android.resources.controls.EditTextControl
EditText control in Android
- Author:
- Steven Arzt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ISourceSinkDefinitionprotected static final ISourceSinkDefinitionFields inherited from class soot.jimple.infoflow.android.resources.controls.AndroidLayoutControl
clickListener, id, viewClass -
Constructor Summary
ConstructorsConstructorDescriptionEditTextControl(int id, soot.SootClass viewClass) EditTextControl(int id, soot.SootClass viewClass, Map<String, Object> additionalAttributes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGets the type of this input (text, password, etc.)getText()Gets the text of this edit controlprotected voidhandleAttribute(AXmlAttribute<?> attribute, boolean loadOptionalData) inthashCode()booleanbooleansatisfiesInputType(int... type) Returns true if the input satiesfies all specified typesMethods inherited from class soot.jimple.infoflow.android.resources.controls.AndroidLayoutControl
addAdditionalAttribute, getAdditionalAttributes, getClickListener, getID, getViewClass, isActionListener, toString
-
Field Details
-
UI_PASSWORD_SOURCE_DEF
-
UI_ELEMENT_SOURCE_DEF
-
-
Constructor Details
-
EditTextControl
public EditTextControl(int id, soot.SootClass viewClass) -
EditTextControl
-
-
Method Details
-
getInputType
public int getInputType()Gets the type of this input (text, password, etc.)- Returns:
- The input type
-
satisfiesInputType
public boolean satisfiesInputType(int... type) Returns true if the input satiesfies all specified types- Parameters:
type- the types to check- See Also:
-
getText
Gets the text of this edit control- Returns:
- The text of this edit control
-
handleAttribute
-
isSensitive
public boolean isSensitive()- Overrides:
isSensitivein classLayoutControl
-
getSourceDefinition
- Specified by:
getSourceDefinitionin classLayoutControl
-
hashCode
public int hashCode()- Overrides:
hashCodein classAndroidLayoutControl
-
equals
- Overrides:
equalsin classAndroidLayoutControl
-