valueFromName static method

PrinterSettingItem valueFromName(
  1. String name
)

Implementation

static PrinterSettingItem valueFromName(String name) {
  for (int i = 0; i < _values.length; ++i) {
    PrinterSettingItem num = _values[i];
    if (num.getName() == name) {
      return num;
    }
  }
  return UNSUPPORTED;
}