public class EditUSBDeviceActivity extends EditActivity
EditUSBDeviceActivity handles the swapping and fixing of USB device configurationsEditActivity.ConfigurationTypeAndDisplayName, EditActivity.DisplayNameAndInteger, EditActivity.DisplayNameAndRequestCode, EditActivity.SetNameTextWatcher| Modifier and Type | Field and Description |
|---|---|
protected ScannedDevices |
extraUSBDevices |
appUtil, configurationUtility, context, controllerConfiguration, currentCfgFile, extantRobotConfigurations, haveRobotConfigMapParameter, idAddButton, idFixButton, idSwapButton, remoteConfigure, robotConfigFileManager, robotConfigMap, scannedDevices, spinnerListener, TAG, utility| Constructor and Description |
|---|
EditUSBDeviceActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
completeSwapConfiguration(int requestCodeValue,
int resultCode,
Intent data) |
protected void |
deserialize(EditParameters parameters) |
protected void |
determineExtraUSBDevices() |
protected void |
fixConfiguration() |
protected SerialNumber |
getFixableCandidate() |
java.lang.String |
getTag() |
protected boolean |
isFixable() |
protected boolean |
isSwappable() |
protected void |
refreshAfterFix() |
protected void |
refreshAfterSwap() |
protected void |
refreshSerialNumber() |
protected void |
showButton(int id,
boolean show) |
protected void |
showFixButton(boolean show) |
protected void |
showFixSwapButtons() |
protected void |
showSwapButton(boolean show) |
protected void |
swapConfiguration() |
changeDevice, clearDevice, clearNameIfNecessary, deserializeConfigMap, disabledDeviceName, displayNameOfConfigurationType, findPosition, findPosition, finishCancel, finishOk, finishOk, finishOk, formatSerialNumber, getDefaultEnabledSelection, getRobotConfigMap, handleCommandNotifyActiveConfig, handleLaunchEdit, handleLaunchEdit, handleLaunchEdit, handleSpinner, handleSpinner, localizeConfigTypeSpinner, localizeConfigTypeSpinnerStrings, localizeConfigTypeSpinnerTypes, logActivityResult, logBackPressed, nameOf, nameOf, onBackPressed, onCreate, onStart, sendOrInjectprotected ScannedDevices extraUSBDevices
public java.lang.String getTag()
getTag in class EditActivityprotected void deserialize(EditParameters parameters)
deserialize in class EditActivityprotected void swapConfiguration()
protected boolean completeSwapConfiguration(int requestCodeValue,
int resultCode,
Intent data)
protected void fixConfiguration()
protected SerialNumber getFixableCandidate()
protected boolean isFixable()
protected boolean isSwappable()
protected void refreshSerialNumber()
protected void refreshAfterFix()
protected void refreshAfterSwap()
protected void showFixSwapButtons()
protected void showFixButton(boolean show)
protected void showSwapButton(boolean show)
protected void showButton(int id,
boolean show)
protected void determineExtraUSBDevices()