API  0.9.10
CPComboBox.j File Reference

Go to the source code of this file.

Classes

protocol  <CPComboBoxDataSource >
 
protocol  <CPComboBoxDelegate >
 

Variables

var CPComboBoxButtonBorderedKey = @"@"CPComboBoxButtonBorderedKey"
 
var CPComboBoxButtonSubview = @"@"button"
 
var CPComboBoxCompletesKey = @"@"CPComboBoxCompletesKey"
 
var CPComboBoxCompletionTest
 
var CPComboBoxDataSourceKey = @"@"CPComboBoxDataSourceKey"
 
var CPComboBoxDefaultNumberOfVisibleItems = 5
 
var CPComboBoxDelegate_comboBoxSelectionDidChange_ = 1 << 1
 
var CPComboBoxDelegate_comboBoxSelectionIsChanging_ = 1 << 0
 
var CPComboBoxDelegate_comboBoxWillDismiss_ = 1 << 3
 
var CPComboBoxDelegate_comboBoxWillPopUp_ = 1 << 2
 
var CPComboBoxDelegateKey = @"@"CPComboBoxDelegateKey"
 
var CPComboBoxFocusRingWidth = -1
 
var CPComboBoxHasVerticalScrollerKey = @"@"CPComboBoxHasVerticalScrollerKey"
 
var CPComboBoxItemsKey = @"@"CPComboBoxItemsKey"
 
var CPComboBoxListKey = @"@"CPComboBoxListKey"
 
var CPComboBoxNumberOfVisibleItemsKey = @"@"CPComboBoxNumberOfVisibleItemsKey"
 
 CPComboBoxSelectionDidChangeNotification = @"@"CPComboBoxSelectionDidChangeNotification"
 
 CPComboBoxSelectionIsChangingNotification = @"@"CPComboBoxSelectionIsChangingNotification"
 
 CPComboBoxStateButtonBordered = CPThemeState("button-bordered")
 
var CPComboBoxTextSubview = @"@"text"
 
var CPComboBoxUsesDataSourceKey = @"@"CPComboBoxUsesDataSourceKey"
 
 CPComboBoxWillDismissNotification = @"@"CPComboBoxWillDismissNotification"
 
 CPComboBoxWillPopUpNotification = @"@"CPComboBoxWillPopUpNotification"
 

Variable Documentation

◆ CPComboBoxButtonBorderedKey

var CPComboBoxButtonBorderedKey = @"@"CPComboBoxButtonBorderedKey"

Definition at line 1160 of file CPComboBox.j.

◆ CPComboBoxButtonSubview

var CPComboBoxButtonSubview = @"@"button"

Definition at line 59 of file CPComboBox.j.

◆ CPComboBoxCompletesKey

var CPComboBoxCompletesKey = @"@"CPComboBoxCompletesKey"

Definition at line 1157 of file CPComboBox.j.

◆ CPComboBoxCompletionTest

var CPComboBoxCompletionTest
Initial value:
= function(object, index, context)
{
return object.toString().indexOf(context) === 0;
}

Definition at line 1204 of file CPComboBox.j.

◆ CPComboBoxDataSourceKey

var CPComboBoxDataSourceKey = @"@"CPComboBoxDataSourceKey"

Definition at line 1155 of file CPComboBox.j.

◆ CPComboBoxDefaultNumberOfVisibleItems

var CPComboBoxDefaultNumberOfVisibleItems = 5

Definition at line 60 of file CPComboBox.j.

◆ CPComboBoxDelegate_comboBoxSelectionDidChange_

var CPComboBoxDelegate_comboBoxSelectionDidChange_ = 1 << 1

Definition at line 54 of file CPComboBox.j.

◆ CPComboBoxDelegate_comboBoxSelectionIsChanging_

var CPComboBoxDelegate_comboBoxSelectionIsChanging_ = 1 << 0

Definition at line 53 of file CPComboBox.j.

◆ CPComboBoxDelegate_comboBoxWillDismiss_

var CPComboBoxDelegate_comboBoxWillDismiss_ = 1 << 3

Definition at line 56 of file CPComboBox.j.

◆ CPComboBoxDelegate_comboBoxWillPopUp_

var CPComboBoxDelegate_comboBoxWillPopUp_ = 1 << 2

Definition at line 55 of file CPComboBox.j.

◆ CPComboBoxDelegateKey

var CPComboBoxDelegateKey = @"@"CPComboBoxDelegateKey"

Definition at line 1154 of file CPComboBox.j.

◆ CPComboBoxFocusRingWidth

var CPComboBoxFocusRingWidth = -1

Definition at line 61 of file CPComboBox.j.

◆ CPComboBoxHasVerticalScrollerKey

var CPComboBoxHasVerticalScrollerKey = @"@"CPComboBoxHasVerticalScrollerKey"

Definition at line 1159 of file CPComboBox.j.

◆ CPComboBoxItemsKey

var CPComboBoxItemsKey = @"@"CPComboBoxItemsKey"

Definition at line 1152 of file CPComboBox.j.

◆ CPComboBoxListKey

var CPComboBoxListKey = @"@"CPComboBoxListKey"

Definition at line 1153 of file CPComboBox.j.

◆ CPComboBoxNumberOfVisibleItemsKey

var CPComboBoxNumberOfVisibleItemsKey = @"@"CPComboBoxNumberOfVisibleItemsKey"

Definition at line 1158 of file CPComboBox.j.

◆ CPComboBoxSelectionDidChangeNotification

CPComboBoxSelectionDidChangeNotification = @"@"CPComboBoxSelectionDidChangeNotification"

Definition at line 46 of file CPComboBox.j.

◆ CPComboBoxSelectionIsChangingNotification

CPComboBoxSelectionIsChangingNotification = @"@"CPComboBoxSelectionIsChangingNotification"

Definition at line 47 of file CPComboBox.j.

◆ CPComboBoxStateButtonBordered

CPComboBoxStateButtonBordered = CPThemeState("button-bordered")

Definition at line 51 of file CPComboBox.j.

◆ CPComboBoxTextSubview

var CPComboBoxTextSubview = @"@"text"

Definition at line 58 of file CPComboBox.j.

◆ CPComboBoxUsesDataSourceKey

var CPComboBoxUsesDataSourceKey = @"@"CPComboBoxUsesDataSourceKey"

Definition at line 1156 of file CPComboBox.j.

◆ CPComboBoxWillDismissNotification

CPComboBoxWillDismissNotification = @"@"CPComboBoxWillDismissNotification"

Definition at line 48 of file CPComboBox.j.

◆ CPComboBoxWillPopUpNotification

CPComboBoxWillPopUpNotification = @"@"CPComboBoxWillPopUpNotification"

Definition at line 49 of file CPComboBox.j.