enamlnative.android package¶
Submodules¶
enamlnative.android.android_activity module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 24, 2017
@author: jrm
-
class
enamlnative.android.android_activity.
Activity
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_content.Context
Access to the activity over the bridge
-
__nativeclass__
¶ As long as the user subclasses the EnamlActivity everything in this class will work
-
__id__
¶ ID of -1 is a special reference on the bridge to the activity.
-
startTrace
¶ Tracing methods
-
stopTrace
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
resetBridgeStats
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
resetBridgeCache
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
showLoading
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setActionBar
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSupportActionBar
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setContentView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getWindow
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getSupportFragmentManager
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getBuildInfo
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
checkSelfPermission
¶ Permissions
-
requestPermissions
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onRequestPermissionsResult
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setPermissionResultListener
¶ Method added so we can listen externally
-
PERMISSION_GRANTED
= 0¶
-
PERMISSION_DENIED
= -1¶
-
addActivityResultListener
¶ Activity results
-
removeActivityResultListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onActivityResult
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
addActivityLifecycleListener
¶ Activity lifecycle listener
-
removeActivityLifecycleListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onActivityLifecycleChanged
¶ Called with the lifecycle state like ‘pause’, ‘resume’, etc…
-
addBackPressedListener
¶ Back pressed listener
-
removeBackPressedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onBackPressed
¶ Called with the lifecycle state like ‘pause’, ‘resume’, etc…
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6a964f50>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a922050>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addActivityLifecycleListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9202c0>, 'addActivityResultListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920050>, 'addBackPressedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920530>, 'checkSelfPermission': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91cc80>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getBuildInfo': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91cbb0>, 'getSupportFragmentManager': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91cae0>, 'getSystemService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c1f0>, 'getWindow': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91ca10>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onActivityLifecycleChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a920460>, 'onActivityResult': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9201f0>, 'onBackPressed': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9206d0>, 'onRequestPermissionsResult': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a91ce20>, 'registerReceiver': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910bb0>, 'removeActivityLifecycleListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920390>, 'removeActivityResultListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920120>, 'removeBackPressedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920600>, 'requestPermissions': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91cd50>, 'resetBridgeCache': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c530>, 'resetBridgeStats': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c460>, 'sendBroadcast': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910c80>, 'setActionBar': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c7a0>, 'setContentView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c940>, 'setPermissionResultListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91cef0>, 'setSupportActionBar': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c870>, 'setView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c600>, 'showLoading': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c6d0>, 'startService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910e20>, 'startTrace': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4d50>, 'stopService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910ef0>, 'stopTrace': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c050>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'unbindService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c120>, 'unregisterReceiver': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910d50>}¶
-
__module__
= 'enamlnative.android.android_activity'¶
-
__slots__
= ()¶
-
enamlnative.android.android_activity_indicator module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Aug 22, 2017
@author: jrm
-
class
enamlnative.android.android_activity_indicator.
AndroidActivityIndicator
[source]¶ Bases:
enamlnative.android.android_progress_bar.AndroidProgressBar
,enamlnative.widgets.activity_indicator.ProxyActivityIndicator
An Android implementation of an Enaml ProxyActivityIndicator.
-
declaration
¶ A reference to the declaration. Why does this need set explicitly here?
-
indeterminate
¶ Set it to be an indeterminate progress bar
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a8780>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b92d0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'indeterminate': <atom.scalars.Bool object at 0x7fad6a922370>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9aff50>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a922230>}¶
-
__module__
= 'enamlnative.android.android_activity_indicator'¶
-
__slots__
= ()¶
-
enamlnative.android.android_adapter module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_adapter.
ArrayAdapter
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
add
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addAll
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
remove
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
clear
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a922550>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9224b0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'add': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920c80>, 'addAll': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920d50>, 'clear': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920ef0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'remove': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920e20>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_adapter'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_adapter.
AdapterView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setEmptyView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFocusableInTouchMode
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnItemClickListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnItemLongClickListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnItemSelectedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSelection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onItemClick
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onItemLongClick
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onItemSelected
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onNothingSelected
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9225f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onItemClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927530>, 'onItemLongClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927600>, 'onItemSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9276d0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onNothingSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9277a0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEmptyView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927050>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFocusableInTouchMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927120>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnItemClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9271f0>, 'setOnItemLongClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9272c0>, 'setOnItemSelectedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927390>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927460>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_adapter'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_adapter.
AndroidAdapterView
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
-
adapter
¶ Adapter reference
-
__atom_members__
= {'adapter': <atom.typed.Typed object at 0x7fad6a922690>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a9b9370>}¶
-
__module__
= 'enamlnative.android.android_adapter'¶
-
__slots__
= ()¶
-
enamlnative.android.android_auto_complete_text_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_auto_complete_text_view.
AutoCompleteTextView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_edit_text.EditText
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setAdapter
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDropDownHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDropDownWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setListSelection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setThreshold
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a922a50>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'extendSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3e20>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'selectAll': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3d50>, 'setAdapter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9050>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDropDownHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9120>, 'setDropDownWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b91f0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setHint': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3ef0>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setListSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b92c0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3c80>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setThreshold': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9390>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_auto_complete_text_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_auto_complete_text_view.
AndroidAutoCompleteTextView
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_edit_text.AndroidEditText
,enamlnative.widgets.auto_complete_text_view.ProxyAutoCompleteTextView
An Android implementation of an Enaml ProxyAutoCompleteTextView.
-
widget
¶ A reference to the widget created by the proxy.
-
adapter
¶ An adapter to hold the choices
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'adapter': <atom.typed.Typed object at 0x7fad6a922f50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a9229b0>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_auto_complete_text_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_bottom_sheet_dialog module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Jan 29, 2018
@author: jrm
-
class
enamlnative.android.android_bottom_sheet_dialog.
BottomSheetDialog
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_dialog.Dialog
-
__nativeclass__
¶ Simply uses a different class
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8ba2d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8ba0f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'dismiss': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927870>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCancel': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b9a10>, 'onDismiss': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b9870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b9bb0>, 'setCancelable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9460>, 'setCanceledOnTouchOutside': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9530>, 'setContentView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9600>, 'setOnCancelListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9940>, 'setOnDismissListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b97a0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9ae0>, 'setTitle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b96d0>, 'show': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920bb0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_bottom_sheet_dialog'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_bottom_sheet_dialog.
AndroidBottomSheetDialog
[source]¶ Bases:
enamlnative.android.android_dialog.AndroidDialog
,enamlnative.widgets.bottom_sheet_dialog.ProxyBottomSheetDialog
An Android implementation of an Enaml ProxyBottomSheetDialog.
-
dialog
¶ A reference to the widget created by the proxy.
-
create_widget
()[source]¶ Create the underlying widget.
A dialog is not a subclass of view, hence we don’t set name as widget or children will try to use it as their parent.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'dialog': <atom.typed.Typed object at 0x7fad6a8ba370>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_bottom_sheet_dialog'¶
-
__slots__
= ()¶
-
enamlnative.android.android_button module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
Bases:
enamlnative.android.android_text_view.TextView
A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
Bases:
enamlnative.android.android_image_view.ImageView
A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
Bases:
enamlnative.android.android_button.ImageButton
A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Bases:
enamlnative.android.android_text_view.AndroidTextView
,enamlnative.widgets.button.ProxyButton
An Android implementation of an Enaml ProxyButton.
A reference to the widget created by the proxy.
Create the underlying widget.
Initialize the underlying widget.
Bases:
enamlnative.android.android_image_view.AndroidImageView
,enamlnative.widgets.button.ProxyImageButton
An Android implementation of an Enaml ProxyImageButton.
A reference to the widget created by the proxy.
Create the underlying widget.
Initialize the underlying widget.
This reads all items declared in the enamldef block for this node and sets only the values that have been specified. All other values will be left as default. Doing it this way makes atom to only create the properties that need to be overridden from defaults thus greatly reducing the number of initialization checks, saving time and memory.
If you don’t want this to happen override get_declared_keys to return an empty list.
Bases:
enamlnative.android.android_button.AndroidImageButton
,enamlnative.widgets.button.ProxyFloatingActionButton
An Android implementation of an Enaml ProxyImageButton.
A reference to the widget created by the proxy.
Create the underlying widget.
enamlnative.android.android_calendar_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_calendar_view.
CalendarView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setDate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinDate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxDate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFirstDayOfWeek
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnDateChangeListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onSelectedDayChange
¶ This is not actually a CalendarView method, but still works
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8bacd0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onSelectedDayChange': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8cc460>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4e20>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFirstDayOfWeek': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc2c0>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaxDate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc1f0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinDate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc120>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnDateChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc390>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_calendar_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_calendar_view.
AndroidCalendarView
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.calendar_view.ProxyCalendarView
An Android implementation of an Enaml ProxyCalendarView.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8bad70>}¶
-
__module__
= 'enamlnative.android.android_calendar_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_card_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on June 7, 2017
@author: jrm
-
class
enamlnative.android.android_card_view.
CardView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
- Note: You must add “compile ‘com.android.support:cardview-v7:21.0.+’”
- to build.gradle for this to work!
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setCardBackgroundColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCardElevation
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setContentPadding
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxCardElevation
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPreventCornerOverlap
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRadius
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setUseCompatPadding
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8baf50>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setCardBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc530>, 'setCardElevation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc600>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setContentPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc6d0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaxCardElevation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc7a0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setPreventCornerOverlap': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc870>, 'setRadius': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc940>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setUseCompatPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cca10>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_card_view'¶
-
__slots__
= ()¶
-
class
enamlnative.android.android_card_view.
AndroidCardView
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.card_view.ProxyCardView
An Android implementation of an Enaml ProxyCardView.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0050>}¶
-
__module__
= 'enamlnative.android.android_card_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_checkbox module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_checkbox.
CheckBox
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_compound_button.CompoundButton
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d02d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8ba690>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCheckedChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8ccc80>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setChecked': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccae0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnCheckedChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccbb0>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_checkbox'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_checkbox.
AndroidCheckBox
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_compound_button.AndroidCompoundButton
,enamlnative.widgets.checkbox.ProxyCheckBox
An Android implementation of an Enaml ProxyCheckBox.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0370>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_checkbox'¶
-
__slots__
= ()¶
-
enamlnative.android.android_chronometer module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_chronometer.
Chronometer
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.TextView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setBase
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCountDown
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFormat
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnChronometerTickListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onChronometerTick
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
start
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
stop
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d04b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onChronometerTick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8d8120>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBase': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccd50>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setCountDown': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cce20>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFormat': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccef0>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnChronometerTickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8050>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'start': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d81f0>, 'stop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d82c0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_chronometer'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_chronometer.
AndroidChronometer
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.AndroidTextView
,enamlnative.widgets.chronometer.ProxyChronometer
An Android implementation of an Enaml ProxyChronometer.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0550>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_chronometer'¶
-
__slots__
= ()¶
-
enamlnative.android.android_compound_button module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
Bases:
enamlnative.android.android_button.Button
A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
Bases:
enamlnative.android.android_button.AndroidButton
,enamlnative.widgets.compound_button.ProxyCompoundButton
An Android implementation of an Enaml ProxyCompoundButton.
A reference to the widget created by the proxy.
Create the underlying widget.
Initialize the underlying widget.
enamlnative.android.android_content module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 24, 2017
@author: jrm
-
class
enamlnative.android.android_content.
Context
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
registerReceiver
¶ Broadcast receiver
-
sendBroadcast
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
unregisterReceiver
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
startService
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
stopService
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
unbindService
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getSystemService
¶ Get system services
-
ACCESSIBILITY_SERVICE
= 'accessibility'¶
-
ACCOUNT_SERVICE
= 'account'¶
-
ACTIVITY_SERVICE
= 'activity'¶
-
ALARM_SERVICE
= 'alarm'¶
-
APPWIDGET_SERVICE
= 'appwidget'¶
-
APP_OPS_SERVICE
= 'appops'¶
-
AUDIO_SERVICE
= 'audio'¶
-
BATTERY_SERVICE
= 'battery'¶
-
BLUETOOTH_SERVICE
= 'bluetooth'¶
-
CAMERA_SERVICE
= 'camera'¶
-
CAPTIONING_SERVICE
= 'captioning'¶
-
CARRIER_CONFIG_SERVICE
= 'carrier_config'¶
-
CLIPBOARD_SERVICE
= 'clipboard'¶
-
CONNECTIVITY_SERVICE
= 'connectivity'¶
-
CONSUMER_IR_SERVICE
= 'consumer_ir'¶
-
DEVICE_POLICY_SERVICE
= 'device_policy'¶
-
DISPLAY_SERVICE
= 'display'¶
-
DOWNLOAD_SERVICE
= 'download'¶
-
DROPBOX_SERVICE
= 'dropbox'¶
-
FINGERPRINT_SERVICE
= 'fingerprint'¶
-
HARDWARE_PROPERTIES_SERVICE
= 'hardware_properties'¶
-
INPUT_METHOD_SERVICE
= 'input_method'¶
-
INPUT_SERVICE
= 'input'¶
-
JOB_SCHEDULER_SERVICE
= 'jobscheduler'¶
-
KEYGUARD_SERVICE
= 'keyguard'¶
-
LAUNCHER_APPS_SERVICE
= 'launcherapps'¶
-
LAYOUT_INFLATER_SERVICE
= 'layout_inflater'¶
-
LOCATION_SERVICE
= 'location'¶
-
MEDIA_PROJECTION_SERVICE
= 'media_projection'¶
-
MEDIA_ROUTER_SERVICE
= 'media_router'¶
-
MEDIA_SESSION_SERVICE
= 'media_session'¶
-
MIDI_SERVICE
= 'midi'¶
-
NETWORK_STATS_SERVICE
= 'netstats'¶
-
NFC_SERVICE
= 'nfc'¶
-
NOTIFICATION_SERVICE
= 'notification'¶
-
NSD_SERVICE
= 'servicediscovery'¶
-
POWER_SERVICE
= 'power'¶
-
PRINT_SERVICE
= 'print'¶
-
RESTRICTIONS_SERVICE
= 'restrictions'¶
-
SEARCH_SERVICE
= 'search'¶
-
SENSOR_SERVICE
= 'sensor'¶
-
SHORTCUT_SERVICE
= 'shortcut'¶
-
STORAGE_SERVICE
= 'storage'¶
-
SYSTEM_HEALTH_SERVICE
= 'systemhealth'¶
-
TELECOM_SERVICE
= 'telecom'¶
-
TELEPHONY_SERVICE
= 'telephony'¶
-
TELEPHONY_SUBSCRIPTION_SERVICE
= 'telephony_subscription_service'¶
-
TEXT_SERVICES_MANAGER_SERVICE
= 'textservices'¶
-
TV_INPUT_SERVICE
= 'tv_input'¶
-
UI_MODE_SERVICE
= 'uimode'¶
-
USAGE_STATS_SERVICE
= 'usagestats'¶
-
USB_SERVICE
= 'usb'¶
-
USER_SERVICE
= 'user'¶
-
VIBRATOR_SERVICE
= 'vibrator'¶
-
WALLPAPER_SERVICE
= 'wallpaper'¶
-
WIFI_P2P_SERVICE
= 'wifi_p2p'¶
-
WIFI_SERVICE
= 'wifi'¶
-
WINDOW_SERVICE
= 'window'¶
-
SERVICES
= {'accessibility': 'accessibility', 'account': 'account', 'activity': 'activity', 'alarm': 'alarm', 'appops': 'appops', 'appwidget': 'appwidget', 'audio': 'audio', 'battery': 'battery', 'bluetooth': 'bluetooth', 'camera': 'camera', 'captioning': 'captioning', 'carrier_config': 'carrier_config', 'clipboard': 'clipboard', 'connectivity': 'connectivity', 'consumer_ir': 'consumer_ir', 'device_policy': 'device_policy', 'display': 'display', 'download': 'download', 'dropbox': 'dropbox', 'fingerprint': 'fingerprint', 'hardware_properties': 'hardware_properties', 'input': 'input', 'input_method': 'input_method', 'jobscheduler': 'jobscheduler', 'keyguard': 'keyguard', 'launcherapps': 'launcherapps', 'layout_inflater': 'layout_inflater', 'location': 'location', 'media_projection': 'media_projection', 'media_router': 'media_router', 'media_session': 'media_session', 'midi_service': 'midi', 'netstats': 'netstats', 'nfc': 'nfc', 'notification': 'notification', 'power': 'power', 'print': 'print', 'restrictions': 'restrictions', 'search': 'search', 'sensor': 'sensor', 'servicediscovery': 'servicediscovery', 'shortcut': 'shortcut', 'storage': 'storage', 'systemhealth': 'systemhealth', 'telecom': 'telecom', 'telephony': 'telephony', 'telephony_subscription_service': 'telephony_subscription_service', 'textservices': 'textservices', 'tv_input': 'tv_input', 'uimode': 'uimode', 'usagestats': 'usagestats', 'usb': 'usb', 'user': 'user', 'vibrator': 'vibrator', 'wallpaper': 'wallpaper', 'wifi': 'wifi', 'wifip2p': 'wifi_p2p', 'window': 'window'}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a964c30>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getSystemService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c1f0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'registerReceiver': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910bb0>, 'sendBroadcast': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910c80>, 'startService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910e20>, 'stopService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910ef0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'unbindService': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c120>, 'unregisterReceiver': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910d50>}¶
-
__module__
= 'enamlnative.android.android_content'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_content.
Intent
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a964cd0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_content'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_content.
IntentFilter
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a964e10>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a964d70>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_content'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_content.
BroadcastReceiver
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
A BroadcastReceiver that delegates to a listener
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setReceiver
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onReceive
¶ Delegate receiver callback
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a964eb0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onReceive': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a91c390>, 'setReceiver': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a91c2c0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_content'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_content.
SystemService
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
A common api for system services as singletons
-
SERVICE_TYPE
= None¶
-
classmethod
instance
()[source]¶ Get an instance of this service if it was already requested.
You should request it first using UsbManager.get()
__Example__
:::python
- def on_manager(m):
- #: Do stuff with it assert m == UsbManager.instance()
UsbManager.get().then(on_manager)
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afaf0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_content'¶
-
__slots__
= ()¶
-
enamlnative.android.android_coordinator_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Sept 18, 2017
@author: jrm
-
class
enamlnative.android.android_coordinator_layout.
CoordinatorLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8bae10>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_coordinator_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_coordinator_layout.
AndroidCoordinatorLayout
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.coordinator_layout.ProxyCoordinatorLayout
An Android implementation of an Enaml ProxyCoordinatorLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0410>}¶
-
__module__
= 'enamlnative.android.android_coordinator_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_date_picker module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_date_picker.
DatePicker
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
init
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onDateChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
updateDate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFirstDayOfWeek
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxDate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinDate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d07d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'init': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8390>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onDateChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8d8460>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d86d0>, 'setFirstDayOfWeek': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8600>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaxDate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d87a0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinDate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8870>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'updateDate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8530>}¶
-
__module__
= 'enamlnative.android.android_date_picker'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_date_picker.
AndroidDatePicker
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.date_picker.ProxyDatePicker
An Android implementation of an Enaml ProxyDatePicker.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0870>}¶
-
__module__
= 'enamlnative.android.android_date_picker'¶
-
__slots__
= ()¶
-
enamlnative.android.android_dialog module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Sept 21, 2017
@author: jrm
-
class
enamlnative.android.android_dialog.
Dialog
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ Show the view for the specified duration.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
show
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
dismiss
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCancelable
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCanceledOnTouchOutside
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setContentView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTitle
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnDismissListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onDismiss
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setOnCancelListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onCancel
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setOnKeyListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onKey
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8ba190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8ba0f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'dismiss': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927870>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCancel': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b9a10>, 'onDismiss': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b9870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b9bb0>, 'setCancelable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9460>, 'setCanceledOnTouchOutside': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9530>, 'setContentView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9600>, 'setOnCancelListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9940>, 'setOnDismissListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b97a0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9ae0>, 'setTitle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b96d0>, 'show': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920bb0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_dialog'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_dialog.
AndroidDialog
[source]¶ Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.dialog.ProxyDialog
An Android implementation of an Enaml ProxyDialog.
-
dialog
¶ A reference to the widget created by the proxy.
-
create_widget
()[source]¶ Create the underlying widget.
A dialog is not a subclass of view, hence we don’t set name as widget or children will try to use it as their parent.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'dialog': <atom.typed.Typed object at 0x7fad6a8ba230>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_dialog'¶
-
__slots__
= ()¶
-
enamlnative.android.android_drawer_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_drawer_layout.
DrawerLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
openDrawer
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
closeDrawer
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addDrawerListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onDrawerClosed
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onDrawerOpened
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onDrawerSlide
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onDrawerStateChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setDrawerElevation
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDrawerTitle
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDrawerLockMode
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setScrimColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setStatusBarBackgroundColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
LOCK_MODES
= {'locked_closed': 1, 'locked_open': 2, 'undefined': 3, 'unlocked': 0}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d0690>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addDrawerListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8ae0>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'closeDrawer': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onDrawerClosed': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8d8bb0>, 'onDrawerOpened': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8d8c80>, 'onDrawerSlide': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8d8d50>, 'onDrawerStateChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8d8e20>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'openDrawer': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8940>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDrawerElevation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8d8ef0>, 'setDrawerLockMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df120>, 'setDrawerTitle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df050>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setScrimColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df1f0>, 'setStatusBarBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df2c0>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_drawer_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_drawer_layout.
DrawerLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.MarginLayoutParams
Update the child widget with the given params
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
gravity
¶ The superclass implementation is sufficient but extend for possible future modification.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d09b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9b90f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'gravity': <enamlnative.android.bridge.JavaField object at 0x7fad6a9ba050>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910530>, 'setMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910460>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_drawer_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_drawer_layout.
AndroidDrawerLayout
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.drawer_layout.ProxyDrawerLayout
An Android implementation of an Enaml ProxyDrawerLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
drawer_state
¶ Drawer state
-
layout_param_type
¶ Children use DrawerLayoutParams
-
create_layout_params
(child, layout)[source]¶ Create the LayoutParams for a child with it’s requested layout parameters. Subclasses should override this as needed to handle layout specific needs.
Parameters: Returns: layout_params – A LayoutParams bridge object with the requested layout options.
Return type:
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'drawer_state': <atom.list.List object at 0x7fad6a9b62f0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8d0af0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0a50>}¶
-
__module__
= 'enamlnative.android.android_drawer_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_edit_text module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_edit_text.
EditText
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.TextView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setSelection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
selectAll
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
extendSelection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHint
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a922d70>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'extendSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3e20>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'selectAll': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3d50>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setHint': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3ef0>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3c80>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_edit_text'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_edit_text.
AndroidEditText
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.AndroidTextView
,enamlnative.widgets.edit_text.ProxyEditText
An Android implementation of an Enaml ProxyEditText.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a922c30>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_edit_text'¶
-
__slots__
= ()¶
-
enamlnative.android.android_flexbox module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_flexbox.
Flexbox
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setFlexDirection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexWrap
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setJustifyContent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignItems
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignContent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexLines
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDividerDrawable
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDividerDrawableHorizontal
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDividerDrawableVertical
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setShowDivider
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setShowDividerVertical
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setShowDividerHorizontal
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
FLEX_DIRECTION
= {'column': 2, 'column_reversed': 3, 'row': 0, 'row_reversed': 1}¶
-
FLEX_WRAP
= {'nowrap': 0, 'wrap': 1, 'wrap_reverse': 2}¶
-
JUSTIFY_CONTENT
= {'center': 2, 'flex_end': 1, 'flex_start': 0, 'space_around': 4, 'space_between': 3}¶
-
ALIGN_ITEMS
= {'baseline': 3, 'center': 2, 'flex_end': 1, 'flex_start': 0, 'stretch': 4}¶
-
ALIGN_CONTENT
= {'center': 2, 'flex_end': 1, 'flex_start': 0, 'space_around': 4, 'space_between': 3, 'stretch': 5}¶
-
ALIGN_SELF
= {'auto': -1, 'baseline': 3, 'center': 2, 'flex_end': 1, 'flex_start': 0, 'stretch': 4}¶
-
SHOW_DIVIDER
= {'beginning': 1, 'end': 3, 'middle': 2, 'none': 0}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d0b90>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlignContent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df7a0>, 'setAlignItems': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df6d0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDividerDrawable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df940>, 'setDividerDrawableHorizontal': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfa10>, 'setDividerDrawableVertical': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfae0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFlexDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df460>, 'setFlexLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df870>, 'setFlexWrap': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df530>, 'setJustifyContent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df600>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setShowDivider': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfbb0>, 'setShowDividerHorizontal': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfd50>, 'setShowDividerVertical': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfc80>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_flexbox'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_flexbox.
FlexboxLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.MarginLayoutParams
Update the child widget with the given params
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOrder
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexGrow
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexShrink
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignSelf
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWrapBefore
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexBasisPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8d0c30>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9b90f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'setAlignSelf': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e72c0>, 'setFlexBasisPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e77a0>, 'setFlexGrow': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7120>, 'setFlexShrink': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e71f0>, 'setHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910530>, 'setMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910460>, 'setMaxHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7600>, 'setMaxWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7530>, 'setMinHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7460>, 'setMinWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7390>, 'setOrder': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7050>, 'setWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8dfe20>, 'setWrapBefore': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e76d0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_flexbox'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_flexbox.
AndroidFlexbox
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.flexbox.ProxyFlexbox
An Android implementation of an Enaml ProxyFlexbox.
-
widget
¶ A reference to the widget created by the proxy.
-
layout_param_type
¶ Update default
-
create_layout_params
(child, layout)[source]¶ Create the LayoutParams for a child with it’s requested layout parameters. Subclasses should override this as needed to handle layout specific needs.
Parameters: Returns: layout_params – A LayoutParams bridge object with the requested layout options.
Return type:
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8d0d70>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8d0cd0>}¶
-
__module__
= 'enamlnative.android.android_flexbox'¶
-
__slots__
= ()¶
-
enamlnative.android.android_fragment module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_fragment.
FragmentManager
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
beginTransaction
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8787d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'beginTransaction': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87cae0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_fragment'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_fragment.
FragmentTransaction
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
commit
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
add
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
replace
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878870>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'add': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87cc80>, 'commit': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87cbb0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'replace': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87cd50>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_fragment'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_fragment.
BridgedFragment
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setTitle
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFragmentListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onCreateView
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onDestroyView
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878910>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCreateView': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a87f050>, 'onDestroyView': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a87f120>, 'setFragmentListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87cef0>, 'setTitle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87ce20>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_fragment'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_fragment.
AndroidFragment
[source]¶ Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.fragment.ProxyFragment
An Android implementation of an Enaml ProxyFragment.
-
fragment
¶ A reference to the fragment created by the proxy.
-
adapter
¶ Reference to the adapter
-
ready
¶ Future set when ready
-
init_layout
()[source]¶ Initialize the layout of the toolkit widget.
This method is called during the bottom-up pass. This method should initialize the layout of the widget. The child widgets will be fully initialized and layed out when this is called.
-
destroy
()[source]¶ Custom destructor that deletes the fragment and removes itself from the adapter it was added to.
-
get_view
()[source]¶ Get the page to display. If a view has already been created and is cached, use that otherwise initialize the view and proxy. If defer loading is used, wrap the view in a FrameLayout and defer add view until later.
-
__atom_members__
= {'adapter': <atom.typed.Typed object at 0x7fad6a878a50>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'fragment': <atom.typed.Typed object at 0x7fad6a8789b0>, 'ready': <atom.scalars.Value object at 0x7fad6a878af0>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_fragment'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_fragment.
AndroidPagerFragment
[source]¶ Bases:
enamlnative.android.android_fragment.AndroidFragment
,enamlnative.widgets.view_pager.ProxyPagerFragment
An Android implementation of an Enaml ProxyPagerFragment.
-
__atom_members__
= {'adapter': <atom.typed.Typed object at 0x7fad6a878a50>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'fragment': <atom.typed.Typed object at 0x7fad6a8789b0>, 'ready': <atom.scalars.Value object at 0x7fad6a878af0>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_fragment'¶
-
__slots__
= ()¶
-
enamlnative.android.android_frame_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_frame_layout.
FrameLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setForegroundGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMeasureAllChildren
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8ba050>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_frame_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_frame_layout.
FrameLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.MarginLayoutParams
Update the child widget with the given params
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
gravity
¶ The superclass implementation is sufficient but extend for possible future modification.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8baaf0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9b90f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'gravity': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfd98>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910530>, 'setMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910460>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_frame_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_frame_layout.
AndroidFrameLayout
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.frame_layout.ProxyFrameLayout
An Android implementation of an Enaml ProxyFrameLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
layout_param_type
¶ Update default
-
create_layout_params
(child, layout)[source]¶ Create the LayoutParams for a child with it’s requested layout parameters. Subclasses should override this as needed to handle layout specific needs.
Parameters: Returns: layout_params – A LayoutParams bridge object with the requested layout options.
Return type:
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8bab90>}¶
-
__module__
= 'enamlnative.android.android_frame_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_grid_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_grid_layout.
GridLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setOrientation
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignmentMode
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setColumnCount
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setColumnOrderPreserved
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRowCount
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRowOrderPreserved
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setUseDefaultMargins
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878cd0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlignmentMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f2c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setColumnCount': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f390>, 'setColumnOrderPreserved': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f460>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setOrientation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f1f0>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setRowCount': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f530>, 'setRowOrderPreserved': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f600>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setUseDefaultMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f6d0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_grid_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_grid_layout.
GridLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878d70>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_grid_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_grid_layout.
AndroidGridLayout
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.grid_layout.ProxyGridLayout
An Android implementation of an Enaml ProxyGridLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a878e10>}¶
-
__module__
= 'enamlnative.android.android_grid_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_iconify module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_iconify.
IconDrawable
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878f50>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a878eb0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_iconify.
Icon
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.TextView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887050>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_iconify.
IconButton
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_button.Button
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8870f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8ba690>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_iconify.
IconToggleButton
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_toggle_button.ToggleButton
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8ba690>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCheckedChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8ccc80>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setChecked': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccae0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnCheckedChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccbb0>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextOff': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f7a0>, 'setTextOn': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87f870>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_iconify.
AndroidIcon
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.AndroidTextView
,enamlnative.widgets.iconify.ProxyIcon
An Android implementation of an Enaml ProxyIcon.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a887230>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_iconify.
AndroidIconButton
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_button.AndroidButton
,enamlnative.widgets.iconify.ProxyIconButton
An Android implementation of an Enaml ProxyIconButton.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a8872d0>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_iconify.
AndroidIconToggleButton
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_toggle_button.AndroidToggleButton
,enamlnative.widgets.iconify.ProxyIconToggleButton
An Android implementation of an Enaml ProxyIconToggleButton.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a887370>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_iconify'¶
-
__slots__
= ()¶
-
enamlnative.android.android_image_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 6, 2017
@author: jrm
-
class
enamlnative.android.android_image_view.
ImageView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.View
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setImageAlpha
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setColorFilter
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCropToPadding
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setImageBitmap
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setImageIcon
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setImageLevel
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
seImageMatrix
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setImageResource
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setImageDrawable
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setImageURI
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setScaleType
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8ba410>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'seImageMatrix': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c41f0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setColorFilter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9d50>, 'setCropToPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9e20>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setImageAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9c80>, 'setImageBitmap': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b9ef0>, 'setImageDrawable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4390>, 'setImageIcon': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4050>, 'setImageLevel': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4120>, 'setImageResource': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c42c0>, 'setImageURI': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4460>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaxHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4530>, 'setMaxWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4600>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setScaleType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c46d0>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_image_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_image_view.
Drawable
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
onDrawableLoaded
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8ba4b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onDrawableLoaded': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8c47a0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_image_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_image_view.
Icon
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
createWithFilePath
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
createWithContentUri
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8ba550>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'createWithContentUri': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4940>, 'createWithFilePath': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4870>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_image_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_image_view.
AndroidImageView
[source]¶ Bases:
enamlnative.android.android_view.AndroidView
,enamlnative.widgets.image_view.ProxyImageView
An Android implementation of an Enaml ProxyImageView.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b92d0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9aff50>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8ba5f0>}¶
-
__module__
= 'enamlnative.android.android_image_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_linear_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_linear_layout.
LinearLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setOrientation
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9af5f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9106d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setOrientation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910600>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_linear_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_linear_layout.
LinearLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.MarginLayoutParams
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
gravity
¶ The superclass implementation is sufficient but extend for possible future modification.
-
weight
¶ The superclass implementation is sufficient but extend for possible future modification.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9b99b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9b90f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'gravity': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfc08>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910530>, 'setMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910460>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'weight': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfcd0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_linear_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_linear_layout.
AndroidLinearLayout
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.linear_layout.ProxyLinearLayout
An Android implementation of an Enaml ProxyLinearLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
layout_param_type
¶ Use LinearLayout params
-
create_layout_params
(child, layout)[source]¶ Create the LayoutParams for a child with it’s requested layout parameters. Subclasses should override this as needed to handle layout specific needs.
Parameters: Returns: layout_params – A LayoutParams bridge object with the requested layout options.
Return type:
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b95f0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a9b9550>}¶
-
__module__
= 'enamlnative.android.android_linear_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_list_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_list_view.
AbsListView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_adapter.AdapterView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
pointToPosition
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAdapter
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8874b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onItemClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927530>, 'onItemLongClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927600>, 'onItemSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9276d0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onNothingSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9277a0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'pointToPosition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fa10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAdapter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fae0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEmptyView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927050>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFocusableInTouchMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927120>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnItemClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9271f0>, 'setOnItemLongClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9272c0>, 'setOnItemSelectedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927390>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927460>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_list_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_list_view.
ListView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_list_view.AbsListView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setDividerHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHeaderDividersEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setItemsCanFocus
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSelection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
smoothScrollByOffset
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
smoothScrollToPosition
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnScrollListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onScroll
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onScrollStateChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887550>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onItemClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927530>, 'onItemLongClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927600>, 'onItemSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9276d0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onNothingSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9277a0>, 'onScroll': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a88d2c0>, 'onScrollStateChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a88d390>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'pointToPosition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fa10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAdapter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fae0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDividerHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fbb0>, 'setEmptyView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927050>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFocusableInTouchMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927120>, 'setFooterDividersEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fc80>, 'setHeaderDividersEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fd50>, 'setItemsCanFocus': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fe20>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnItemClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9271f0>, 'setOnItemLongClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9272c0>, 'setOnItemSelectedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927390>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnScrollListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d1f0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87fef0>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'smoothScrollByOffset': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d050>, 'smoothScrollToPosition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d120>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_list_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_list_view.
BridgedListAdapter
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
An adapter that implements a recycleview pattern.
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setListView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCount
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRecycleViews
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
clearRecycleViews
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onRecycleView
¶ BridgedListAdapterListener API
-
onVisibleCountChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onScrollStateChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8875f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'clearRecycleViews': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d6d0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onRecycleView': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a88d7a0>, 'onScrollStateChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a88d940>, 'onVisibleCountChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a88d870>, 'setCount': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d530>, 'setListView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d460>, 'setRecycleViews': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88d600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_list_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_list_view.
AndroidListView
[source]¶ Bases:
enamlnative.android.android_adapter.AndroidAdapterView
,enamlnative.widgets.list_view.ProxyListView
An Android implementation of an Enaml ProxyListView.
-
widget
¶ A reference to the widget created by the proxy.
-
adapter
¶ Reference to adapter
-
list_items
¶ List items
-
on_recycle_view
(index, position)[source]¶ Update the item the view at the given index should display
-
__atom_members__
= {'adapter': <atom.typed.Typed object at 0x7fad6a887730>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'list_items': <atom.property.Property object at 0x7fad6a8877d0>, 'widget': <atom.typed.Typed object at 0x7fad6a887690>}¶
-
__module__
= 'enamlnative.android.android_list_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_list_view.
AndroidListItem
[source]¶ Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.list_view.ProxyListItem
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_list_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_location module¶
enamlnative.android.android_picker module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 6, 2017
@author: jrm
-
class
enamlnative.android.android_picker.
Picker
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_linear_layout.LinearLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setMaxValue
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinValue
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setValue
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnLongPressUpdateInterval
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnValueChangedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onValueChange
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setDisplayedValues
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWrapSelectorWheel
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887870>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'onValueChange': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a88de20>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDisplayedValues': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88def0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9106d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaxValue': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88da10>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinValue': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnLongPressUpdateInterval': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88dc80>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setOnValueChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88dd50>, 'setOrientation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910600>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setValue': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a88dbb0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setWrapSelectorWheel': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_picker'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_picker.
AndroidPicker
[source]¶ Bases:
enamlnative.android.android_linear_layout.AndroidLinearLayout
,enamlnative.widgets.picker.ProxyPicker
An Android implementation of an Enaml ProxyPicker.
-
widget
¶ A reference to the widget created by the proxy.
-
on_value_change
(picker, old, new)[source]¶ Set the checked property based on the checked state of all the children
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b95f0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a887910>}¶
-
__module__
= 'enamlnative.android.android_picker'¶
-
__slots__
= ()¶
-
enamlnative.android.android_progress_bar module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 26, 2017
@author: jrm
-
class
enamlnative.android.android_progress_bar.
ProgressBar
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.View
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
setIndeterminate
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMax
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMin
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setProgress
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSecondaryProgress
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
STYLE_HORIZONTAL
= 16842872¶
-
STYLE_INVERSE
= 16843399¶
-
STYLE_LARGE
= 16842874¶
-
STYLE_LARGE_INVERSE
= 16843401¶
-
STYLE_SMALL
= 16842873¶
-
STYLE_NORMAL
= 16842871¶
-
STYLE_SMALL_INVERSE
= 16843400¶
-
STYLES
= {'large': 16842874, 'normal': 16842871, 'small': 16842873}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a922190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9220f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setIndeterminate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9207a0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMax': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920870>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMin': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920940>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setProgress': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920a10>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSecondaryProgress': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920ae0>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_progress_bar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_progress_bar.
AndroidProgressBar
[source]¶ Bases:
enamlnative.android.android_view.AndroidView
,enamlnative.widgets.progress_bar.ProxyProgressBar
An Android implementation of an Enaml ProxyProgressBar.
For an indeterminate ProgressBar use the ActivityIndicator.
-
widget
¶ A reference to the widget created by the proxy.
-
indeterminate
¶ Set to True to make the progress bar an activity indicator
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b92d0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'indeterminate': <atom.scalars.Bool object at 0x7fad6a9222d0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9aff50>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a922230>}¶
-
__module__
= 'enamlnative.android.android_progress_bar'¶
-
__slots__
= ()¶
-
enamlnative.android.android_radio_button module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
Bases:
enamlnative.android.android_compound_button.CompoundButton
A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
Bases:
enamlnative.android.android_compound_button.AndroidCompoundButton
,enamlnative.widgets.radio_button.ProxyRadioButton
An Android implementation of an Enaml ProxyRadioButton.
A reference to the widget created by the proxy.
Create the underlying widget.
enamlnative.android.android_radio_group module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_radio_group.
RadioGroup
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_linear_layout.LinearLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
check
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
clearCheck
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnCheckedChangeListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onCheckedChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887c30>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'check': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c120>, 'clearCheck': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c1f0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCheckedChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a89c390>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9106d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnCheckedChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c2c0>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setOrientation': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910600>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_radio_group'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_radio_group.
AndroidRadioGroup
[source]¶ Bases:
enamlnative.android.android_linear_layout.AndroidLinearLayout
,enamlnative.widgets.radio_group.ProxyRadioGroup
An Android implementation of an Enaml ProxyLinearLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
on_checked_changed
(group, checked_id)[source]¶ Set the checked property based on the checked state of all the children
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b95f0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a887cd0>}¶
-
__module__
= 'enamlnative.android.android_radio_group'¶
-
__slots__
= ()¶
-
enamlnative.android.android_rating_bar module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on June 7, 2017
@author: jrm
-
class
enamlnative.android.android_rating_bar.
RatingBar
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_progress_bar.ProgressBar
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setIsIndicator
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMax
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setNumStars
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnRatingBarChangeListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRating
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setStepSize
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onRatingChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887f50>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9220f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onRatingChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a89c940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setIndeterminate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9207a0>, 'setIsIndicator': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c460>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMax': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMin': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920940>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setNumStars': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c600>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnRatingBarChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c6d0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setProgress': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920a10>, 'setRating': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c7a0>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSecondaryProgress': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920ae0>, 'setStepSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89c870>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_rating_bar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_rating_bar.
AndroidRatingBar
[source]¶ Bases:
enamlnative.android.android_progress_bar.AndroidProgressBar
,enamlnative.widgets.rating_bar.ProxyRatingBar
An Android implementation of an Enaml ProxyRatingBar.
-
widget
¶ A reference to the widget created by the proxy.
-
default_layout
¶ The number of stars set (via setNumStars(int) or in an XML layout) will be shown when the layout width is set to wrap content (if another layout width is set, the results may be unpredictable).
-
init_layout
()[source]¶ Initialize the layout of the toolkit widget.
This method is called during the bottom-up pass. This method should initialize the layout of the widget. The child widgets will be fully initialized and layed out when this is called.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a8a10f0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'indeterminate': <atom.scalars.Bool object at 0x7fad6a9222d0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9aff50>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8a1050>}¶
-
__module__
= 'enamlnative.android.android_rating_bar'¶
-
__slots__
= ()¶
-
enamlnative.android.android_relative_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_relative_layout.
RelativeLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setHorizontalGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setVerticalGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a887410>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setHorizontalGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89ca10>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVerticalGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cae0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_relative_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_relative_layout.
AndroidRelativeLayout
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.relative_layout.ProxyRelativeLayout
An Android implementation of an Enaml ProxyRelativeLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a887eb0>}¶
-
__module__
= 'enamlnative.android.android_relative_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_scroll_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_scroll_view.
ScrollView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
smoothScrollBy
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
smoothScrollTo
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
fullScroll
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
FOCUS_UP
= 33¶
-
FOCUS_DOWN
= 130¶
-
setVerticalScrollBarEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHorizontalScrollBarEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a12d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'fullScroll': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cd50>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setHorizontalScrollBarEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVerticalScrollBarEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89ce20>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'smoothScrollBy': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cbb0>, 'smoothScrollTo': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cc80>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_scroll_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_scroll_view.
HorizontalScrollView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_scroll_view.ScrollView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a1370>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'fullScroll': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cd50>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setHorizontalScrollBarEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVerticalScrollBarEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89ce20>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'smoothScrollBy': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cbb0>, 'smoothScrollTo': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a89cc80>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_scroll_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_scroll_view.
AndroidScrollView
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.scroll_view.ProxyScrollView
An Android implementation of an Enaml ProxyFrameLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.instance.Instance object at 0x7fad6a8a1410>}¶
-
__module__
= 'enamlnative.android.android_scroll_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_seek_bar module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on June 7, 2017
@author: jrm
-
class
enamlnative.android.android_seek_bar.
SeekBar
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_progress_bar.ProgressBar
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setSplitTrack
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnSeekBarChangeListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setKeyProgressIncrement
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onProgressChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onStartTrackingTouch
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onStopTrackingTouch
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a1230>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9220f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onProgressChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8a92c0>, 'onStartTrackingTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8a9390>, 'onStopTrackingTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8a9460>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setIndeterminate': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9207a0>, 'setKeyProgressIncrement': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a91f0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMax': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920870>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMin': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920940>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnSeekBarChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9120>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setProgress': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920a10>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSecondaryProgress': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a920ae0>, 'setSplitTrack': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9050>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_seek_bar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_seek_bar.
AndroidSeekBar
[source]¶ Bases:
enamlnative.android.android_progress_bar.AndroidProgressBar
,enamlnative.widgets.seek_bar.ProxySeekBar
An Android implementation of an Enaml ProxySeekBar.
-
widget
¶ A reference to the widget created by the proxy.
-
default_layout
¶ A value of type dict.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a8a1550>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'indeterminate': <atom.scalars.Bool object at 0x7fad6a9222d0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9aff50>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8a14b0>}¶
-
__module__
= 'enamlnative.android.android_seek_bar'¶
-
__slots__
= ()¶
-
enamlnative.android.android_sensors module¶
enamlnative.android.android_snackbar module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Sept 20, 2017
@author: jrm
-
class
enamlnative.android.android_snackbar.
Snackbar
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ Show the view for the specified duration.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
make
¶
-
show
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
dismiss
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDuration
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setText
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAction
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setActionTextColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addCallback
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
DISMISS_EVENT_SWIPE
= 0¶
-
DISMISS_EVENT_ACTION
= 1¶
-
DISMISS_EVENT_TIMEOUT
= 2¶
-
DISMISS_EVENT_MANUAL
= 3¶
-
DISMISS_EVENT_CONSECUTIVE
= 4¶
-
ACTIONS
= {0: 'swipe', 1: 'clicked', 2: 'timeout', 3: 'dismissed', 4: 'replaced'}¶
-
onClick
¶ Snackbar.Callback API
-
onDismissed
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onShown
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a1730>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8a1690>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addCallback': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9a10>, 'dismiss': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9600>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'make': <enamlnative.android.bridge.JavaStaticMethod object at 0x7fad6a96bc20>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8a9ae0>, 'onDismissed': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8a9bb0>, 'onShown': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8a9c80>, 'setAction': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9870>, 'setActionTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9940>, 'setDuration': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a96d0>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a97a0>, 'show': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9530>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_snackbar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_snackbar.
BridgedSnackbarCallback
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a17d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'setListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9d50>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_snackbar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_snackbar.
AndroidSnackbar
[source]¶ Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.snackbar.ProxySnackbar
An Android implementation of an Enaml ProxySnackbar.
-
widget
¶ A reference to the widget created by the proxy.
-
create_widget
()[source]¶ Create the underlying widget.
A toast is not a subclass of view, hence we don’t set name as widget or children will try to use it as their parent (which crashes).
-
init_widget
()[source]¶ Our widget may not exist yet so we have to diverge from the normal way of doing initialization. See update_widget
-
on_widget_created
(ref)[source]¶ Using Snackbar.make returns async so we have to initialize it later.
-
set_duration
(duration)[source]¶ Android for whatever stupid reason doesn’t let you set the time it only allows 1-long or 0-short. So we have to repeatedly call show until the duration expires, hence this method does nothing see set_show.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'widget': <atom.typed.Typed object at 0x7fad6a8a1870>}¶
-
__module__
= 'enamlnative.android.android_snackbar'¶
-
__slots__
= ()¶
-
enamlnative.android.android_spinner module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_spinner.
AbsSpinner
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_adapter.AdapterView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
pointToPosition
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAdapter
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a19b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onItemClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927530>, 'onItemLongClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927600>, 'onItemSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9276d0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onNothingSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9277a0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'pointToPosition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9ef0>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAdapter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834050>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEmptyView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927050>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFocusableInTouchMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927120>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnItemClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9271f0>, 'setOnItemLongClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9272c0>, 'setOnItemSelectedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927390>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927460>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_spinner'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_spinner.
Spinner
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_spinner.AbsSpinner
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
setDropDownHorizontalOffset
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDropDownVerticalOffset
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDropDownWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPrompt
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a1af0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8a1a50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onItemClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927530>, 'onItemLongClick': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927600>, 'onItemSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9276d0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onNothingSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a9277a0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'pointToPosition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9ef0>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAdapter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834050>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setDropDownHorizontalOffset': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834120>, 'setDropDownVerticalOffset': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8341f0>, 'setDropDownWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8342c0>, 'setEmptyView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927050>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834390>, 'setFocusableInTouchMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927120>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834460>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnItemClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9271f0>, 'setOnItemLongClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9272c0>, 'setOnItemSelectedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927390>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setPrompt': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834530>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927460>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_spinner'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_spinner.
AndroidSpinner
[source]¶ Bases:
enamlnative.android.android_adapter.AndroidAdapterView
,enamlnative.widgets.spinner.ProxySpinner
An Android implementation of an Enaml ProxySpinner.
-
widget
¶ A reference to the widget created by the proxy.
-
adapter
¶ Reference to adapter
-
get_declared_items
()[source]¶ Get the members that were set in the enamldef block for this Declaration. Layout keys are grouped together until the end so as to avoid triggering multiple updates.
Returns: result – List of keys and values Return type: List of (k,v) pairs that were defined for this widget in enaml
-
__atom_members__
= {'adapter': <atom.typed.Typed object at 0x7fad6a8a1c30>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8a1b90>}¶
-
__module__
= 'enamlnative.android.android_spinner'¶
-
__slots__
= ()¶
-
enamlnative.android.android_swipe_refresh_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Oct 22, 2017
@author: jrm
-
class
enamlnative.android.android_swipe_refresh_layout.
SwipeRefreshLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setDistanceToTriggerSync
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRefreshing
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setProgressBackgroundColorSchemeColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setColorSchemeColors
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnRefreshListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onRefresh
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a1d70>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onRefresh': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a834a10>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setColorSchemeColors': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834870>, 'setDistanceToTriggerSync': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8a9e20>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8346d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnRefreshListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834940>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setProgressBackgroundColorSchemeColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8347a0>, 'setRefreshing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_swipe_refresh_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_swipe_refresh_layout.
AndroidSwipeRefreshLayout
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.swipe_refresh_layout.ProxySwipeRefreshLayout
An Android implementation of an Enaml ProxySwipeRefreshLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8a1e10>}¶
-
__module__
= 'enamlnative.android.android_swipe_refresh_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_switch module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on June 7, 2017
@author: jrm
-
class
enamlnative.android.android_switch.
Switch
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_compound_button.CompoundButton
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setShowText
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSplitTrack
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextOff
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextOn
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8a1eb0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a8ba690>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCheckedChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8ccc80>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setChecked': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccae0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnCheckedChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8ccbb0>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setShowText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834ae0>, 'setSplitTrack': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834bb0>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextOff': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834c80>, 'setTextOn': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834d50>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_switch'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_switch.
AndroidSwitch
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_compound_button.AndroidCompoundButton
,enamlnative.widgets.switch.ProxySwitch
An Android implementation of an Enaml ProxySwitch.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a8a1f50>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_switch'¶
-
__slots__
= ()¶
-
enamlnative.android.android_tab_layout module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_tab_layout.
TabLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
addTab
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
removeTab
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
removeAllTabs
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
newTab
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSelectedTabIndicatorColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSelectedTabIndicatorHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTabGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTabMode
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTabTextColors
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCurrentTab
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCurrentTabByTag
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addOnTabSelectedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onTabReselected
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onTabSelected
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onTabUnselected
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
MODE_FIXED
= 1¶
-
MODE_SCROLLABLE
= 0¶
-
GRAVITY_CENTER
= 1¶
-
GRAVITY_FILL
= 0¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83c190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addOnTabSelectedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8427a0>, 'addTab': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834e20>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'newTab': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842120>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTabReselected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a842870>, 'onTabSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a842940>, 'onTabUnselected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a842a10>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeAllTabs': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842050>, 'removeTab': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a834ef0>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setCurrentTab': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842600>, 'setCurrentTabByTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8426d0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSelectedTabIndicatorColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8421f0>, 'setSelectedTabIndicatorHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8422c0>, 'setTabGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842390>, 'setTabMode': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842460>, 'setTabTextColors': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842530>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_tab_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_tab_layout.
Tab
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setText
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setIcon
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83c230>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'setIcon': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842bb0>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842ae0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_tab_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_tab_layout.
AndroidTabLayout
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.tab_layout.ProxyTabLayout
An Android implementation of an Enaml ProxyTabLayout.
-
widget
¶ A reference to the widget created by the proxy.
-
tabs
¶ Save created tab spec references
-
default_layout
¶ A value of type dict.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a83c410>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'tabs': <atom.list.List object at 0x7fad6a9b6590>, 'widget': <atom.typed.Typed object at 0x7fad6a83c2d0>}¶
-
__module__
= 'enamlnative.android.android_tab_layout'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_tab_layout.
AndroidTabFragment
[source]¶ Bases:
enamlnative.android.android_fragment.AndroidPagerFragment
,enamlnative.widgets.tab_layout.ProxyTabFragment
This is just an alias for future expansion.
-
__atom_members__
= {'adapter': <atom.typed.Typed object at 0x7fad6a878a50>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'fragment': <atom.typed.Typed object at 0x7fad6a8789b0>, 'ready': <atom.scalars.Value object at 0x7fad6a878af0>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_tab_layout'¶
-
__slots__
= ()¶
-
enamlnative.android.android_text_clock module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_text_clock.
TextClock
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.TextView
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setFormat24Hour
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTimeZone
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83c550>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setFormat24Hour': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842d50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setTimeZone': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842e20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_text_clock'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_text_clock.
AndroidTextClock
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_text_view.AndroidTextView
,enamlnative.widgets.text_clock.ProxyTextClock
An Android implementation of an Enaml ProxyTextClock.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a83c5f0>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_text_clock'¶
-
__slots__
= ()¶
-
enamlnative.android.android_text_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_text_view.
TextView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.View
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setAllCaps
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAutoLinkMask
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setText
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextKeepState
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextIsSelectable
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHighlightColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLinkTextColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextSize
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTypeface
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLines
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLineSpacing
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLetterSpacing
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxLines
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnEditorActionListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setInputType
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addTextChangedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
removeTextChangedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
afterTextChanged
¶ TextWatcher API
-
beforeTextChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onTextChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onEditorAction
¶ EditorAction API
-
FONT_STYLES
= {'bold': 1, 'bold_italic': 3, 'italic': 2, 'normal': 0}¶
-
INPUT_TYPES
= {'': 0, 'date': 20, 'datetime': 4, 'number': 2, 'number_decimal': 8194, 'number_password': 18, 'number_signed': 4098, 'phone': 3, 'text': 1, 'text_auto_complete': 65537, 'text_auto_correct': 32769, 'text_cap_characters': 4097, 'text_cap_sentences': 16385, 'text_cap_words': 8193, 'text_email_address': 33, 'text_email_subject': 49, 'text_filter': 177, 'text_ime_multi_line': 262145, 'text_long_message': 81, 'text_multi_line': 131073, 'text_no_suggestions': 524289, 'text_password': 129, 'text_person_name': 97, 'text_phonetic': 193, 'text_postal_address': 113, 'text_short_message': 65, 'text_uri': 17, 'text_visible_password': 145, 'text_web_edit_text': 161, 'text_web_email_address': 209, 'text_web_password': 225, 'time': 24}¶
-
TEXT_ALIGNMENT_INHERIT
= 0¶
-
TEXT_ALIGNMENT_CENTER
= 4¶
-
TEXT_ALIGNMENT_TEXT_END
= 3¶
-
TEXT_ALIGNMENT_TEXT_START
= 2¶
-
TEXT_ALIGNMENT_VIEW_START
= 5¶
-
TEXT_ALIGNMENT
= {'': 0, 'center': 4, 'justified': 0, 'left': 2, 'natural': 5, 'right': 3}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9227d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b37a0>, 'afterTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3940>, 'beforeTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3a10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onEditorAction': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3bb0>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTextChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8b3ae0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeTextChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3870>, 'setAllCaps': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927940>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setAutoLinkMask': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927a10>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3050>, 'setHighlightColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927e20>, 'setInputType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b36d0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setLetterSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3460>, 'setLineSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3390>, 'setLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b32c0>, 'setLinkTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ef0>, 'setMaxLines': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3530>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnEditorActionListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3600>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927ae0>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927c80>, 'setTextIsSelectable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927d50>, 'setTextKeepState': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a927bb0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b3120>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setTypeface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8b31f0>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_text_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_text_view.
AndroidTextView
(parent=None, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.AndroidView
,enamlnative.widgets.text_view.ProxyTextView
An Android implementation of an Enaml ProxyTextView.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'_children': <atom.list.List object at 0x7fad6b5f8440>, '_d_engine': <atom.typed.Typed object at 0x7fad6b6ca0f0>, '_d_storage': <atom.typed.Typed object at 0x7fad6b6ca230>, '_flags': <atom.scalars.Value object at 0x7fad6b6cad70>, '_parent': <atom.scalars.Value object at 0x7fad6b6caeb0>, 'activated': <atom.event.Event object at 0x7fad6b5dea50>, 'align_self': <atom.enum.Enum object at 0x7fad6b205190>, 'alpha': <atom.scalars.Float object at 0x7fad6b203410>, 'animate': <atom.scalars.Bool object at 0x7fad6b203370>, 'animations': <atom.typed.Typed object at 0x7fad6b2032d0>, 'background_color': <atom.scalars.Unicode object at 0x7fad6b2034b0>, 'bottom': <atom.scalars.Int object at 0x7fad6b203910>, 'clickable': <atom.scalars.Bool object at 0x7fad6b1f2d70>, 'clicked': <atom.event.Event object at 0x7fad6b2030f0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b1a7eb0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a922af0>, 'destroyed': <atom.event.Event object at 0x7fad6b66b2d0>, 'dp': <atom.scalars.Float object at 0x7fad6a922cd0>, 'enabled': <atom.scalars.Bool object at 0x7fad6b1f2c30>, 'flex_basis': <atom.scalars.Float object at 0x7fad6b205230>, 'flex_grow': <atom.scalars.Float object at 0x7fad6b2052d0>, 'flex_shrink': <atom.scalars.Float object at 0x7fad6b205370>, 'focusable': <atom.scalars.Bool object at 0x7fad6b1f2eb0>, 'gravity': <atom.coerced.Coerced object at 0x7fad6b203690>, 'height': <atom.coerced.Coerced object at 0x7fad6b2035f0>, 'initialized': <atom.event.Event object at 0x7fad6b6ca4b0>, 'key_event': <atom.event.Event object at 0x7fad6b203190>, 'key_events': <atom.scalars.Bool object at 0x7fad6b1f2f50>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a922eb0>, 'layout_params': <atom.instance.Instance object at 0x7fad6a922e10>, 'left': <atom.scalars.Int object at 0x7fad6b203730>, 'long_clickable': <atom.scalars.Bool object at 0x7fad6b1f2e10>, 'margin': <atom.tuple.Tuple object at 0x7fad6b203c30>, 'max_height': <atom.scalars.Int object at 0x7fad6b203a50>, 'max_width': <atom.scalars.Int object at 0x7fad6b203b90>, 'min_height': <atom.scalars.Int object at 0x7fad6b2039b0>, 'min_width': <atom.scalars.Int object at 0x7fad6b203af0>, 'name': <atom.scalars.Unicode object at 0x7fad6b6ca5f0>, 'padding': <atom.tuple.Tuple object at 0x7fad6b203d70>, 'position': <atom.enum.Enum object at 0x7fad6b2050f0>, 'proxy': <atom.typed.Typed object at 0x7fad6b205410>, 'right': <atom.scalars.Int object at 0x7fad6b203870>, 'top': <atom.scalars.Int object at 0x7fad6b2037d0>, 'touch_event': <atom.event.Event object at 0x7fad6b203230>, 'touch_events': <atom.scalars.Bool object at 0x7fad6b203050>, 'visible': <atom.scalars.Bool object at 0x7fad6b1f2cd0>, 'widget': <atom.typed.Typed object at 0x7fad6a922870>, 'width': <atom.coerced.Coerced object at 0x7fad6b203550>, 'x': <atom.scalars.Float object at 0x7fad6b203eb0>, 'y': <atom.scalars.Float object at 0x7fad6b203f50>, 'z': <atom.scalars.Float object at 0x7fad6b205050>}¶
-
__module__
= 'enamlnative.android.android_text_view'¶
-
__slots__
= ()¶
-
declaration
¶ A Typed which delays resolving the type definition.
The first time the value is accessed or modified, the type will be resolved and the forward typed will behave identically to a normal typed.
-
default_layout
¶ A value of type dict.
-
dp
¶ A value of type float.
By default, ints and longs will be promoted to floats. Pass strict=True to the constructor to enable strict float checking.
-
layout_param_type
¶ A value which allows objects subtypes of a given type.
Values will be tested using the PyObject_IsSubclass C API call. This call is equivalent to issubclass(value, kind) and all the same rules apply.
A Subclass member cannot be set to None.
-
layout_params
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
enamlnative.android.android_time_picker module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 25, 2017
@author: jrm
-
class
enamlnative.android.android_time_picker.
TimePicker
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
onTimeChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setHour
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinute
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCurrentHour
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCurrentMinute
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setIs24HourView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnTimeChangedListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83c7d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTimeChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a842ef0>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setCurrentHour': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8491f0>, 'setCurrentMinute': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8492c0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849390>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setHour': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849050>, 'setIs24HourView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849460>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setMinute': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849120>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTimeChangedListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849530>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_time_picker'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_time_picker.
AndroidTimePicker
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.time_picker.ProxyTimePicker
An Android implementation of an Enaml ProxyTimePicker.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a83c870>}¶
-
__module__
= 'enamlnative.android.android_time_picker'¶
-
__slots__
= ()¶
-
enamlnative.android.android_toast module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Sept 18, 2017
@author: jrm
-
class
enamlnative.android.android_toast.
Toast
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ Show the view for the specified duration.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
makeText
¶
-
show
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
cancel
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDuration
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setGravity
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setText
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83c050>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a83c0f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'cancel': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8497a0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'makeText': <enamlnative.android.bridge.JavaStaticMethod object at 0x7fad6b1e0dd0>, 'setDuration': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849870>, 'setGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849940>, 'setText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849a10>, 'setView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849ae0>, 'show': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8496d0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_toast'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_toast.
AndroidToast
[source]¶ Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.toast.ProxyToast
An Android implementation of an Enaml ProxyToast.
-
toast
¶ A reference to the widget created by the proxy.
-
made_toast
¶ Made toast Android doesn’t let us simply update the text of an existing toast unless it was created with “makeToast”
-
create_widget
()[source]¶ Create the underlying widget.
A toast is not a subclass of view, hence we don’t set name as widget or children will try to use it as their parent (which crashes).
-
init_widget
()[source]¶ Our widget may not exist yet so we have to diverge from the normal way of doing initialization. See update_widget
-
set_duration
(duration)[source]¶ Android for whatever stupid reason doesn’t let you set the time it only allows 1-long or 0-short. So we have to repeatedly call show until the duration expires, hence this method does nothing see set_show.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'made_toast': <atom.scalars.Bool object at 0x7fad6a83c910>, 'toast': <atom.typed.Typed object at 0x7fad6a83c730>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_toast'¶
-
__slots__
= ()¶
-
enamlnative.android.android_toggle_button module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on June 7, 2017
@author: jrm
Bases:
enamlnative.android.android_compound_button.CompoundButton
A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Bases:
enamlnative.android.android_compound_button.AndroidCompoundButton
,enamlnative.widgets.toggle_button.ProxyToggleButton
An Android implementation of an Enaml ProxyToggleButton.
A reference to the widget created by the proxy.
Create the underlying widget.
enamlnative.android.android_toolbar module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_toolbar.
Toolbar
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setTitle
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSubtitle
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setSubtitleTextColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTitleMargin
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTitleTextColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnMenuItemClickListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setContentInsetsAbsolute
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setContentInsetsRelative
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onMenuItemClick
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83c9b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onMenuItemClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a851460>, 'onNavigationClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a851390>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setContentInsetsAbsolute': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8511f0>, 'setContentInsetsRelative': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8512c0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setNavigationOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851050>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnMenuItemClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851120>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setSubtitle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849c80>, 'setSubtitleTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849d50>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setTitle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849bb0>, 'setTitleMargin': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849e20>, 'setTitleTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a849ef0>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_toolbar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_toolbar.
ToolbarLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.MarginLayoutParams
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
gravity
¶ The superclass implementation is sufficient but extend for possible future modification.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83ca50>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9b90f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'gravity': <enamlnative.android.bridge.JavaField object at 0x7fad6a9ba438>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910530>, 'setMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910460>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_toolbar'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_toolbar.
AndroidToolbar
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.toolbar.ProxyToolbar
An Android implementation of an Enaml ProxyToolbar.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a83caf0>}¶
-
__module__
= 'enamlnative.android.android_toolbar'¶
-
__slots__
= ()¶
-
enamlnative.android.android_toolkit_object module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_toolkit_object.
AndroidToolkitObject
[source]¶ Bases:
enaml.widgets.toolkit_object.ProxyToolkitObject
An Android implementation of an Enaml ProxyToolkitObject.
-
widget
¶ A reference to the toolkit widget created by the proxy.
-
create_widget
()[source]¶ Create the toolkit widget for the proxy object.
This method is called during the top-down pass, just before the ‘init_widget()’ method is called. This method should create the toolkit widget and assign it to the ‘widget’ attribute.
-
init_widget
()[source]¶ Initialize the state of the toolkit widget.
This method is called during the top-down pass, just after the ‘create_widget()’ method is called. This method should init the state of the widget. The child widgets will not yet be created.
-
init_layout
()[source]¶ Initialize the layout of the toolkit widget.
This method is called during the bottom-up pass. This method should initialize the layout of the widget. The child widgets will be fully initialized and layed out when this is called.
-
destroy
()[source]¶ A reimplemented destructor.
This destructor will clear the reference to the toolkit widget and set its parent to None.
-
parent_widget
()[source]¶ Get the parent toolkit widget for this object.
Returns: result – The toolkit widget declared on the declaration parent, or None if there is no such parent. Return type: JavaClass or None
-
child_widgets
()[source]¶ Get the child toolkit widgets for this object.
Returns: result – The child widgets defined for this object. Return type: iterable of JavaClass
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'widget': <atom.typed.Typed object at 0x7fad6a9afb90>}¶
-
__module__
= 'enamlnative.android.android_toolkit_object'¶
-
__slots__
= ()¶
-
enamlnative.android.android_usb module¶
Copyright (c) 2017-2018, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Feb 11, 2018
@author: jrm
-
class
enamlnative.android.android_usb.
UsbDevice
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
info
¶ A value of type dict.
-
getDeviceName
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getDeviceId
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getInterface
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getConfiguration
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83ccd0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getConfiguration': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8516d0>, 'getDeviceId': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851530>, 'getDeviceName': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a842c80>, 'getInterface': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851600>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'info': <atom.dict.Dict object at 0x7fad6a83cc30>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_usb'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_usb.
UsbDeviceConnection
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
close
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afaf0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a83cd70>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'close': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8517a0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_usb'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_usb.
UsbManager
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_content.SystemService
Use UsbManger.get().then(on_ready) to get an instance.
-
SERVICE_TYPE
= 'usb'¶
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
getAccessoryList
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getDeviceList
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
openAccessory
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
openDevice
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
hasPermission
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
requestPermission
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
hasPermissionAcc
¶ These names are changed to support both signatures
-
requestPermissionAcc
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83ce10>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getAccessoryList': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851870>, 'getDeviceList': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851940>, 'hasPermission': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851bb0>, 'hasPermissionAcc': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851d50>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'openAccessory': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851a10>, 'openDevice': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851ae0>, 'requestPermission': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851c80>, 'requestPermissionAcc': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a851e20>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_usb'¶
-
__slots__
= ()¶
-
enamlnative.android.android_utils module¶
enamlnative.android.android_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_view.
View
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
VISIBILITY_VISIBLE
= 0¶
-
VISIBILITY_INVISIBLE
= 4¶
-
VISIBILITY_GONE
= 8¶
-
onClick
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onKey
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onTouch
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setOnClickListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnKeyListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOnTouchListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setBackgroundColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setClickable
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlpha
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTop
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setBottom
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLeft
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setRight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLayoutDirection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLayoutParams
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPadding
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
getWindowToken
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setX
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setY
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setZ
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaximumHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaximumWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinimumHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinimumWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTag
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setToolTipText
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setVisibility
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
LAYOUT_DIRECTIONS
= {'inherit': 2, 'locale': 3, 'ltr': 0, 'rtl': 1}¶
-
GRAVITIES
= {'bottom': 80, 'center': 11, 'center_horizontal': 1, 'center_vertical': 16, 'end': 8388613, 'fill': 119, 'fill_horizontal': 7, 'fill_vertical': 112, 'left': 3, 'no_gravity': 0, 'right': 5, 'start': 8388611, 'top': 48}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afcd0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view.
LayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
width
¶ The superclass implementation is sufficient but extend for possible future modification.
-
height
¶ The superclass implementation is sufficient but extend for possible future modification.
-
LAYOUTS
= {'fill_parent': -1, 'match_parent': -1, 'wrap_content': -2}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afd70>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view.
AndroidView
[source]¶ Bases:
enamlnative.android.android_toolkit_object.AndroidToolkitObject
,enamlnative.widgets.view.ProxyView
An Android implementation of an Enaml ProxyView.
-
widget
¶ A reference to the widget created by the proxy.
-
dp
¶ Display metrics density
-
layout_param_type
¶ Layout type
-
layout_params
¶ Layout params
-
default_layout
¶ Default layout params
-
init_widget
()[source]¶ Initialize the underlying widget.
This reads all items declared in the enamldef block for this node and sets only the values that have been specified. All other values will be left as default. Doing it this way makes atom to only create the properties that need to be overridden from defaults thus greatly reducing the number of initialization checks, saving time and memory.
If you don’t want this to happen override get_declared_keys to return an empty list.
-
get_declared_items
()[source]¶ Get the members that were set in the enamldef block for this Declaration. Layout keys are grouped together until the end so as to avoid triggering multiple updates.
Returns: result – List of keys and values Return type: List of (k,v) pairs that were defined for this widget in enaml
-
set_layout
(layout)[source]¶ Sets the LayoutParams of this widget.
Since the available properties that may be set for the layout params depends on the parent, actual creation of the params is delegated to the parent
Parameters: layout (Dict) – A dict of layout parameters the parent should used to layout this child. The widget defaults are updated with user passed values.
-
update_layout
(**params)[source]¶ Updates the LayoutParams of this widget.
This delegates to the parent and expects the parent to update the existing layout without recreating it.
Parameters: params (Dict) – A dict of layout parameters the parent should used to layout this child. The widget defaults are updated with user passed values.
-
create_layout_params
(child, layout)[source]¶ Create the LayoutParams for a child with it’s requested layout parameters. Subclasses should override this as needed to handle layout specific needs.
Parameters: Returns: layout_params – A LayoutParams bridge object with the requested layout options.
Return type:
-
apply_layout
(child, layout)[source]¶ Apply a layout to a child. This sets the layout_params of the child which is later used during the init_layout pass. Subclasses should override this as needed to handle layout specific needs of the ViewGroup.
Parameters:
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b92d0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9aff50>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a9afe10>}¶
-
__module__
= 'enamlnative.android.android_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_view_animator module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_view_animator.
ViewAnimator
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_frame_layout.FrameLayout
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a83ceb0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setForegroundGravity': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8c4ef0>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMeasureAllChildren': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8cc050>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_animator'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_animator.
AndroidViewAnimator
[source]¶ Bases:
enamlnative.android.android_frame_layout.AndroidFrameLayout
,enamlnative.widgets.view_animator.ProxyViewAnimator
An Android implementation of an Enaml ProxyViewAnimator.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a8bac30>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a576050>}¶
-
__module__
= 'enamlnative.android.android_view_animator'¶
-
__slots__
= ()¶
-
enamlnative.android.android_view_group module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_view_group.
ViewGroup
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.View
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
addViewWithParams
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
removeView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLayoutTransition
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9b9050>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_group'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_group.
MarginLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.LayoutParams
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__signature__
¶ A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
-
setMargins
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setLayoutDirection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9b9190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9b90f0>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910530>, 'setMargins': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910460>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_view_group'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_group.
LayoutTransition
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9b9230>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_group'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_group.
AndroidViewGroup
[source]¶ Bases:
enamlnative.android.android_view.AndroidView
,enamlnative.widgets.view_group.ProxyViewGroup
An Android implementation of an Enaml ProxyViewGroup.
-
widget
¶ A reference to the widget created by the proxy.
-
layout_param_type
¶ Layout type
-
default_layout
¶ Default layout params
-
child_added
(child)[source]¶ Handle the child added event from the declaration.
This handler will unparent the child toolkit widget. Subclasses which need more control should reimplement this method.
-
child_removed
(child)[source]¶ Handle the child removed event from the declaration.
This handler will unparent the child toolkit widget. Subclasses which need more control should reimplement this method.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a9b9370>}¶
-
__module__
= 'enamlnative.android.android_view_group'¶
-
__slots__
= ()¶
-
enamlnative.android.android_view_pager module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
-
class
enamlnative.android.android_view_pager.
ViewPager
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
addOnPageChangeListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCurrentItem
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOffscreenPageLimit
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPageMargin
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAdapter
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onPageScrollStateChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onPageScrolled
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onPageSelected
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
setPagingEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPageTransformer
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878050>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addOnPageChangeListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8df390>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onPageScrollStateChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8e7bb0>, 'onPageScrolled': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8e7c80>, 'onPageSelected': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8e7d50>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAdapter': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7ae0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setCurrentItem': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7870>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOffscreenPageLimit': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7940>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setPageMargin': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7a10>, 'setPageTransformer': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7ef0>, 'setPagingEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8e7e20>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
enamlnative.android.android_view_pager.
bundle_id
= 'com.eftimoff.viewpagertransformers'¶ Create builtin ones See https://github.com/geftimov/android-viewpager-transformers/wiki
-
class
enamlnative.android.android_view_pager.
PageTransformer
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
A PageTransformer factory
-
__cache__
= {}¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afaf0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
ViewPagerLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.LayoutParams
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
gravity
¶ The superclass implementation is sufficient but extend for possible future modification.
-
isDecor
¶ The superclass implementation is sufficient but extend for possible future modification.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8780f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'gravity': <enamlnative.android.bridge.JavaField object at 0x7fad6a9ba118>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'isDecor': <enamlnative.android.bridge.JavaField object at 0x7fad6a9ba2a8>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
PagerTitleStrip
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setNonPrimaryAlpha
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setCurrentItem
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextSize
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTextSpacing
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
requestLayout
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
COMPLEX_UNIT_SP
= 2¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'requestLayout': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c460>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setCurrentItem': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c120>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setNonPrimaryAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c050>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c1f0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c2c0>, 'setTextSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c390>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
PagerTabStrip
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_pager.PagerTitleStrip
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setTabIndicatorColor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDrawFullUnderline
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a878230>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'requestLayout': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c460>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setCurrentItem': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c120>, 'setDrawFullUnderline': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c600>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setNonPrimaryAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c050>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTabIndicatorColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c530>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setTextColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c1f0>, 'setTextSize': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c2c0>, 'setTextSpacing': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c390>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
BridgedFragmentStatePagerAdapter
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
addFragment
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
removeFragment
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setTitles
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
clearTitles
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
notifyDataSetChanged
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a8782d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addFragment': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c6d0>, 'clearTitles': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c940>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'notifyDataSetChanged': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87ca10>, 'removeFragment': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c7a0>, 'setTitles': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a87c870>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
AndroidViewPager
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.view_pager.ProxyViewPager
An Android implementation of an Enaml ProxyViewPager.
-
widget
¶ A reference to the widget created by the proxy.
-
adapter
¶ Adapter
-
pages
¶ Get pages
-
set_current_index
(index)[source]¶ We can only set the index once the page has been created. otherwise we get FragmentManager is already executing transactions errors in Java. To avoid this, we only call this once has been loaded.
-
apply_layout
(child, layout)[source]¶ Apply a layout to a child. This sets the layout_params of the child which is later used during the init_layout pass. Subclasses should override this as needed to handle layout specific needs of the ViewGroup.
Parameters:
-
__atom_members__
= {'_notify_count': <atom.scalars.Int object at 0x7fad6a8784b0>, '_notify_delay': <atom.scalars.Int object at 0x7fad6a878550>, '_pending_calls': <atom.list.List object at 0x7fad6a9b6398>, 'adapter': <atom.typed.Typed object at 0x7fad6a878410>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a878370>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
AndroidPagerTitleStrip
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.view_pager.ProxyPagerTitleStrip
An Android implementation of an Enaml ProxyPagerTitleStrip.
-
widget
¶ A reference to the widget created by the proxy.
-
default_layout
¶ A value of type dict.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a878690>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a8785f0>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_view_pager.
AndroidPagerTabStrip
[source]¶ Bases:
enamlnative.android.android_view_pager.AndroidPagerTitleStrip
,enamlnative.widgets.view_pager.ProxyPagerTabStrip
An Android implementation of an Enaml ProxyViewPager.
-
widget
¶ A reference to the widget created by the proxy.
-
__atom_members__
= {'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a878690>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a878730>}¶
-
__module__
= 'enamlnative.android.android_view_pager'¶
-
__slots__
= ()¶
-
enamlnative.android.android_view_switcher module¶
enamlnative.android.android_web_view module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 7, 2017
@author: jrm
-
class
enamlnative.android.android_web_view.
WebView
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
loadUrl
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
loadData
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
loadDataWithBaseURL
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWebViewClient
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
reload
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
goBack
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
goForward
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
zoomIn
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
zoomOut
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a576190>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'goBack': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578530>, 'goForward': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578600>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'loadData': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5781f0>, 'loadDataWithBaseURL': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5782c0>, 'loadUrl': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578120>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'reload': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578460>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setWebViewClient': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578390>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'zoomIn': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5786d0>, 'zoomOut': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5787a0>}¶
-
__module__
= 'enamlnative.android.android_web_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_web_view.
BridgedWebViewClient
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setWebView
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setJavaScriptEnabled
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onLoadResource
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onPageStarted
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onPageFinished
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onScaleChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onReceivedError
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onProgressChanged
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onReceivedTitle
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5760f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onLoadResource': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578a10>, 'onPageFinished': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578bb0>, 'onPageStarted': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578ae0>, 'onProgressChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578e20>, 'onReceivedError': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578d50>, 'onReceivedTitle': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578ef0>, 'onScaleChanged': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a578c80>, 'setJavaScriptEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578940>, 'setWebView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578870>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_web_view'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_web_view.
AndroidWebView
[source]¶ Bases:
enamlnative.android.android_view_group.AndroidViewGroup
,enamlnative.widgets.web_view.ProxyWebView
An Android implementation of an Enaml ProxyWebView.
-
widget
¶ A reference to the widget created by the proxy.
-
client
¶ A client for listening to web view events
-
set_source
(source)[source]¶ Set the raw HTML of this page to load. For loading from a file or http resource use the url instead.
-
__atom_members__
= {'client': <atom.typed.Typed object at 0x7fad6a5762d0>, 'declaration': <atom.typed.ForwardTyped object at 0x7fad6b2a88f0>, 'default_layout': <atom.dict.Dict object at 0x7fad6a9b94b0>, 'dp': <atom.scalars.Float object at 0x7fad6a9afeb0>, 'layout_param_type': <atom.subclass.Subclass object at 0x7fad6a9b9410>, 'layout_params': <atom.instance.Instance object at 0x7fad6a9afa50>, 'widget': <atom.typed.Typed object at 0x7fad6a576230>}¶
-
__module__
= 'enamlnative.android.android_web_view'¶
-
__slots__
= ()¶
-
enamlnative.android.android_wifi module¶
enamlnative.android.android_window module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 24, 2017
@author: jrm
-
class
enamlnative.android.android_window.
Window
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
Access to the activity over the bridge
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
FLAG_KEEP_SCREEN_ON
= 128¶
-
addFlags
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
clearFlags
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a576370>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addFlags': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a578050>, 'clearFlags': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581050>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_window'¶
-
__slots__
= ()¶
-
enamlnative.android.android_yoga module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Nov 29, 2017
@author: jrm
-
class
enamlnative.android.android_yoga.
YogaNode
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
reset
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addChildAt
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
removeChildAt
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
calculateLayout
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
markLayoutSeen
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
copyStyle
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDirection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexDirection
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setJustifyContent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignItems
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignSelf
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAlignContent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPositionType
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWrap
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setOverflow
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setDisplay
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlex
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexGrow
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexShrink
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexBasis
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexBasisPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setFlexBasisAuto
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMargin
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMarginPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMarginAuto
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPadding
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPaddingPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPaddingAuto
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setBorder
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPosition
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setPositionPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWidthPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setWidthAuto
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHeightPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setHeightAuto
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinWidthPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMinHeightPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxWidth
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxWidthPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxHeight
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setMaxHeightPercent
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
setAspectRatio
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a576550>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addChildAt': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5811f0>, 'calculateLayout': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581390>, 'copyStyle': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581530>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'markLayoutSeen': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581460>, 'removeChildAt': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5812c0>, 'reset': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581120>, 'setAlignContent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581a10>, 'setAlignItems': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581870>, 'setAlignSelf': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581940>, 'setAspectRatio': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5976d0>, 'setBorder': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582870>, 'setDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581600>, 'setDisplay': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581d50>, 'setFlex': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581e20>, 'setFlexBasis': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582120>, 'setFlexBasisAuto': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5822c0>, 'setFlexBasisPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5821f0>, 'setFlexDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5816d0>, 'setFlexGrow': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581ef0>, 'setFlexShrink': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582050>, 'setHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582d50>, 'setHeightAuto': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582ef0>, 'setHeightPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582e20>, 'setJustifyContent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5817a0>, 'setMargin': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582390>, 'setMarginAuto': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582530>, 'setMarginPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582460>, 'setMaxHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597530>, 'setMaxHeightPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597600>, 'setMaxWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597390>, 'setMaxWidthPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597460>, 'setMinHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5971f0>, 'setMinHeightPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5972c0>, 'setMinWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597050>, 'setMinWidthPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597120>, 'setOverflow': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582600>, 'setPaddingAuto': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5827a0>, 'setPaddingPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5826d0>, 'setPosition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582940>, 'setPositionPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582a10>, 'setPositionType': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581ae0>, 'setWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582ae0>, 'setWidthAuto': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582c80>, 'setWidthPercent': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a582bb0>, 'setWrap': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a581bb0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_yoga'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_yoga.
YogaLayoutParams
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view.LayoutParams
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5765f0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'height': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfb40>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'width': <enamlnative.android.bridge.JavaField object at 0x7fad6b1cfa78>}¶
-
__module__
= 'enamlnative.android.android_yoga'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.android_yoga.
YogaLayout
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.android_view_group.ViewGroup
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a576690>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6a9afc30>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9101f0>, 'addViewWithParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'getWindowToken': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d6d0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClick': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4870>, 'onKey': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4940>, 'onTouch': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4a10>, 'removeView': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a9102c0>, 'setAlpha': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d050>, 'setBackgroundColor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4e20>, 'setBottom': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d1f0>, 'setClickable': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ef0>, 'setEnabled': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dd50>, 'setLayoutDirection': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d460>, 'setLayoutParams': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d530>, 'setLayoutTransition': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910390>, 'setLeft': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d2c0>, 'setMaximumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90da10>, 'setMaximumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dae0>, 'setMinimumHeight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dbb0>, 'setMinimumWidth': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90dc80>, 'setOnClickListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4ae0>, 'setOnKeyListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4bb0>, 'setOnTouchListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a8f4c80>, 'setPadding': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d600>, 'setRight': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d390>, 'setTag': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90de20>, 'setToolTipText': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90def0>, 'setTop': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d120>, 'setVisibility': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a910050>, 'setX': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d7a0>, 'setY': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d870>, 'setZ': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a90d940>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.android_yoga'¶
-
__slots__
= ()¶
-
enamlnative.android.api module¶
enamlnative.android.app module¶
enamlnative.android.bridge module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on June 21, 2017
@author: jrm
-
class
enamlnative.android.bridge.
JavaMethod
(*args, **kwargs)[source]¶ Bases:
enamlnative.core.bridge.BridgeMethod
Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
pack_args
(obj, *args, **kwargs)[source]¶ Subclasses should implement this to pack args as needed for the native bridge implementation. Must return a tuple containing (“methodName”, [list, of, encoded, args])
-
__dict__
= dict_proxy({'pack_args': <function pack_args>, '__dict__': <attribute '__dict__' of 'JavaMethod' objects>, '__module__': 'enamlnative.android.bridge', '__weakref__': <attribute '__weakref__' of 'JavaMethod' objects>, '__doc__': ' Description of a method of a View (or subclass) in Java. When called, \n this serializes call, packs the arguments, and delegates handling to a \n bridge in Java.\n \n '})¶
-
__module__
= 'enamlnative.android.bridge'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
enamlnative.android.bridge.
JavaStaticMethod
(*args, **kwargs)[source]¶ Bases:
enamlnative.core.bridge.BridgeStaticMethod
-
pack_args
(*args, **kwargs)[source]¶ Subclasses should implement this to pack args as needed for the native bridge implementation. Must return a tuple containing (“methodName”, [list, of, encoded, args])
-
__dict__
= dict_proxy({'pack_args': <function pack_args>, '__dict__': <attribute '__dict__' of 'JavaStaticMethod' objects>, '__module__': 'enamlnative.android.bridge', '__weakref__': <attribute '__weakref__' of 'JavaStaticMethod' objects>, '__doc__': None})¶
-
__module__
= 'enamlnative.android.bridge'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
enamlnative.android.bridge.
JavaField
(arg)[source]¶ Bases:
enamlnative.core.bridge.BridgeField
The superclass implementation is sufficient but extend for possible future modification.
-
__dict__
= dict_proxy({'__dict__': <attribute '__dict__' of 'JavaField' objects>, '__module__': 'enamlnative.android.bridge', '__weakref__': <attribute '__weakref__' of 'JavaField' objects>, '__doc__': ' The superclass implementation is sufficient but extend for possible \n future modification.\n\n '})¶
-
__module__
= 'enamlnative.android.bridge'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
-
class
enamlnative.android.bridge.
JavaCallback
(*args, **kwargs)[source]¶ Bases:
enamlnative.core.bridge.BridgeCallback
,enamlnative.android.bridge.JavaMethod
Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
pack_args
(obj, *args, **kwargs)[source]¶ Subclasses should implement this to pack args as needed for the native bridge implementation. Must return a tuple containing (“methodName”, [list, of, encoded, args])
-
__module__
= 'enamlnative.android.bridge'¶
-
-
class
enamlnative.android.bridge.
JavaBridgeObject
(*args, **kwargs)[source]¶ Bases:
enamlnative.core.bridge.BridgeObject
A proxy to a class in java. This sends the commands over the bridge for execution. The object is stored in a map with the given id and is valid until this object is deleted.
Parameters: __id__ (Int) – If an __id__ keyward argument is passed during creation, this will assume the object was already created and only a reference to the object with the given id is needed. -
__nativeclass__
¶ Java Class name
-
hashCode
¶ A callback with an implementation built in
-
toString
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
equals
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afaf0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.bridge'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.bridge.
JavaProxy
(ref=None, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
A bridge object that creates a Proxy for the given ref. This should NOT be given any JavaMethods or JavaFields, however JavaCallbacks are fine.
These are generally throw away usages. Only save them if you need to use them as a reference later (such as when removing a listener).
Parameters: ref (JavaBridgeObject) – The bridge object that should receive all of the callbacks invocations. If none is given it will send them to the proxy itself. -
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a9afaf0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.bridge'¶
-
__slots__
= ()¶
-
enamlnative.android.factories module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on May 20, 2017
@author: jrm
enamlnative.android.http module¶
Copyright (c) 2017, CodeLV.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on July 18, 2017
@author: jrm
-
class
enamlnative.android.http.
BridgedAsyncHttpCallback
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
setAsyncHttpResponseListener
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
onStart
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onProgress
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onProgressData
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onFinish
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onRetry
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onCancel
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onSuccess
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onFailure
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4690>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onCancel': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597c80>, 'onFailure': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597e20>, 'onFinish': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597ae0>, 'onProgress': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597940>, 'onProgressData': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597a10>, 'onRetry': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597bb0>, 'onStart': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597870>, 'onSuccess': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a597d50>, 'setAsyncHttpResponseListener': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5977a0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
Call
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
cancel
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
clone
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
enqueue
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
execute
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
request
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4730>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'cancel': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a597ef0>, 'clone': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7050>, 'enqueue': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7120>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'execute': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a71f0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'request': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a72c0>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
Interceptor
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a47d0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
OkHttpClient
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
OkHttp performs best when you create a single OkHttpClient instance and reuse it for all of your HTTP calls. This is because each client holds its own connection pool and thread pools. Reusing connections and threads reduces latency and saves memory. Conversely, creating a client for each request wastes resources on idle pools.
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
newCall
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
newWebSocket
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
class
Builder
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
addNetworkInterceptor
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
build
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4870>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addNetworkInterceptor': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7530>, 'build': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7600>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4910>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'newCall': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7390>, 'newWebSocket': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7460>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
MediaType
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
parse
¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a49b0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'parse': <enamlnative.android.bridge.JavaStaticMethod object at 0x7fad6a96bea8>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
RequestBody
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
create
¶
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4a50>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'create': <enamlnative.android.bridge.JavaStaticMethod object at 0x7fad6a5aa050>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
Request
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
class
Builder
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
url
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
addHeader
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
method
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
get
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
put
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
delete
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
build
¶ Description of a method of a View (or subclass) in Java. When called, this serializes call, packs the arguments, and delegates handling to a bridge in Java.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4af0>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'addHeader': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a77a0>, 'build': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7bb0>, 'delete': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7ae0>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'get': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7940>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'method': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7870>, 'put': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a7a10>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>, 'url': <enamlnative.android.bridge.JavaMethod object at 0x7fad6a5a76d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4b90>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
WebSocketListener
(*args, **kwargs)[source]¶ Bases:
enamlnative.android.bridge.JavaBridgeObject
-
__nativeclass__
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
onClosed
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onClosing
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onFailure
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onMessage
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
onOpen
¶ Description of a callback method of a View (or subclass) in Java. When called, it fires the connected callback. This is triggered when it receives an event from the bridge indicating the call has occured.
-
__atom_members__
= {'__app__': <atom.instance.ForwardInstance object at 0x7fad6b2a89a8>, '__bridge_id__': <atom.scalars.Int object at 0x7fad6b25e2d0>, '__callbacks__': <atom.dict.Dict object at 0x7fad6b25e0f0>, '__id__': <atom.scalars.Int object at 0x7fad6b25e050>, '__nativeclass__': <atom.scalars.Unicode object at 0x7fad6a5a4c30>, '__prefix__': <atom.scalars.Unicode object at 0x7fad6b25e190>, '__signature__': <atom.tuple.Tuple object at 0x7fad6b231f50>, '__suppressed__': <atom.dict.Dict object at 0x7fad6b231e10>, 'equals': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f47a0>, 'hashCode': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f4600>, 'onClosed': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a5a7c80>, 'onClosing': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a5a7d50>, 'onFailure': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a5a7e20>, 'onMessage': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a5a7ef0>, 'onOpen': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a5ad050>, 'toString': <enamlnative.android.bridge.JavaCallback object at 0x7fad6a8f46d0>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
-
class
enamlnative.android.http.
AndroidHttpRequest
(*args, **kwargs)[source]¶ Bases:
enamlnative.core.http.HttpRequest
-
call
¶ okhttp3.Call that can be used to cancel the request
-
request
¶ okhttp3.Request
-
handler
¶ Handles the async callbacks
-
__atom_members__
= {'body': <atom.scalars.Unicode object at 0x7fad6a5a4eb0>, 'call': <atom.instance.Instance object at 0x7fad6a5a4cd0>, 'callback': <atom.scalars.Callable object at 0x7fad6a576cd0>, 'content_type': <atom.scalars.Unicode object at 0x7fad6a576b90>, 'data': <atom.dict.Dict object at 0x7fad6a576af0>, 'handler': <atom.instance.Instance object at 0x7fad6a5a4e10>, 'headers': <atom.dict.Dict object at 0x7fad6a5769b0>, 'method': <atom.scalars.Unicode object at 0x7fad6a576910>, 'request': <atom.instance.Instance object at 0x7fad6a5a4d70>, 'response': <atom.instance.ForwardInstance object at 0x7fad6a967df8>, 'retries': <atom.scalars.Int object at 0x7fad6a576a50>, 'start_time': <atom.scalars.Float object at 0x7fad6a576e10>, 'streaming_callback': <atom.scalars.Callable object at 0x7fad6a576d70>, 'url': <atom.scalars.Unicode object at 0x7fad6a576870>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-
body
¶ A value of type unicode.
By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.
-
-
class
enamlnative.android.http.
AsyncHttpClient
[source]¶ Bases:
enamlnative.core.http.AbstractAsyncHttpClient
An AsyncHttpClient that lets you fetch using a format similar to tornado’s AsyncHTTPClient but using the Android native Loopj library.
This is done instead of using a python library so it handles all SSL stuff for us. Otherwise we have to compile and link all the SSL libraries with python which makes the app huge (at least 5Mb in ssl libs alone) and the build process even more complicated.
-
client
¶ The client that actually does the request
-
request_factory
¶ Set this as the request factory
-
__atom_members__
= {'client': <atom.instance.Instance object at 0x7fad6a5a4f50>, 'request_factory': <atom.subclass.Subclass object at 0x7fad5400b050>, 'requests': <atom.list.List object at 0x7fad6a9b6830>}¶
-
__module__
= 'enamlnative.android.http'¶
-
__slots__
= ()¶
-