jruby-activemq 5.5.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +6 -0
- data/LICENSE +619 -0
- data/README.md +15 -0
- data/Rakefile +34 -0
- data/apache-activemq-5.5.1/LICENSE +619 -0
- data/apache-activemq-5.5.1/NOTICE +85 -0
- data/apache-activemq-5.5.1/README.txt +63 -0
- data/apache-activemq-5.5.1/WebConsole-README.txt +42 -0
- data/apache-activemq-5.5.1/activemq-all-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/bin/activemq +653 -0
- data/apache-activemq-5.5.1/bin/activemq-admin +155 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/activemq +543 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/libwrapper.so +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/wrapper +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-32/wrapper.conf +139 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/activemq +543 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/libwrapper.so +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/wrapper +0 -0
- data/apache-activemq-5.5.1/bin/linux-x86-64/wrapper.conf +139 -0
- data/apache-activemq-5.5.1/bin/macosx/activemq +537 -0
- data/apache-activemq-5.5.1/bin/macosx/libwrapper.jnilib +0 -0
- data/apache-activemq-5.5.1/bin/macosx/wrapper +0 -0
- data/apache-activemq-5.5.1/bin/macosx/wrapper.conf +139 -0
- data/apache-activemq-5.5.1/bin/run.jar +0 -0
- data/apache-activemq-5.5.1/bin/wrapper.jar +0 -0
- data/apache-activemq-5.5.1/conf/activemq-command.xml +52 -0
- data/apache-activemq-5.5.1/conf/activemq-demo.xml +289 -0
- data/apache-activemq-5.5.1/conf/activemq-dynamic-network-broker1.xml +108 -0
- data/apache-activemq-5.5.1/conf/activemq-dynamic-network-broker2.xml +109 -0
- data/apache-activemq-5.5.1/conf/activemq-jdbc.xml +98 -0
- data/apache-activemq-5.5.1/conf/activemq-scalability.xml +77 -0
- data/apache-activemq-5.5.1/conf/activemq-security.xml +132 -0
- data/apache-activemq-5.5.1/conf/activemq-specjms.xml +118 -0
- data/apache-activemq-5.5.1/conf/activemq-static-network-broker1.xml +100 -0
- data/apache-activemq-5.5.1/conf/activemq-static-network-broker2.xml +100 -0
- data/apache-activemq-5.5.1/conf/activemq-stomp.xml +133 -0
- data/apache-activemq-5.5.1/conf/activemq-throughput.xml +82 -0
- data/apache-activemq-5.5.1/conf/activemq.xml +136 -0
- data/apache-activemq-5.5.1/conf/broker-localhost.cert +0 -0
- data/apache-activemq-5.5.1/conf/broker.ks +0 -0
- data/apache-activemq-5.5.1/conf/broker.ts +0 -0
- data/apache-activemq-5.5.1/conf/camel.xml +66 -0
- data/apache-activemq-5.5.1/conf/client.ks +0 -0
- data/apache-activemq-5.5.1/conf/client.ts +0 -0
- data/apache-activemq-5.5.1/conf/credentials-enc.properties +22 -0
- data/apache-activemq-5.5.1/conf/credentials.properties +22 -0
- data/apache-activemq-5.5.1/conf/jetty-realm.properties +20 -0
- data/apache-activemq-5.5.1/conf/jetty.xml +112 -0
- data/apache-activemq-5.5.1/conf/jmx.access +18 -0
- data/apache-activemq-5.5.1/conf/jmx.password +18 -0
- data/apache-activemq-5.5.1/conf/log4j.properties +75 -0
- data/apache-activemq-5.5.1/conf/logging.properties +25 -0
- data/apache-activemq-5.5.1/data/activemq.log +0 -0
- data/apache-activemq-5.5.1/docs/index.html +22 -0
- data/apache-activemq-5.5.1/example/build.xml +317 -0
- data/apache-activemq-5.5.1/example/conf/activemq.xml +41 -0
- data/apache-activemq-5.5.1/example/conf/log4j.properties +39 -0
- data/apache-activemq-5.5.1/example/conf/resin-web.xml +35 -0
- data/apache-activemq-5.5.1/example/conf/web.xml +40 -0
- data/apache-activemq-5.5.1/example/perfharness/perfharness-activemq.sh +49 -0
- data/apache-activemq-5.5.1/example/ruby/README.txt +27 -0
- data/apache-activemq-5.5.1/example/ruby/catstomp.rb +49 -0
- data/apache-activemq-5.5.1/example/ruby/listener.rb +51 -0
- data/apache-activemq-5.5.1/example/ruby/publisher.rb +67 -0
- data/apache-activemq-5.5.1/example/ruby/stompcat.rb +50 -0
- data/apache-activemq-5.5.1/example/src/CommandLineSupport.java +120 -0
- data/apache-activemq-5.5.1/example/src/ConsumerTool.java +353 -0
- data/apache-activemq-5.5.1/example/src/EmbeddedBroker.java +41 -0
- data/apache-activemq-5.5.1/example/src/Log4jJMSAppenderExample.java +70 -0
- data/apache-activemq-5.5.1/example/src/ProducerAndConsumerTool.java +51 -0
- data/apache-activemq-5.5.1/example/src/ProducerTool.java +247 -0
- data/apache-activemq-5.5.1/example/src/RequesterTool.java +257 -0
- data/apache-activemq-5.5.1/example/src/StompExample.java +59 -0
- data/apache-activemq-5.5.1/example/src/TopicListener.java +118 -0
- data/apache-activemq-5.5.1/example/src/TopicPublisher.java +205 -0
- data/apache-activemq-5.5.1/example/src/jndi.properties +17 -0
- data/apache-activemq-5.5.1/example/src/log4j-jms.properties +31 -0
- data/apache-activemq-5.5.1/example/transactions/README.txt +40 -0
- data/apache-activemq-5.5.1/example/transactions/build.xml +113 -0
- data/apache-activemq-5.5.1/example/transactions/src/Retailer.java +107 -0
- data/apache-activemq-5.5.1/example/transactions/src/Supplier.java +135 -0
- data/apache-activemq-5.5.1/example/transactions/src/TransactionsDemo.java +47 -0
- data/apache-activemq-5.5.1/example/transactions/src/Vendor.java +302 -0
- data/apache-activemq-5.5.1/lib/a.sh +3 -0
- data/apache-activemq-5.5.1/lib/activation-1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-camel-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-console-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-core-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-jaas-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-protobuf-1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/activemq-rar.txt +20 -0
- data/apache-activemq-5.5.1/lib/activemq-web-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-core-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-jetty-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-jms-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/camel-spring-2.7.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/geronimo-jms_1.1_spec-1.1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/geronimo-jta_1.0.1B_spec-1.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/jaxb-api-2.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/jaxb-impl-2.1.6.jar +0 -0
- data/apache-activemq-5.5.1/lib/jcl-over-slf4j-1.5.11.jar +0 -0
- data/apache-activemq-5.5.1/lib/kahadb-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activeio-core-3.1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-jmdns_1.0-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-optional-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-pool-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-spring-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/activemq-xmpp-5.5.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-beanutils-1.6.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-codec-1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-collections-3.2.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-dbcp-1.2.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-httpclient-3.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-lang-2.4.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-net-2.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/commons-pool-1.5.4.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/geronimo-j2ee-connector_1.5_spec-2.0.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/jasypt-1.7.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/jettison-1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/josql-1.5.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/log4j-1.2.14.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/slf4j-log4j12-1.5.11.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-aop-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-asm-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-beans-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-context-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-core-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-expression-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-jms-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-oxm-tiger-1.5.8.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/spring-tx-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/stax2-api-3.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/velocity-1.6.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/woodstox-core-asl-4.0.7.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/xbean-spring-3.7.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/xpp3-1.1.4c.jar +0 -0
- data/apache-activemq-5.5.1/lib/optional/xstream-1.3.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/slf4j-api-1.5.11.jar +0 -0
- data/apache-activemq-5.5.1/lib/stax-1.2.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/stax-api-1.0.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/commons-management-1.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/core-3.1.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/geronimo-servlet_2.5_spec-1.2.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jdom-1.0.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jetty-all-server-7.1.6.v20100715.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jetty-websocket-7.1.6.v20100715.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jsp-2.1-glassfish-2.1.v20100127.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/jsp-api-2.1-glassfish-2.1.v20100127.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/rome-0.8.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/sitemesh-2.2.1.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/spring-web-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/lib/web/spring-webmvc-3.0.3.RELEASE.jar +0 -0
- data/apache-activemq-5.5.1/user-guide.html +119 -0
- data/apache-activemq-5.5.1/webapps/admin/404.html +137 -0
- data/apache-activemq-5.5.1/webapps/admin/500.html +138 -0
- data/apache-activemq-5.5.1/webapps/admin/META-INF/LICENSE +1026 -0
- data/apache-activemq-5.5.1/webapps/admin/META-INF/NOTICE +107 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/WebConsoleStarter.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/CopyMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/CreateDestination.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/CreateSubscriber.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteDestination.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteJob.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/DeleteSubscriber.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/MoveMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/PurgeDestination.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/controller/SendMessage.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/filter/ApplicationContextFilter$1.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/filter/ApplicationContextFilter$2.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/filter/ApplicationContextFilter.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/classes/org/apache/activemq/web/handler/BindingBeanNameUrlHandlerMapping.class +0 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/decorators.xml +30 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/dispatcher-servlet.xml +62 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/jspf/headertags.jspf +21 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/jspf/old.jspf +21 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/checkbox.tag +18 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/forEachMapEntry.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/option.tag +20 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/short.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/text.tag +30 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/tooltip.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/form/uri.tag +18 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/forEachConnection.tag +35 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/forEachMessage.tag +34 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/formatTimestamp.tag +29 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/tags/jms/persistent.tag +27 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/web.xml +187 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-default.xml +26 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-embedded.xml +45 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-invm.xml +41 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-jndi.xml +39 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-properties.xml +39 -0
- data/apache-activemq-5.5.1/webapps/admin/WEB-INF/webconsole-query.xml +25 -0
- data/apache-activemq-5.5.1/webapps/admin/browse.jsp +64 -0
- data/apache-activemq-5.5.1/webapps/admin/connection.jsp +138 -0
- data/apache-activemq-5.5.1/webapps/admin/connections.jsp +85 -0
- data/apache-activemq-5.5.1/webapps/admin/decorators/main.jsp +165 -0
- data/apache-activemq-5.5.1/webapps/admin/decorators/panel.jsp +31 -0
- data/apache-activemq-5.5.1/webapps/admin/decorators/printable.jsp +31 -0
- data/apache-activemq-5.5.1/webapps/admin/graph.jsp +67 -0
- data/apache-activemq-5.5.1/webapps/admin/images/activemq-logo.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/asf-logo.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/big-bullet.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/black-footer-bottom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/black-footer-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/black-footer-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/bottom-red-bar.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/checker-bg.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/content-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/content-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/feed_atom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/feed_rss.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/left-box-bottom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/left-box-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/left-box-top.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/oval-arrow.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/right-box-bottom.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/right-box-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/right-box-top.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/small-bullet-gray.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/small-bullet-red.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/spacer.gif +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/top-red-bar.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/white-header-left.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/white-header-right.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/images/white-header-top.png +0 -0
- data/apache-activemq-5.5.1/webapps/admin/index.jsp +65 -0
- data/apache-activemq-5.5.1/webapps/admin/js/common.js +121 -0
- data/apache-activemq-5.5.1/webapps/admin/js/css.js +145 -0
- data/apache-activemq-5.5.1/webapps/admin/js/mochi/MochiKit.js +4804 -0
- data/apache-activemq-5.5.1/webapps/admin/js/mochi/__package__.js +14 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/Base.js +332 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/Canvas.js +707 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/Layout.js +588 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/SVG.js +677 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/SweetCanvas.js +281 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/SweetSVG.js +196 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/dummy.svg +15 -0
- data/apache-activemq-5.5.1/webapps/admin/js/plotkit/iecanvas.htc +389 -0
- data/apache-activemq-5.5.1/webapps/admin/js/prettify.js +1424 -0
- data/apache-activemq-5.5.1/webapps/admin/js/standardista-table-sorting.js +434 -0
- data/apache-activemq-5.5.1/webapps/admin/message.jsp +185 -0
- data/apache-activemq-5.5.1/webapps/admin/network.jsp +52 -0
- data/apache-activemq-5.5.1/webapps/admin/queueConsumers.jsp +79 -0
- data/apache-activemq-5.5.1/webapps/admin/queueGraph.jsp +68 -0
- data/apache-activemq-5.5.1/webapps/admin/queues.jsp +78 -0
- data/apache-activemq-5.5.1/webapps/admin/scheduled.jsp +67 -0
- data/apache-activemq-5.5.1/webapps/admin/send.jsp +173 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/prettify.css +44 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/site.css +206 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/sorttable.css +70 -0
- data/apache-activemq-5.5.1/webapps/admin/styles/type-settings.css +177 -0
- data/apache-activemq-5.5.1/webapps/admin/subscribers.jsp +158 -0
- data/apache-activemq-5.5.1/webapps/admin/test/dummy.jsp +52 -0
- data/apache-activemq-5.5.1/webapps/admin/test/index.jsp +84 -0
- data/apache-activemq-5.5.1/webapps/admin/test/systemProperties.jsp +53 -0
- data/apache-activemq-5.5.1/webapps/admin/topics.jsp +66 -0
- data/apache-activemq-5.5.1/webapps/admin/xml/queues.jsp +34 -0
- data/apache-activemq-5.5.1/webapps/admin/xml/topics.jsp +29 -0
- data/apache-activemq-5.5.1/webapps/demo/META-INF/LICENSE +494 -0
- data/apache-activemq-5.5.1/webapps/demo/META-INF/NOTICE +82 -0
- data/apache-activemq-5.5.1/webapps/demo/WEB-INF/web.xml +111 -0
- data/apache-activemq-5.5.1/webapps/demo/chat.css +76 -0
- data/apache-activemq-5.5.1/webapps/demo/chat.html +219 -0
- data/apache-activemq-5.5.1/webapps/demo/index.html +181 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq.js +307 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq_dojo_adapter.js +84 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq_jquery_adapter.js +88 -0
- data/apache-activemq-5.5.1/webapps/demo/js/amq_prototype_adapter.js +84 -0
- data/apache-activemq-5.5.1/webapps/demo/js/chat.js +209 -0
- data/apache-activemq-5.5.1/webapps/demo/js/dojo.js +16 -0
- data/apache-activemq-5.5.1/webapps/demo/js/jquery-1.4.2.min.js +154 -0
- data/apache-activemq-5.5.1/webapps/demo/js/prototype.js +4874 -0
- data/apache-activemq-5.5.1/webapps/demo/portfolio/portfolio.html +87 -0
- data/apache-activemq-5.5.1/webapps/demo/portfolio/portfolio.js +91 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/index.html +31 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/portfolio.html +93 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/portfolio.js +49 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/util.js +52 -0
- data/apache-activemq-5.5.1/webapps/demo/sandbox/webmq.js +149 -0
- data/apache-activemq-5.5.1/webapps/demo/send.html +51 -0
- data/apache-activemq-5.5.1/webapps/demo/style.css +440 -0
- data/apache-activemq-5.5.1/webapps/demo/test/amq_test.html +311 -0
- data/apache-activemq-5.5.1/webapps/demo/test/assets/README +4 -0
- data/apache-activemq-5.5.1/webapps/demo/test/assets/jsunittest.js +1017 -0
- data/apache-activemq-5.5.1/webapps/demo/test/assets/unittest.css +54 -0
- data/apache-activemq-5.5.1/webapps/favicon.ico +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/META-INF/LICENSE +203 -0
- data/apache-activemq-5.5.1/webapps/fileserver/META-INF/NOTICE +5 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/FilenameGuardFilter$GuardedHttpServletRequest.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/FilenameGuardFilter.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/IOHelper.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/classes/org/apache/activemq/util/RestFilter.class +0 -0
- data/apache-activemq-5.5.1/webapps/fileserver/WEB-INF/web.xml +56 -0
- data/apache-activemq-5.5.1/webapps/fileserver/index.html +30 -0
- data/apache-activemq-5.5.1/webapps/index.html +145 -0
- data/apache-activemq-5.5.1/webapps/styles/site.css +206 -0
- data/apache-activemq-5.5.1/webapps/styles/type-settings.css +177 -0
- data/lib/activemq.rb +11 -0
- metadata +382 -0
@@ -0,0 +1,281 @@
|
|
1
|
+
/*
|
2
|
+
PlotKit Sweet Canvas Renderer
|
3
|
+
=============================
|
4
|
+
Canvas Renderer for PlotKit which looks pretty!
|
5
|
+
|
6
|
+
Copyright
|
7
|
+
---------
|
8
|
+
Copyright 2005,2006 (c) Alastair Tse <alastair^liquidx.net>
|
9
|
+
For use under the BSD license. <http://www.liquidx.net/plotkit>
|
10
|
+
*/
|
11
|
+
|
12
|
+
// -------------------------------------------------------------------------
|
13
|
+
// Check required components
|
14
|
+
// -------------------------------------------------------------------------
|
15
|
+
|
16
|
+
try {
|
17
|
+
if (typeof(PlotKit.CanvasRenderer) == 'undefined')
|
18
|
+
{
|
19
|
+
throw "";
|
20
|
+
}
|
21
|
+
}
|
22
|
+
catch (e) {
|
23
|
+
throw "SweetCanvas depends on MochiKit.{Base,Color,DOM,Format} and PlotKit.{Layout, Canvas}"
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
if (typeof(PlotKit.SweetCanvasRenderer) == 'undefined') {
|
28
|
+
PlotKit.SweetCanvasRenderer = {};
|
29
|
+
}
|
30
|
+
|
31
|
+
PlotKit.SweetCanvasRenderer = function(element, layout, options) {
|
32
|
+
if (arguments.length > 0) {
|
33
|
+
this.__init__(element, layout, options);
|
34
|
+
}
|
35
|
+
};
|
36
|
+
|
37
|
+
PlotKit.SweetCanvasRenderer.NAME = "PlotKit.SweetCanvasRenderer";
|
38
|
+
PlotKit.SweetCanvasRenderer.VERSION = PlotKit.VERSION;
|
39
|
+
|
40
|
+
PlotKit.SweetCanvasRenderer.__repr__ = function() {
|
41
|
+
return "[" + this.NAME + " " + this.VERSION + "]";
|
42
|
+
};
|
43
|
+
|
44
|
+
PlotKit.SweetCanvasRenderer.toString = function() {
|
45
|
+
return this.__repr__();
|
46
|
+
};
|
47
|
+
|
48
|
+
// ---------------------------------------------------------------------
|
49
|
+
// Subclassing Magic
|
50
|
+
// ---------------------------------------------------------------------
|
51
|
+
|
52
|
+
PlotKit.SweetCanvasRenderer.prototype = new PlotKit.CanvasRenderer();
|
53
|
+
PlotKit.SweetCanvasRenderer.prototype.constructor = PlotKit.SweetCanvasRenderer;
|
54
|
+
PlotKit.SweetCanvasRenderer.__super__ = PlotKit.CanvasRenderer.prototype;
|
55
|
+
|
56
|
+
// ---------------------------------------------------------------------
|
57
|
+
// Constructor
|
58
|
+
// ---------------------------------------------------------------------
|
59
|
+
|
60
|
+
PlotKit.SweetCanvasRenderer.prototype.__init__ = function(el, layout, opts) {
|
61
|
+
var moreOpts = PlotKit.Base.officeBlue();
|
62
|
+
MochiKit.Base.update(moreOpts, opts);
|
63
|
+
PlotKit.SweetCanvasRenderer.__super__.__init__.call(this, el, layout, moreOpts);
|
64
|
+
};
|
65
|
+
|
66
|
+
// ---------------------------------------------------------------------
|
67
|
+
// Extended Plotting Functions
|
68
|
+
// ---------------------------------------------------------------------
|
69
|
+
|
70
|
+
PlotKit.SweetCanvasRenderer.prototype._renderBarChart = function() {
|
71
|
+
var bind = MochiKit.Base.bind;
|
72
|
+
var shadowColor = Color.blackColor().colorWithAlpha(0.1).toRGBString();
|
73
|
+
|
74
|
+
var prepareFakeShadow = function(context, x, y, w, h) {
|
75
|
+
context.fillStyle = shadowColor;
|
76
|
+
context.fillRect(x-2, y-2, w+4, h+2);
|
77
|
+
context.fillStyle = shadowColor;
|
78
|
+
context.fillRect(x-1, y-1, w+2, h+1);
|
79
|
+
};
|
80
|
+
|
81
|
+
var colorCount = this.options.colorScheme.length;
|
82
|
+
var colorScheme = this.options.colorScheme;
|
83
|
+
var setNames = MochiKit.Base.keys(this.layout.datasets);
|
84
|
+
var setCount = setNames.length;
|
85
|
+
|
86
|
+
var chooseColor = function(name) {
|
87
|
+
for (var i = 0; i < setCount; i++) {
|
88
|
+
if (name == setNames[i])
|
89
|
+
return colorScheme[i%colorCount];
|
90
|
+
}
|
91
|
+
return colorScheme[0];
|
92
|
+
};
|
93
|
+
|
94
|
+
var drawRect = function(context, bar) {
|
95
|
+
var x = this.area.w * bar.x + this.area.x;
|
96
|
+
var y = this.area.h * bar.y + this.area.y;
|
97
|
+
var w = this.area.w * bar.w;
|
98
|
+
var h = this.area.h * bar.h;
|
99
|
+
|
100
|
+
if ((w < 1) || (h < 1))
|
101
|
+
return;
|
102
|
+
|
103
|
+
context.save();
|
104
|
+
|
105
|
+
context.shadowBlur = 5.0;
|
106
|
+
context.shadowColor = Color.fromHexString("#888888").toRGBString();
|
107
|
+
|
108
|
+
if (this.isIE) {
|
109
|
+
context.save();
|
110
|
+
context.fillStyle = "#cccccc";
|
111
|
+
context.fillRect(x-2, y-2, w+4, h+2);
|
112
|
+
context.restore();
|
113
|
+
}
|
114
|
+
else {
|
115
|
+
prepareFakeShadow(context, x, y, w, h);
|
116
|
+
}
|
117
|
+
|
118
|
+
context.fillStyle = chooseColor(bar.name).toRGBString();
|
119
|
+
context.fillRect(x, y, w, h);
|
120
|
+
|
121
|
+
context.shadowBlur = 0;
|
122
|
+
context.strokeStyle = Color.whiteColor().toRGBString();
|
123
|
+
context.lineWidth = 2.0;
|
124
|
+
|
125
|
+
context.strokeRect(x, y, w, h);
|
126
|
+
|
127
|
+
context.restore();
|
128
|
+
|
129
|
+
};
|
130
|
+
this._renderBarChartWrap(this.layout.bars, bind(drawRect, this));
|
131
|
+
};
|
132
|
+
|
133
|
+
PlotKit.CanvasRenderer.prototype._renderLineChart = function() {
|
134
|
+
var context = this.element.getContext("2d");
|
135
|
+
var colorCount = this.options.colorScheme.length;
|
136
|
+
var colorScheme = this.options.colorScheme;
|
137
|
+
var setNames = MochiKit.Base.keys(this.layout.datasets);
|
138
|
+
var setCount = setNames.length;
|
139
|
+
var bind = MochiKit.Base.bind;
|
140
|
+
|
141
|
+
|
142
|
+
for (var i = 0; i < setCount; i++) {
|
143
|
+
var setName = setNames[i];
|
144
|
+
var color = colorScheme[i%colorCount];
|
145
|
+
var strokeX = this.options.strokeColorTransform;
|
146
|
+
|
147
|
+
// setup graphics context
|
148
|
+
context.save();
|
149
|
+
|
150
|
+
// create paths
|
151
|
+
var makePath = function() {
|
152
|
+
context.beginPath();
|
153
|
+
context.moveTo(this.area.x, this.area.y + this.area.h);
|
154
|
+
var addPoint = function(context, point) {
|
155
|
+
if (point.name == setName)
|
156
|
+
context.lineTo(this.area.w * point.x + this.area.x,
|
157
|
+
this.area.h * point.y + this.area.y);
|
158
|
+
};
|
159
|
+
MochiKit.Iter.forEach(this.layout.points, partial(addPoint, context), this);
|
160
|
+
context.lineTo(this.area.w + this.area.x,
|
161
|
+
this.area.h + this.area.y);
|
162
|
+
context.lineTo(this.area.x, this.area.y + this.area.h);
|
163
|
+
context.closePath();
|
164
|
+
};
|
165
|
+
|
166
|
+
// faux shadow for firefox
|
167
|
+
context.save();
|
168
|
+
if (this.isIE) {
|
169
|
+
context.fillStyle = "#cccccc";
|
170
|
+
}
|
171
|
+
else {
|
172
|
+
context.fillStyle = Color.blackColor().colorWithAlpha(0.2).toRGBString();
|
173
|
+
}
|
174
|
+
|
175
|
+
context.translate(-1, -2);
|
176
|
+
bind(makePath, this)();
|
177
|
+
context.fill();
|
178
|
+
context.restore();
|
179
|
+
|
180
|
+
context.shadowBlur = 5.0;
|
181
|
+
context.shadowColor = Color.fromHexString("#888888").toRGBString();
|
182
|
+
context.fillStyle = color.toRGBString();
|
183
|
+
context.lineWidth = 2.0;
|
184
|
+
context.strokeStyle = Color.whiteColor().toRGBString();
|
185
|
+
|
186
|
+
bind(makePath, this)();
|
187
|
+
context.fill();
|
188
|
+
bind(makePath, this)();
|
189
|
+
context.stroke();
|
190
|
+
|
191
|
+
context.restore();
|
192
|
+
}
|
193
|
+
};
|
194
|
+
|
195
|
+
PlotKit.CanvasRenderer.prototype._renderPieChart = function() {
|
196
|
+
var context = this.element.getContext("2d");
|
197
|
+
|
198
|
+
var colorCount = this.options.colorScheme.length;
|
199
|
+
var slices = this.layout.slices;
|
200
|
+
|
201
|
+
var centerx = this.area.x + this.area.w * 0.5;
|
202
|
+
var centery = this.area.y + this.area.h * 0.5;
|
203
|
+
var radius = Math.min(this.area.w * this.options.pieRadius,
|
204
|
+
this.area.h * this.options.pieRadius);
|
205
|
+
|
206
|
+
if (this.isIE) {
|
207
|
+
centerx = parseInt(centerx);
|
208
|
+
centery = parseInt(centery);
|
209
|
+
radius = parseInt(radius);
|
210
|
+
}
|
211
|
+
|
212
|
+
// NOTE NOTE!! Canvas Tag draws the circle clockwise from the y = 0, x = 1
|
213
|
+
// so we have to subtract 90 degrees to make it start at y = 1, x = 0
|
214
|
+
|
215
|
+
if (!this.isIE) {
|
216
|
+
context.save();
|
217
|
+
var shadowColor = Color.blackColor().colorWithAlpha(0.2);
|
218
|
+
context.fillStyle = shadowColor.toRGBString();
|
219
|
+
context.shadowBlur = 5.0;
|
220
|
+
context.shadowColor = Color.fromHexString("#888888").toRGBString();
|
221
|
+
context.translate(1, 1);
|
222
|
+
context.beginPath();
|
223
|
+
context.moveTo(centerx, centery);
|
224
|
+
context.arc(centerx, centery, radius + 2, 0, Math.PI*2, false);
|
225
|
+
context.closePath();
|
226
|
+
context.fill();
|
227
|
+
context.restore();
|
228
|
+
}
|
229
|
+
|
230
|
+
context.save();
|
231
|
+
context.strokeStyle = Color.whiteColor().toRGBString();
|
232
|
+
context.lineWidth = 2.0;
|
233
|
+
for (var i = 0; i < slices.length; i++) {
|
234
|
+
var color = this.options.colorScheme[i%colorCount];
|
235
|
+
context.fillStyle = color.toRGBString();
|
236
|
+
|
237
|
+
var makePath = function() {
|
238
|
+
context.beginPath();
|
239
|
+
context.moveTo(centerx, centery);
|
240
|
+
context.arc(centerx, centery, radius,
|
241
|
+
slices[i].startAngle - Math.PI/2,
|
242
|
+
slices[i].endAngle - Math.PI/2,
|
243
|
+
false);
|
244
|
+
context.lineTo(centerx, centery);
|
245
|
+
context.closePath();
|
246
|
+
};
|
247
|
+
|
248
|
+
if (Math.abs(slices[i].startAngle - slices[i].endAngle) > 0.0001) {
|
249
|
+
makePath();
|
250
|
+
context.fill();
|
251
|
+
makePath();
|
252
|
+
context.stroke();
|
253
|
+
}
|
254
|
+
}
|
255
|
+
context.restore();
|
256
|
+
};
|
257
|
+
|
258
|
+
PlotKit.SweetCanvasRenderer.prototype._renderBackground = function() {
|
259
|
+
var context = this.element.getContext("2d");
|
260
|
+
|
261
|
+
if (this.layout.style == "bar" || this.layout.style == "line") {
|
262
|
+
context.save();
|
263
|
+
context.fillStyle = this.options.backgroundColor.toRGBString();
|
264
|
+
context.fillRect(this.area.x, this.area.y, this.area.w, this.area.h);
|
265
|
+
context.strokeStyle = Color.whiteColor().toRGBString();
|
266
|
+
context.lineWidth = 1.0;
|
267
|
+
for (var i = 0; i < this.layout.yticks.length; i++) {
|
268
|
+
var y = this.layout.yticks[i][0] * this.area.h + this.area.y;
|
269
|
+
var x = this.area.x;
|
270
|
+
context.beginPath();
|
271
|
+
context.moveTo(x, y);
|
272
|
+
context.lineTo(x + this.area.w, y);
|
273
|
+
context.closePath();
|
274
|
+
context.stroke();
|
275
|
+
}
|
276
|
+
context.restore();
|
277
|
+
}
|
278
|
+
else {
|
279
|
+
PlotKit.SweetCanvasRenderer.__super__._renderBackground.call(this);
|
280
|
+
}
|
281
|
+
};
|
@@ -0,0 +1,196 @@
|
|
1
|
+
/*
|
2
|
+
PlotKit Sweet SVG Renderer
|
3
|
+
==========================
|
4
|
+
SVG Renderer for PlotKit which looks pretty!
|
5
|
+
|
6
|
+
Copyright
|
7
|
+
---------
|
8
|
+
Copyright 2005,2006 (c) Alastair Tse <alastair^liquidx.net>
|
9
|
+
For use under the BSD license. <http://www.liquidx.net/plotkit>
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
// -------------------------------------------------------------------------
|
14
|
+
// Check required components
|
15
|
+
// -------------------------------------------------------------------------
|
16
|
+
|
17
|
+
try {
|
18
|
+
if (typeof(PlotKit.SVGRenderer) == 'undefined')
|
19
|
+
{
|
20
|
+
throw "";
|
21
|
+
}
|
22
|
+
}
|
23
|
+
catch (e) {
|
24
|
+
throw "SweetSVG depends on MochiKit.{Base,Color,DOM,Format} and PlotKit.{Layout, SVG}"
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
if (typeof(PlotKit.SweetSVGRenderer) == 'undefined') {
|
29
|
+
PlotKit.SweetSVGRenderer = {};
|
30
|
+
}
|
31
|
+
|
32
|
+
PlotKit.SweetSVGRenderer = function(element, layout, options) {
|
33
|
+
if (arguments.length > 0) {
|
34
|
+
this.__init__(element, layout, options);
|
35
|
+
}
|
36
|
+
};
|
37
|
+
|
38
|
+
PlotKit.SweetSVGRenderer.NAME = "PlotKit.SweetSVGRenderer";
|
39
|
+
PlotKit.SweetSVGRenderer.VERSION = PlotKit.VERSION;
|
40
|
+
|
41
|
+
PlotKit.SweetSVGRenderer.__repr__ = function() {
|
42
|
+
return "[" + this.NAME + " " + this.VERSION + "]";
|
43
|
+
};
|
44
|
+
|
45
|
+
PlotKit.SweetSVGRenderer.toString = function() {
|
46
|
+
return this.__repr__();
|
47
|
+
};
|
48
|
+
|
49
|
+
// ---------------------------------------------------------------------
|
50
|
+
// Subclassing Magic
|
51
|
+
// ---------------------------------------------------------------------
|
52
|
+
|
53
|
+
PlotKit.SweetSVGRenderer.prototype = new PlotKit.SVGRenderer();
|
54
|
+
PlotKit.SweetSVGRenderer.prototype.constructor = PlotKit.SweetSVGRenderer;
|
55
|
+
PlotKit.SweetSVGRenderer.__super__ = PlotKit.SVGRenderer.prototype;
|
56
|
+
|
57
|
+
// ---------------------------------------------------------------------
|
58
|
+
// Constructor
|
59
|
+
// ---------------------------------------------------------------------
|
60
|
+
|
61
|
+
PlotKit.SweetSVGRenderer.prototype.__init__ = function(element, layout, options) {
|
62
|
+
var moreOpts = PlotKit.Base.officeBlue();
|
63
|
+
MochiKit.Base.update(moreOpts, options);
|
64
|
+
PlotKit.SweetSVGRenderer.__super__.__init__.call(this, element, layout, moreOpts);
|
65
|
+
//this._addDropShadowFilter();
|
66
|
+
};
|
67
|
+
|
68
|
+
PlotKit.SweetSVGRenderer.prototype._addDropShadowFilter = function() {
|
69
|
+
var filter = this.createSVGElement("filter", {x: 0, y: 0, "id":"dropShadow"});
|
70
|
+
var goffset = this.createSVGElement("feOffset",
|
71
|
+
{"in": "SourceGraphic", "dx": 0, "dy": 0, "result": "topCopy"});
|
72
|
+
var blur = this.createSVGElement("feGaussianBlur",
|
73
|
+
{"in": "SourceAlpha", "StdDeviation": 2, "result": "shadow"});
|
74
|
+
var soffset = this.createSVGElement("feOffset",
|
75
|
+
{"in": "shadow", "dx": -1, "dy": -2, "result":"movedShadow"});
|
76
|
+
var merge = this.createSVGElement("feMerge");
|
77
|
+
var gmerge = this.createSVGElement("feMergeNode", {"in":"topCopy"});
|
78
|
+
var smerge = this.createSVGElement("feMergeNode", {"in":"movedShadow"});
|
79
|
+
|
80
|
+
merge.appendChild(gmerge);
|
81
|
+
merge.appendChild(smerge);
|
82
|
+
filter.appendChild(goffset);
|
83
|
+
filter.appendChild(blur);
|
84
|
+
filter.appendChild(soffset);
|
85
|
+
filter.appendChild(merge);
|
86
|
+
this.defs.appendChild(filter);
|
87
|
+
};
|
88
|
+
|
89
|
+
// ---------------------------------------------------------------------
|
90
|
+
// Extended Plotting Functions
|
91
|
+
// ---------------------------------------------------------------------
|
92
|
+
|
93
|
+
PlotKit.SweetSVGRenderer.prototype._renderBarChart = function() {
|
94
|
+
var bind = MochiKit.Base.bind;
|
95
|
+
var shadowColor = Color.blackColor().toRGBString();
|
96
|
+
var shadowStyle = "fill:" + shadowColor + ";fill-opacity:0.15";
|
97
|
+
var strokeStyle = "stroke-width: 2.0; stroke:" + Color.whiteColor().toRGBString();
|
98
|
+
|
99
|
+
var drawRect = function(attrs, bar) {
|
100
|
+
var x = this.area.w * bar.x + this.area.x;
|
101
|
+
var y = this.area.h * bar.y + this.area.y;
|
102
|
+
var w = this.area.w * bar.w;
|
103
|
+
var h = this.area.h * bar.h;
|
104
|
+
|
105
|
+
if ((w < 1) || (h < 1))
|
106
|
+
return;
|
107
|
+
|
108
|
+
//attrs["filter"] = "url(#dropShadow)";
|
109
|
+
attrs["style"] = strokeStyle;
|
110
|
+
this._drawRect(x - 2, y - 1, w+4, h+2, {"style":shadowStyle});
|
111
|
+
this._drawRect(x, y, w, h, attrs);
|
112
|
+
};
|
113
|
+
this._renderBarOrLine(this.layout.bars, bind(drawRect, this));
|
114
|
+
|
115
|
+
};
|
116
|
+
|
117
|
+
PlotKit.SweetSVGRenderer.prototype._renderLineChart = function() {
|
118
|
+
var bind = MochiKit.Base.bind;
|
119
|
+
var shadowColor = Color.blackColor().toRGBString();
|
120
|
+
var shadowStyle = "fill:" + shadowColor + ";fill-opacity:0.15";
|
121
|
+
var strokeStyle = "stroke-width: 2.0; stroke:" + Color.whiteColor().toRGBString();
|
122
|
+
|
123
|
+
var addPoint = function(attrs, point) {
|
124
|
+
this._tempPointsBuffer += (this.area.w * point.x + this.area.x) + "," +
|
125
|
+
(this.area.h * point.y + this.area.y) + " ";
|
126
|
+
};
|
127
|
+
|
128
|
+
var startLine = function(attrs) {
|
129
|
+
this._tempPointsBuffer = "";
|
130
|
+
this._tempPointsBuffer += (this.area.x) + "," + (this.area.y+this.area.h) + " ";
|
131
|
+
};
|
132
|
+
|
133
|
+
var endLine = function(attrs) {
|
134
|
+
this._tempPointsBuffer += (this.area.w + this.area.x) + "," +(this.area.h + this.area.y);
|
135
|
+
attrs["points"] = this._tempPointsBuffer;
|
136
|
+
|
137
|
+
attrs["stroke"] = "none";
|
138
|
+
attrs["transform"] = "translate(-2, -1)";
|
139
|
+
attrs["style"] = shadowStyle;
|
140
|
+
var shadow = this.createSVGElement("polygon", attrs);
|
141
|
+
this.root.appendChild(shadow);
|
142
|
+
|
143
|
+
attrs["transform"] = "";
|
144
|
+
attrs["style"] = strokeStyle;
|
145
|
+
var elem = this.createSVGElement("polygon", attrs);
|
146
|
+
this.root.appendChild(elem);
|
147
|
+
|
148
|
+
|
149
|
+
};
|
150
|
+
|
151
|
+
this._renderBarOrLine(this.layout.points,
|
152
|
+
bind(addPoint, this),
|
153
|
+
bind(startLine, this),
|
154
|
+
bind(endLine, this));
|
155
|
+
};
|
156
|
+
|
157
|
+
PlotKit.SweetSVGRenderer.prototype._renderPieChart = function() {
|
158
|
+
var centerx = this.area.x + this.area.w * 0.5;
|
159
|
+
var centery = this.area.y + this.area.h * 0.5;
|
160
|
+
var shadowColor = Color.blackColor().toRGBString();
|
161
|
+
var radius = Math.min(this.area.w * this.options.pieRadius,
|
162
|
+
this.area.h * this.options.pieRadius);
|
163
|
+
var shadowStyle = "fill:" + shadowColor + ";fill-opacity:0.15";
|
164
|
+
|
165
|
+
var shadow = this.createSVGElement("circle",
|
166
|
+
{"style": shadowStyle, "cx": centerx + 1, "cy": centery + 1, "r": radius + 1});
|
167
|
+
this.root.appendChild(shadow);
|
168
|
+
|
169
|
+
PlotKit.SweetSVGRenderer.__super__._renderPieChart.call(this);
|
170
|
+
};
|
171
|
+
|
172
|
+
|
173
|
+
PlotKit.SweetSVGRenderer.prototype._renderBackground = function() {
|
174
|
+
var attrs = {
|
175
|
+
"fill": this.options.backgroundColor.toRGBString(),
|
176
|
+
"stroke": "none"
|
177
|
+
};
|
178
|
+
|
179
|
+
|
180
|
+
if (this.layout.style == "bar" || this.layout.style == "line") {
|
181
|
+
this._drawRect(this.area.x, this.area.y,
|
182
|
+
this.area.w, this.area.h, attrs);
|
183
|
+
for (var i = 0; i < this.layout.yticks.length; i++) {
|
184
|
+
this._drawRect(this.area.x,
|
185
|
+
this.layout.yticks[i][0] * this.area.h + this.area.y,
|
186
|
+
this.area.w,
|
187
|
+
1,
|
188
|
+
{"fill": Color.whiteColor().toRGBString()});
|
189
|
+
}
|
190
|
+
}
|
191
|
+
else {
|
192
|
+
PlotKit.SweetSVGRenderer.__super__._renderBackground.call(this);
|
193
|
+
|
194
|
+
}
|
195
|
+
|
196
|
+
};
|