Class EditTextControl


public class EditTextControl extends AndroidLayoutControl
EditText control in Android
Author:
Steven Arzt
  • Field Details

  • Constructor Details

    • EditTextControl

      public EditTextControl(int id, soot.SootClass viewClass)
    • EditTextControl

      public EditTextControl(int id, soot.SootClass viewClass, Map<String,Object> additionalAttributes)
  • 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

      public String getText()
      Gets the text of this edit control
      Returns:
      The text of this edit control
    • handleAttribute

      protected void handleAttribute(AXmlAttribute<?> attribute, boolean loadOptionalData)
    • isSensitive

      public boolean isSensitive()
      Overrides:
      isSensitive in class LayoutControl
    • getSourceDefinition

      public ISourceSinkDefinition getSourceDefinition()
      Specified by:
      getSourceDefinition in class LayoutControl
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AndroidLayoutControl
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AndroidLayoutControl