The Java version of Electric is documented with Javadoc.
To get the Javadoc, run the "javadoc" Ant script on the source code.
You can also download the Javadoc (5.7 megabytes).