A B C E F G H I J N O P R S T V W

A

ActionResult - Class in org.kt3k.straw
 
ActionResult(StrawDrink) - Constructor for class org.kt3k.straw.ActionResult
 
ActionResult(String, Boolean, String) - Constructor for class org.kt3k.straw.ActionResult
 
ActionResult(String, Boolean, String, Boolean) - Constructor for class org.kt3k.straw.ActionResult
 
activity - Variable in class org.kt3k.straw.StrawPlugin
 
addPlugin(String) - Method in class org.kt3k.straw.Straw
 
addPlugins(String[]) - Method in class org.kt3k.straw.Straw
 

B

BACK_PRESSED - Static variable in class org.kt3k.straw.StrawPlugin.EventType
 
Background - Annotation Type in org.kt3k.straw.annotation
 

C

clearPlugins() - Method in class org.kt3k.straw.Straw
 
context - Variable in class org.kt3k.straw.StrawPlugin
 
create(StrawPlugin, Method) - Static method in class org.kt3k.straw.StrawEventHandlerFactory
create StrawEventHandler from plugin and method
create(StrawPlugin) - Static method in class org.kt3k.straw.StrawEventHandlerFactory
 
create(StrawPlugin[]) - Static method in class org.kt3k.straw.StrawEventHandlerFactory
 
createPluginAction(Method, StrawPlugin) - Static method in class org.kt3k.straw.StrawPluginActionFactory
 
createPluginActions() - Method in class org.kt3k.straw.StrawPlugin
 

E

EventHandler - Annotation Type in org.kt3k.straw.annotation
 
exec() - Method in class org.kt3k.straw.StrawDrink
 

F

fail(String, String) - Method in class org.kt3k.straw.StrawDrink
 

G

get(String) - Method in class org.kt3k.straw.StrawEventHandlerRepository
 
get(String) - Method in class org.kt3k.straw.StrawPluginActionRepository
 
getActionName() - Method in class org.kt3k.straw.StrawDrink
 
getArgumentJson() - Method in class org.kt3k.straw.StrawDrink
 
getCallbackId() - Method in class org.kt3k.straw.StrawDrink
 
getEventName() - Method in class org.kt3k.straw.StrawEventHandler
 
getKeepAlive() - Method in class org.kt3k.straw.StrawDrink
 
getMethod() - Method in class org.kt3k.straw.StrawEventHandler
 
getName() - Method in class org.kt3k.straw.StrawPlugin
returns straw-plugin's name
getPlugin() - Method in class org.kt3k.straw.StrawEventHandler
 
getPluginName() - Method in class org.kt3k.straw.StrawDrink
 
getPrintStackTrace() - Static method in class org.kt3k.straw.StrawLog
 
getRegistry() - Method in class org.kt3k.straw.Straw
 
getResultJson() - Method in class org.kt3k.straw.StrawDrink
 
getType() - Method in class org.kt3k.straw.StrawEvent
 
gson - Static variable in class org.kt3k.straw.StrawUtil
 

H

hasAnnotation(Method, Class<? extends Annotation>) - Static method in class org.kt3k.straw.StrawUtil
 

I

insertInto(WebView) - Static method in class org.kt3k.straw.Straw
 
invoke(StrawEvent) - Method in class org.kt3k.straw.StrawEventHandler
invoke straw event handler with event
isSuccess() - Method in class org.kt3k.straw.StrawDrink
 

J

join(T[], String) - Static method in class org.kt3k.straw.StrawUtil
 
JS_TO_NATIVE_INTERFACE_NAME - Static variable in class org.kt3k.straw.Straw
 
jsonToObj(String, Class<T>) - Static method in class org.kt3k.straw.StrawUtil
 

N

NATIVE_TO_JS_INTERFACE_NAME - Static variable in class org.kt3k.straw.Straw
 

O

objToJson(Object) - Static method in class org.kt3k.straw.StrawUtil
 
onBackPressed() - Method in class org.kt3k.straw.Straw
call this method inside the activity's `onBackPressed`
org.kt3k.straw - package org.kt3k.straw
 
org.kt3k.straw.annotation - package org.kt3k.straw.annotation
 

P

PluginAction - Annotation Type in org.kt3k.straw.annotation
The annotation indicating the method is plugin action
postJsMessage(String) - Method in class org.kt3k.straw.Straw
 
printFrameworkError(Throwable, String) - Static method in class org.kt3k.straw.StrawLog
 
printFrameworkError(String) - Static method in class org.kt3k.straw.StrawLog
 
printPluginError(Throwable, String) - Static method in class org.kt3k.straw.StrawLog
 
printPluginError(String) - Static method in class org.kt3k.straw.StrawLog
 
put(String, StrawPluginAction) - Method in class org.kt3k.straw.StrawPluginActionRepository
 

R

removePlugin(String) - Method in class org.kt3k.straw.Straw
 
rootHandler(StrawEvent) - Method in class org.kt3k.straw.Straw
handler root (called by each handler)
RunOnUiThread - Annotation Type in org.kt3k.straw.annotation
Annotation for action methods to indicate that the method run on UiThread (main thread) This is useful for ui manipulation plugins

S

setContext(Context) - Method in class org.kt3k.straw.StrawPlugin
 
setKeepAlive(Boolean) - Method in class org.kt3k.straw.StrawDrink
 
setPrinter(Printer) - Static method in class org.kt3k.straw.StrawLog
 
setPrintStackTrace(Boolean) - Static method in class org.kt3k.straw.StrawLog
 
setWebView(WebView) - Method in class org.kt3k.straw.StrawPlugin
 
store(StrawEventHandler) - Method in class org.kt3k.straw.StrawEventHandlerRepository
 
store(List<StrawEventHandler>) - Method in class org.kt3k.straw.StrawEventHandlerRepository
 
Straw - Class in org.kt3k.straw
 
Straw(WebView) - Constructor for class org.kt3k.straw.Straw
 
StrawDrink - Class in org.kt3k.straw
StrawDrink represents the straw api's execution context one StrawDrink for each straw API call other naming candidates were: StrawCall, StrawShot, StrawContext etc
StrawDrink(String, String, String, String, Straw) - Constructor for class org.kt3k.straw.StrawDrink
 
StrawDrink.SingleIntegerValueResult - Class in org.kt3k.straw
generic plugin's result class for single Integer value result
StrawDrink.SingleIntegerValueResult(Integer) - Constructor for class org.kt3k.straw.StrawDrink.SingleIntegerValueResult
 
StrawDrink.SingleStringValueResult - Class in org.kt3k.straw
generic plugin's result class for single String value result
StrawDrink.SingleStringValueResult(String) - Constructor for class org.kt3k.straw.StrawDrink.SingleStringValueResult
 
StrawEvent - Class in org.kt3k.straw
 
StrawEvent(String) - Constructor for class org.kt3k.straw.StrawEvent
 
StrawEventHandler - Class in org.kt3k.straw
 
StrawEventHandler(StrawPlugin, String, Method, Boolean) - Constructor for class org.kt3k.straw.StrawEventHandler
 
StrawEventHandlerFactory - Class in org.kt3k.straw
 
StrawEventHandlerFactory() - Constructor for class org.kt3k.straw.StrawEventHandlerFactory
 
StrawEventHandlerRepository - Class in org.kt3k.straw
 
StrawEventHandlerRepository() - Constructor for class org.kt3k.straw.StrawEventHandlerRepository
 
StrawLog - Class in org.kt3k.straw
 
StrawLog() - Constructor for class org.kt3k.straw.StrawLog
 
StrawPlugin - Class in org.kt3k.straw
 
StrawPlugin() - Constructor for class org.kt3k.straw.StrawPlugin
 
StrawPlugin.EventType - Class in org.kt3k.straw
 
StrawPlugin.EventType() - Constructor for class org.kt3k.straw.StrawPlugin.EventType
 
StrawPlugin.SingleIntegerParam - Class in org.kt3k.straw
 
StrawPlugin.SingleIntegerParam() - Constructor for class org.kt3k.straw.StrawPlugin.SingleIntegerParam
 
StrawPlugin.SingleStringParam - Class in org.kt3k.straw
 
StrawPlugin.SingleStringParam() - Constructor for class org.kt3k.straw.StrawPlugin.SingleStringParam
 
StrawPluginActionFactory - Class in org.kt3k.straw
 
StrawPluginActionFactory() - Constructor for class org.kt3k.straw.StrawPluginActionFactory
 
StrawPluginActionRepository - Class in org.kt3k.straw
 
StrawPluginActionRepository() - Constructor for class org.kt3k.straw.StrawPluginActionRepository
 
StrawUtil - Class in org.kt3k.straw
 
StrawUtil() - Constructor for class org.kt3k.straw.StrawUtil
 
success() - Method in class org.kt3k.straw.StrawDrink
notify Straw Framework that plugin excecution is success without any value
success(Integer) - Method in class org.kt3k.straw.StrawDrink
notify Straw Framework that plugin excecution is success with Integer value
success(String) - Method in class org.kt3k.straw.StrawDrink
notify Straw Framework that plugin excecution is success with String value
success(Object) - Method in class org.kt3k.straw.StrawDrink
notify Straw Framework that plugin excecution is success with Custom object value

T

toJsMessage() - Method in class org.kt3k.straw.ActionResult
 
toJsMessage(StrawDrink) - Static method in class org.kt3k.straw.ActionResult
 
toString() - Method in class org.kt3k.straw.StrawDrink
 
toString() - Method in class org.kt3k.straw.StrawEvent
 

V

value - Variable in class org.kt3k.straw.StrawDrink.SingleIntegerValueResult
 
value - Variable in class org.kt3k.straw.StrawDrink.SingleStringValueResult
 
value - Variable in class org.kt3k.straw.StrawPlugin.SingleIntegerParam
 
value - Variable in class org.kt3k.straw.StrawPlugin.SingleStringParam
 

W

webView - Variable in class org.kt3k.straw.StrawPlugin
 

A B C E F G H I J N O P R S T V W