Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EverythingMe/plaxien
/ functions
Functions
67 in github.com/EverythingMe/plaxien
⨍
Functions
67
◇
Types & classes
18
↓ 16 callers
Method
addChild
Add a child node to the node. This allows using a builder pattern for constructing trees @param title the child's title @param expanded whether the ch
src/main/java/me/everything/plaxien/Explain.java:109
↓ 12 callers
Method
size
()
src/main/java/me/everything/plaxien/Explain.java:181
↓ 9 callers
Method
addValue
Add a value child node @param name the value name @param value the value itself. It can be anything, as long as it implements a sane toString() @retur
src/main/java/me/everything/plaxien/Explain.java:135
↓ 6 callers
Method
getNodeView
Get the tree view for a single node. @param node The node holding the data @return a Node view
src/main/java/me/everything/plaxien/ExplainViewFactory.java:101
↓ 5 callers
Method
toString
()
src/main/java/me/everything/plaxien/Explain.java:264
↓ 3 callers
Method
fromJSON
From an internal json representation. DO NOT USE THIS FOR SERVER GENERATED JSONS, this is for internal serialization and dumping only @param rawJSON @
src/main/java/me/everything/plaxien/Explain.java:203
↓ 3 callers
Method
toJSON
To an internal json representation @return
src/main/java/me/everything/plaxien/Explain.java:190
↓ 3 callers
Method
writeDump
Dump a json string to the out file
src/main/java/me/everything/plaxien/ExplainActivity.java:77
↓ 2 callers
Method
createDumpFile
Create a shared dump file for a json explain @param name the name of the file - practically the root title @param context the app context
src/main/java/me/everything/plaxien/ExplainActivity.java:70
↓ 2 callers
Method
createIntent
Convenience function to create a new explain intent for launching @param context the app context @param rootTitle the title of the explain activity @p
src/main/java/me/everything/plaxien/ExplainActivity.java:54
↓ 2 callers
Method
explainFromJsonFile
Create an explain activity from a JSON file that already exists on the device @param context the app context @param rootTitle the title of the explain
src/main/java/me/everything/plaxien/ExplainActivity.java:155
↓ 2 callers
Method
getExplain
(Object ...args)
src/main/java/me/everything/plaxien/Explainer.java:8
↓ 2 callers
Method
getSectionView
Get a "section" view for a multi-explain tree @param tree the root node of the tree @return a rendered view of the explain section
src/main/java/me/everything/plaxien/ExplainViewFactory.java:39
↓ 2 callers
Method
getType
()
src/main/java/me/everything/plaxien/Explain.java:39
↓ 2 callers
Method
parseJSON
Parse a json string into an Explain tree, with the root being a node with the given title @param rawJson the JSON representing the tree @param title T
src/main/java/me/everything/plaxien/json/JSONExplainBridge.java:90
↓ 2 callers
Method
parseMap
Internal function - parse a json map object into an explain node, recursively @param obj the map boject @param node the node representing the map. Eac
src/main/java/me/everything/plaxien/json/JSONExplainBridge.java:61
↓ 2 callers
Method
renderChildren
Renders the node's children lazily - only when the node is opened
src/main/java/me/everything/plaxien/ExplainViewFactory.java:229
↓ 2 callers
Method
toggle
Toggle visible/invisible
src/main/java/me/everything/plaxien/ExplainViewFactory.java:209
↓ 1 callers
Method
applyNodeCounterStyle
(TextView view)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:278
↓ 1 callers
Method
applyNodeNameStyle
(TextView view)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:274
↓ 1 callers
Method
applyTitleStyle
(TextView view)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:270
↓ 1 callers
Method
applyValueNameStyle
(TextView view)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:286
↓ 1 callers
Method
applyValueStyle
(TextView view)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:282
↓ 1 callers
Method
build
Build the view style @return @return {@link me.everything.plaxien.ExplainViewFactory.ExplainViewStyle}
src/main/java/me/everything/plaxien/ExplainViewFactory.java:353
↓ 1 callers
Method
getExplainView
Get a plain explain view by calling an explainer's explain call @param explainer an explainer implementor @return an "Explain" node view
src/main/java/me/everything/plaxien/ExplainViewFactory.java:84
↓ 1 callers
Method
getStringFromFile
(File file)
src/main/java/me/everything/plaxien/ExplainActivity.java:182
↓ 1 callers
Method
getTitle
()
src/main/java/me/everything/plaxien/Explain.java:35
↓ 1 callers
Method
getValueView
Render a value view for a value node
src/main/java/me/everything/plaxien/ExplainViewFactory.java:151
↓ 1 callers
Method
getView
A selective function for a base node, rendering according to its type @param node a child or branch node to be rendered @return the rendered view
src/main/java/me/everything/plaxien/ExplainViewFactory.java:137
↓ 1 callers
Method
handleShare
()
src/main/java/me/everything/plaxien/ExplainActivity.java:277
↓ 1 callers
Method
parseArray
(JsonArray arr, Explain.Node node)
src/main/java/me/everything/plaxien/json/JSONExplainBridge.java:33
↓ 1 callers
Method
readAll
Read all the contents of a stream into a string @param is input stream @return the stream content @throws IOException
src/main/java/me/everything/plaxien/ExplainActivity.java:170
Method
ApplicationTest
()
src/androidTest/java/me/everything/plaxien/ApplicationTest.java:10
Method
BaseNode
(int type, String title)
src/main/java/me/everything/plaxien/Explain.java:43
Method
ExplainViewFactory
(Context context)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:22
Method
ExplainViewStyle
(Builder builder)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:266
Method
JSONExplainBridge
()
src/main/java/me/everything/plaxien/json/JSONExplainBridge.java:26
Method
Node
Constructor with a list of children @param title the branch title @param children a list of all the children. If null is passed, we init an empty list
src/main/java/me/everything/plaxien/Explain.java:71
Method
NodeHolder
(View view, Explain.Node node)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:195
Method
ValueNode
()
src/main/java/me/everything/plaxien/Explain.java:232
Method
ValueNodeHolder
(View view)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:251
Method
deserialize
(JsonElement json, Type typeOfT, JsonDeserializationContext context)
src/main/java/me/everything/plaxien/Explain.java:271
Method
explain
The default explain function that should be used in most cases, where you need to show an explain tree that has been created on the client @param cont
src/main/java/me/everything/plaxien/ExplainActivity.java:104
Method
explainFromJsonString
Create an activity from a raw json string. Prefer {explainJson} instead @param context the app context @param rootTitle the title of the explain activ
src/main/java/me/everything/plaxien/ExplainActivity.java:138
Method
explainJson
Create an explain activity from a raw JSON string from a third party, i.e. server generated explain @param context the app context @param rootTitle th
src/main/java/me/everything/plaxien/ExplainActivity.java:121
Method
getExplain
(Object... args)
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:24
Method
onClick
(View v)
src/main/java/me/everything/plaxien/ExplainViewFactory.java:121
Method
onCreate
(Bundle savedInstanceState)
src/main/java/me/everything/plaxien/ExplainActivity.java:197
Method
onCreateOptionsMenu
(Menu menu)
src/main/java/me/everything/plaxien/ExplainActivity.java:260
Method
onDestroy
()
src/main/java/me/everything/plaxien/ExplainActivity.java:251
Method
onOptionsItemSelected
(MenuItem item)
src/main/java/me/everything/plaxien/ExplainActivity.java:268
Method
setNodeCounterStyle
Set the style resource of the counter text @param style The style resource @return {@link me.everything.plaxien.ExplainViewFactory.Builder}
src/main/java/me/everything/plaxien/ExplainViewFactory.java:324
Method
setNodeNameStyle
Set the style resource of the node name @param style The style resource @return {@link me.everything.plaxien.ExplainViewFactory.Builder}
src/main/java/me/everything/plaxien/ExplainViewFactory.java:314
Method
setTitleStyle
Set the style resource of the title text @param style The style resource @return {@link me.everything.plaxien.ExplainViewFactory.Builder}
src/main/java/me/everything/plaxien/ExplainViewFactory.java:304
Method
setUp
()
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:13
Method
setValueNameStyle
Set the style resource of the value name @param style The style resource @return {@link me.everything.plaxien.ExplainViewFactory.Builder}
src/main/java/me/everything/plaxien/ExplainViewFactory.java:334
Method
setValueStyle
Set the style of value @param style The style resource @return {@link me.everything.plaxien.ExplainViewFactory.Builder}
src/main/java/me/everything/plaxien/ExplainViewFactory.java:344
Method
testAddChildren
()
src/androidTest/java/me/everything/plaxien/NodeTest.java:20
Method
testGetExplainView
()
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:58
Method
testGetNodeView
()
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:71
Method
testGetSectionView
()
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:30
Method
testGetSectionView1
()
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:44
Method
testJsonSerialization
()
src/androidTest/java/me/everything/plaxien/ExplainViewFactoryTest.java:83
Method
testJsonSerialization
()
src/androidTest/java/me/everything/plaxien/NodeTest.java:46
Method
testNode
()
src/androidTest/java/me/everything/plaxien/NodeTest.java:7
Method
testParseJSON
()
src/androidTest/java/me/everything/plaxien/JSONExplainBridgeTest.java:11
Method
testValueNode
()
src/androidTest/java/me/everything/plaxien/NodeTest.java:37