public interface UIPickerViewDelegate
| Modifier and Type | Method and Description |
|---|---|
default NSAttributedString |
pickerViewAttributedTitleForRowForComponent(UIPickerView pickerView,
long row,
long component)
attributed title is favored if both methods are implemented
|
default void |
pickerViewDidSelectRowInComponent(UIPickerView pickerView,
long row,
long component) |
default double |
pickerViewRowHeightForComponent(UIPickerView pickerView,
long component) |
default java.lang.String |
pickerViewTitleForRowForComponent(UIPickerView pickerView,
long row,
long component)
these methods return either a plain NSString, a NSAttributedString, or a view (e.g UILabel) to display the row for the component.
|
default UIView |
pickerViewViewForRowForComponentReusingView(UIPickerView pickerView,
long row,
long component,
UIView view) |
default double |
pickerViewWidthForComponent(UIPickerView pickerView,
long component)
returns width of column and height of row for each component.
|
default NSAttributedString pickerViewAttributedTitleForRowForComponent(UIPickerView pickerView, long row, long component)
default void pickerViewDidSelectRowInComponent(UIPickerView pickerView, long row, long component)
default double pickerViewRowHeightForComponent(UIPickerView pickerView, long component)
default java.lang.String pickerViewTitleForRowForComponent(UIPickerView pickerView, long row, long component)
default UIView pickerViewViewForRowForComponentReusingView(UIPickerView pickerView, long row, long component, UIView view)
default double pickerViewWidthForComponent(UIPickerView pickerView, long component)