From 236dab5626351a96d3f8c2e992836e5835e4590c Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Thu, 17 Sep 2015 17:43:37 +0200 Subject: Update JavaDoc --- LICENSE | 202 -------- README.md | 54 -- aboutit-meta/.gitignore | 1 - aboutit-meta/build.gradle | 82 ---- aboutit-meta/proguard-rules.pro | 17 - .../com/snilius/aboutit/meta/ApplicationTest.java | 13 - aboutit-meta/src/main/AndroidManifest.xml | 6 - .../java/com/snilius/aboutit/meta/LibAboutIt.java | 14 - .../aboutit/meta/LibAndroidSupportLibrary.java | 14 - .../com/snilius/aboutit/meta/LibButterKnife.java | 14 - .../java/com/snilius/aboutit/meta/LibGlide.java | 14 - .../java/com/snilius/aboutit/meta/LibGson.java | 14 - .../com/snilius/aboutit/meta/LibLeakCanary.java | 14 - .../java/com/snilius/aboutit/meta/LibOkHttp.java | 14 - .../java/com/snilius/aboutit/meta/LibPicasso.java | 14 - .../java/com/snilius/aboutit/meta/LibRetrofit.java | 14 - .../java/com/snilius/aboutit/meta/LibTimber.java | 14 - aboutit-sample/.gitignore | 1 - aboutit-sample/build.gradle | 27 - aboutit-sample/proguard-rules.pro | 17 - .../snilius/aboutit/sample/ApplicationTest.java | 13 - aboutit-sample/src/main/AndroidManifest.xml | 25 - .../com/snilius/aboutit/sample/AboutActivity.java | 31 -- .../com/snilius/aboutit/sample/MainActivity.java | 106 ---- .../src/main/res/drawable-hdpi/ic_launcher.png | Bin 9397 -> 0 bytes .../src/main/res/drawable-mdpi/ic_launcher.png | Bin 5237 -> 0 bytes .../src/main/res/drawable-xhdpi/ic_launcher.png | Bin 14383 -> 0 bytes .../src/main/res/drawable-xxhdpi/ic_launcher.png | Bin 19388 -> 0 bytes .../src/main/res/layout/activity_about.xml | 17 - .../src/main/res/layout/activity_main.xml | 41 -- aboutit-sample/src/main/res/layout/toolbar.xml | 7 - aboutit-sample/src/main/res/menu/menu_main.xml | 10 - .../src/main/res/values-w820dp/dimens.xml | 6 - aboutit-sample/src/main/res/values/dimens.xml | 5 - aboutit-sample/src/main/res/values/strings.xml | 21 - aboutit-sample/src/main/res/values/styles.xml | 9 - aboutit/.gitignore | 1 - aboutit/build.gradle | 84 ---- aboutit/proguard-rules.pro | 22 - .../java/com/snilius/aboutit/ApplicationTest.java | 13 - aboutit/src/main/AndroidManifest.xml | 5 - .../src/main/java/com/snilius/aboutit/AboutIt.java | 257 ---------- .../java/com/snilius/aboutit/CustomLicense.java | 21 - aboutit/src/main/java/com/snilius/aboutit/L.java | 26 - .../main/java/com/snilius/aboutit/LibBuilder.java | 49 -- .../main/java/com/snilius/aboutit/LibSkeleton.java | 12 - .../main/java/com/snilius/aboutit/LicenseBase.java | 15 - aboutit/src/main/res/values/strings.xml | 3 - allclasses-frame.html | 24 + allclasses-noframe.html | 24 + build.gradle | 20 - com/snilius/aboutit/AboutIt.html | 543 +++++++++++++++++++++ com/snilius/aboutit/CustomLicense.html | 287 +++++++++++ com/snilius/aboutit/L.html | 437 +++++++++++++++++ com/snilius/aboutit/LibBuilder.html | 324 ++++++++++++ com/snilius/aboutit/LibSkeleton.html | 244 +++++++++ com/snilius/aboutit/LicenseBase.html | 233 +++++++++ com/snilius/aboutit/package-frame.html | 31 ++ com/snilius/aboutit/package-summary.html | 192 ++++++++ com/snilius/aboutit/package-tree.html | 148 ++++++ constant-values.html | 120 +++++ deprecated-list.html | 120 +++++ gradle.properties | 18 - gradle/wrapper/gradle-wrapper.properties | 6 - gradlew | 164 ------- gradlew.bat | 90 ---- help-doc.html | 217 ++++++++ img/img1.png | Bin 136414 -> 0 bytes img/img2.png | Bin 76982 -> 0 bytes img/img3.png | Bin 92011 -> 0 bytes img/img4.png | Bin 75056 -> 0 bytes index-all.html | 302 ++++++++++++ index.html | 71 +++ overview-tree.html | 152 ++++++ package-list | 1 + resources/background.gif | Bin 0 -> 2313 bytes resources/tab.gif | Bin 0 -> 291 bytes resources/titlebar.gif | Bin 0 -> 10701 bytes resources/titlebar_end.gif | Bin 0 -> 849 bytes script.js | 30 ++ settings.gradle | 1 - stylesheet.css | 474 ++++++++++++++++++ 82 files changed, 3974 insertions(+), 1658 deletions(-) delete mode 100644 LICENSE delete mode 100644 README.md delete mode 100644 aboutit-meta/.gitignore delete mode 100644 aboutit-meta/build.gradle delete mode 100644 aboutit-meta/proguard-rules.pro delete mode 100644 aboutit-meta/src/androidTest/java/com/snilius/aboutit/meta/ApplicationTest.java delete mode 100644 aboutit-meta/src/main/AndroidManifest.xml delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAboutIt.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAndroidSupportLibrary.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibButterKnife.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGlide.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGson.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibLeakCanary.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibOkHttp.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibPicasso.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibRetrofit.java delete mode 100644 aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibTimber.java delete mode 100644 aboutit-sample/.gitignore delete mode 100644 aboutit-sample/build.gradle delete mode 100644 aboutit-sample/proguard-rules.pro delete mode 100644 aboutit-sample/src/androidTest/java/com/snilius/aboutit/sample/ApplicationTest.java delete mode 100644 aboutit-sample/src/main/AndroidManifest.xml delete mode 100644 aboutit-sample/src/main/java/com/snilius/aboutit/sample/AboutActivity.java delete mode 100644 aboutit-sample/src/main/java/com/snilius/aboutit/sample/MainActivity.java delete mode 100644 aboutit-sample/src/main/res/drawable-hdpi/ic_launcher.png delete mode 100644 aboutit-sample/src/main/res/drawable-mdpi/ic_launcher.png delete mode 100644 aboutit-sample/src/main/res/drawable-xhdpi/ic_launcher.png delete mode 100644 aboutit-sample/src/main/res/drawable-xxhdpi/ic_launcher.png delete mode 100644 aboutit-sample/src/main/res/layout/activity_about.xml delete mode 100644 aboutit-sample/src/main/res/layout/activity_main.xml delete mode 100644 aboutit-sample/src/main/res/layout/toolbar.xml delete mode 100644 aboutit-sample/src/main/res/menu/menu_main.xml delete mode 100644 aboutit-sample/src/main/res/values-w820dp/dimens.xml delete mode 100644 aboutit-sample/src/main/res/values/dimens.xml delete mode 100644 aboutit-sample/src/main/res/values/strings.xml delete mode 100644 aboutit-sample/src/main/res/values/styles.xml delete mode 100644 aboutit/.gitignore delete mode 100644 aboutit/build.gradle delete mode 100644 aboutit/proguard-rules.pro delete mode 100644 aboutit/src/androidTest/java/com/snilius/aboutit/ApplicationTest.java delete mode 100644 aboutit/src/main/AndroidManifest.xml delete mode 100644 aboutit/src/main/java/com/snilius/aboutit/AboutIt.java delete mode 100644 aboutit/src/main/java/com/snilius/aboutit/CustomLicense.java delete mode 100644 aboutit/src/main/java/com/snilius/aboutit/L.java delete mode 100644 aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java delete mode 100644 aboutit/src/main/java/com/snilius/aboutit/LibSkeleton.java delete mode 100644 aboutit/src/main/java/com/snilius/aboutit/LicenseBase.java delete mode 100644 aboutit/src/main/res/values/strings.xml create mode 100644 allclasses-frame.html create mode 100644 allclasses-noframe.html delete mode 100644 build.gradle create mode 100644 com/snilius/aboutit/AboutIt.html create mode 100644 com/snilius/aboutit/CustomLicense.html create mode 100644 com/snilius/aboutit/L.html create mode 100644 com/snilius/aboutit/LibBuilder.html create mode 100644 com/snilius/aboutit/LibSkeleton.html create mode 100644 com/snilius/aboutit/LicenseBase.html create mode 100644 com/snilius/aboutit/package-frame.html create mode 100644 com/snilius/aboutit/package-summary.html create mode 100644 com/snilius/aboutit/package-tree.html create mode 100644 constant-values.html create mode 100644 deprecated-list.html delete mode 100644 gradle.properties delete mode 100644 gradle/wrapper/gradle-wrapper.properties delete mode 100755 gradlew delete mode 100644 gradlew.bat create mode 100644 help-doc.html delete mode 100644 img/img1.png delete mode 100644 img/img2.png delete mode 100644 img/img3.png delete mode 100644 img/img4.png create mode 100644 index-all.html create mode 100644 index.html create mode 100644 overview-tree.html create mode 100644 package-list create mode 100644 resources/background.gif create mode 100644 resources/tab.gif create mode 100644 resources/titlebar.gif create mode 100644 resources/titlebar_end.gif create mode 100644 script.js delete mode 100644 settings.gradle create mode 100644 stylesheet.css diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d645695..0000000 --- a/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/README.md b/README.md deleted file mode 100644 index 0e2ed0a..0000000 --- a/README.md +++ /dev/null @@ -1,54 +0,0 @@ -# AboutIt -A About-page creator - -## Install -From Maven Central [![](https://img.shields.io/maven-central/v/com.snilius.aboutit/aboutit.svg)](http://mvnrepository.com/artifact/com.snilius.aboutit/aboutit) - - compile 'com.snilius.aboutit:aboutit:VERSION@aar' - -Optionally one may also add the meta module to get some common library presets for free, like Retrofit, Gson, OkHttp, Glide and some more. -Current version: [![](https://img.shields.io/maven-central/v/com.snilius.aboutit/aboutit-meta.svg)](http://mvnrepository.com/artifact/com.snilius.aboutit/aboutit-meta) - - compile 'com.snilius.aboutit:aboutit-meta:VERSION@aar' - -## Sample -A complete sample -```java -new AboutIt(this).app(R.string.app_name) - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .copyright("Example Business") - .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit") - .libLicense(new LibTimber()) // requires aboutit-meta module - .toTextView(R.id.about_text); -``` - -Just the dynamic version name and copyright year display -```java -new AboutIt(this).app("My App") - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .copyright("Example Business") - .toTextView(R.id.about_text); -``` - -The code for these samples are all in the sample app [here](aboutit-sample/src/main/java/com/snilius/aboutit/sample/MainActivity.java). - -screenshot -screenshot -screenshot -screenshot - -## License - - Copyright 2014-2015 Victor Häggqvist - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/aboutit-meta/.gitignore b/aboutit-meta/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/aboutit-meta/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/aboutit-meta/build.gradle b/aboutit-meta/build.gradle deleted file mode 100644 index bb5b23c..0000000 --- a/aboutit-meta/build.gradle +++ /dev/null @@ -1,82 +0,0 @@ -apply plugin: 'com.android.library' -apply plugin: 'maven' -apply plugin: 'signing' -apply plugin: 'nexus-workflow' - -group = "com.snilius.aboutit" -archivesBaseName = "aboutit-meta" -version = "1.0.0" - -android { - compileSdkVersion 23 - buildToolsVersion "23.0.1" - - defaultConfig { - minSdkVersion 14 - targetSdkVersion 23 - versionCode 1 - versionName version - } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.0.1' - compile project(':aboutit') -} - - -signing { - sign configurations.archives -} - -uploadArchives { - repositories { - mavenDeployer { - beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } - - repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - pom.project { - name 'AboutIt Meta' - packaging 'jar' - // optionally artifactId can be defined here - description 'Library presets for AboutIt' - url 'https://github.com/victorhaggqvist/AboutIt' - - scm { - connection 'scm:git:https://github.com/victorhaggqvist/AboutIt.git' - developerConnection 'scm:git:https://github.com/victorhaggqvist/AboutIt.git' - url 'https://github.com/victorhaggqvist/AboutIt' - } - - licenses { - license { - name 'The Apache License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - } - } - - developers { - developer { - id 'atriix' - name 'Victor Häggqvist' - email 'victor@snilius.com' - } - } - } - } - } -} \ No newline at end of file diff --git a/aboutit-meta/proguard-rules.pro b/aboutit-meta/proguard-rules.pro deleted file mode 100644 index 7873ee5..0000000 --- a/aboutit-meta/proguard-rules.pro +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /opt/android-sdk-linux/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/aboutit-meta/src/androidTest/java/com/snilius/aboutit/meta/ApplicationTest.java b/aboutit-meta/src/androidTest/java/com/snilius/aboutit/meta/ApplicationTest.java deleted file mode 100644 index 3a010fa..0000000 --- a/aboutit-meta/src/androidTest/java/com/snilius/aboutit/meta/ApplicationTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.snilius.aboutit.meta; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { - super(Application.class); - } -} \ No newline at end of file diff --git a/aboutit-meta/src/main/AndroidManifest.xml b/aboutit-meta/src/main/AndroidManifest.xml deleted file mode 100644 index f811f58..0000000 --- a/aboutit-meta/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAboutIt.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAboutIt.java deleted file mode 100644 index 133f008..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAboutIt.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibAboutIt extends LibSkeleton { - public LibAboutIt() { - super("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAndroidSupportLibrary.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAndroidSupportLibrary.java deleted file mode 100644 index c7d984a..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibAndroidSupportLibrary.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibAndroidSupportLibrary extends LibSkeleton { - public LibAndroidSupportLibrary() { - super("Android Support Library", "The Android Open Source Project", L.AP2, "https://android.googlesource.com/platform/frameworks/support/"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibButterKnife.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibButterKnife.java deleted file mode 100644 index 57ef41e..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibButterKnife.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibButterKnife extends LibSkeleton { - public LibButterKnife() { - super("Butter Knife", "Jake Wharton", L.AP2, "https://github.com/JakeWharton/butterknife"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGlide.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGlide.java deleted file mode 100644 index a868723..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGlide.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.CustomLicense; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibGlide extends LibSkeleton { - public LibGlide() { - super("Glide", "Sam Judd", new CustomLicense("BSD, part MIT and Apache 2.0"), "https://github.com/bumptech/glide"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGson.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGson.java deleted file mode 100644 index 611fc50..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibGson.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibGson extends LibSkeleton { - public LibGson() { - super("Gson","Google Inc.", L.AP2, "https://github.com/google/gson"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibLeakCanary.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibLeakCanary.java deleted file mode 100644 index 91e1f43..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibLeakCanary.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibLeakCanary extends LibSkeleton { - public LibLeakCanary() { - super("LeakCanary", "Square, Inc.", L.AP2, "https://github.com/square/leakcanary"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibOkHttp.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibOkHttp.java deleted file mode 100644 index ff56e3f..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibOkHttp.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibOkHttp extends LibSkeleton { - public LibOkHttp() { - super("OkHttp", "Square, Inc.", L.AP2, "https://github.com/square/okhttp"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibPicasso.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibPicasso.java deleted file mode 100644 index c203a6b..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibPicasso.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibPicasso extends LibSkeleton { - public LibPicasso() { - super("Picasso", "Square, Inc.", L.AP2, "https://github.com/square/picasso"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibRetrofit.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibRetrofit.java deleted file mode 100644 index a4db5c7..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibRetrofit.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibRetrofit extends LibSkeleton { - public LibRetrofit() { - super("Retrofit", "Square, Inc.", L.AP2, "https://github.com/square/retrofit"); - } -} diff --git a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibTimber.java b/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibTimber.java deleted file mode 100644 index d95de5b..0000000 --- a/aboutit-meta/src/main/java/com/snilius/aboutit/meta/LibTimber.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.snilius.aboutit.meta; - -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibSkeleton; - -/** - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibTimber extends LibSkeleton { - public LibTimber() { - super("Timber", "Jake Wharton", L.AP2, "https://github.com/JakeWharton/timber"); - } -} diff --git a/aboutit-sample/.gitignore b/aboutit-sample/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/aboutit-sample/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/aboutit-sample/build.gradle b/aboutit-sample/build.gradle deleted file mode 100644 index d5ab9e5..0000000 --- a/aboutit-sample/build.gradle +++ /dev/null @@ -1,27 +0,0 @@ -apply plugin: 'com.android.application' - -android { - compileSdkVersion 23 - buildToolsVersion "23.0.1" - - defaultConfig { - applicationId "com.snilius.aboutit.sample" - minSdkVersion 14 - targetSdkVersion 23 - versionCode 3 - versionName "1.0.2" - } - buildTypes { - release { - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') - compile 'com.android.support:appcompat-v7:23.0.1' - compile project(':aboutit') - compile project(':aboutit-meta') -} diff --git a/aboutit-sample/proguard-rules.pro b/aboutit-sample/proguard-rules.pro deleted file mode 100644 index 7873ee5..0000000 --- a/aboutit-sample/proguard-rules.pro +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /opt/android-sdk-linux/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/aboutit-sample/src/androidTest/java/com/snilius/aboutit/sample/ApplicationTest.java b/aboutit-sample/src/androidTest/java/com/snilius/aboutit/sample/ApplicationTest.java deleted file mode 100644 index 62e8d66..0000000 --- a/aboutit-sample/src/androidTest/java/com/snilius/aboutit/sample/ApplicationTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.snilius.aboutit.sample; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { - super(Application.class); - } -} \ No newline at end of file diff --git a/aboutit-sample/src/main/AndroidManifest.xml b/aboutit-sample/src/main/AndroidManifest.xml deleted file mode 100644 index ec86830..0000000 --- a/aboutit-sample/src/main/AndroidManifest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/aboutit-sample/src/main/java/com/snilius/aboutit/sample/AboutActivity.java b/aboutit-sample/src/main/java/com/snilius/aboutit/sample/AboutActivity.java deleted file mode 100644 index 94b7c66..0000000 --- a/aboutit-sample/src/main/java/com/snilius/aboutit/sample/AboutActivity.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.snilius.aboutit.sample; - -import android.support.v7.app.ActionBarActivity; -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.Toolbar; -import android.view.Menu; -import android.view.MenuItem; - -import com.snilius.aboutit.AboutIt; -import com.snilius.aboutit.L; - - -public class AboutActivity extends AppCompatActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_about); - - Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); - setSupportActionBar(toolbar); - getSupportActionBar().setTitle(R.string.about); - - new AboutIt(this).app(R.string.app_name) - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .copyright("Snilius") - .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit") - .toTextView(R.id.about_text); - } -} diff --git a/aboutit-sample/src/main/java/com/snilius/aboutit/sample/MainActivity.java b/aboutit-sample/src/main/java/com/snilius/aboutit/sample/MainActivity.java deleted file mode 100644 index 4c357a2..0000000 --- a/aboutit-sample/src/main/java/com/snilius/aboutit/sample/MainActivity.java +++ /dev/null @@ -1,106 +0,0 @@ -package com.snilius.aboutit.sample; - -import android.content.Intent; -import android.os.Bundle; -import android.support.v7.app.AppCompatActivity; -import android.support.v7.widget.Toolbar; -import android.view.Menu; -import android.view.MenuItem; -import android.view.View; -import android.widget.AdapterView; -import android.widget.Spinner; -import android.widget.TextView; - -import com.snilius.aboutit.AboutIt; -import com.snilius.aboutit.L; -import com.snilius.aboutit.LibBuilder; -import com.snilius.aboutit.meta.LibRetrofit; - -public class MainActivity extends AppCompatActivity implements AdapterView.OnItemSelectedListener { - - private TextView mSampleText; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - setContentView(R.layout.activity_main); - - Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); - setSupportActionBar(toolbar); - getSupportActionBar().setTitle(R.string.app_name); - - Spinner spinner = (Spinner) findViewById(R.id.spinner); - spinner.setOnItemSelectedListener(this); - - mSampleText = (TextView) findViewById(R.id.sample_text); - } - - - @Override - public boolean onCreateOptionsMenu(Menu menu) { - getMenuInflater().inflate(R.menu.menu_main, menu); - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - int id = item.getItemId(); - - if (id == R.id.action_about) { - startActivity(new Intent(this, AboutActivity.class)); - return true; - } - - return super.onOptionsItemSelected(item); - } - - @Override - public void onItemSelected(AdapterView parent, View view, int position, long id) { - switch (position) { - case 0: // all components - new AboutIt(this).app("Sample App") - .copyright("Example Business") - .year(2014) - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .description(R.string.sample_description) - .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit") - .toTextView(R.id.sample_text); - break; - case 1: // dynamic version only - new AboutIt(this).app("Sample App") - .copyright("Example Business") - .year(2014) - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .toTextView(R.id.sample_text); - break; - case 2: // library list - new AboutIt(this) - .libLicense("Lib2", "Random guy", L.MIT, "https://example.com") - .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit") - .toTextView(R.id.sample_text); - break; - case 3: // custom version - new AboutIt(this).app("Sample App") - .copyright("Example Business") - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .release("beta") - .toTextView(R.id.sample_text); - break; - case 4: // version string - String versionString = new AboutIt(this) - .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME) - .getVersionString(); - mSampleText.setText(versionString); - break; - case 5: - new AboutIt(this) - .libLicense(new LibBuilder().name("").author("").license(L.GPL2).url("").build()) - .libLicense(new LibRetrofit()); - } - } - - @Override - public void onNothingSelected(AdapterView parent) { - - } -} diff --git a/aboutit-sample/src/main/res/drawable-hdpi/ic_launcher.png b/aboutit-sample/src/main/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index 96a442e..0000000 Binary files a/aboutit-sample/src/main/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/aboutit-sample/src/main/res/drawable-mdpi/ic_launcher.png b/aboutit-sample/src/main/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 359047d..0000000 Binary files a/aboutit-sample/src/main/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/aboutit-sample/src/main/res/drawable-xhdpi/ic_launcher.png b/aboutit-sample/src/main/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index 71c6d76..0000000 Binary files a/aboutit-sample/src/main/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/aboutit-sample/src/main/res/drawable-xxhdpi/ic_launcher.png b/aboutit-sample/src/main/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index 4df1894..0000000 Binary files a/aboutit-sample/src/main/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/aboutit-sample/src/main/res/layout/activity_about.xml b/aboutit-sample/src/main/res/layout/activity_about.xml deleted file mode 100644 index ddd4863..0000000 --- a/aboutit-sample/src/main/res/layout/activity_about.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - diff --git a/aboutit-sample/src/main/res/layout/activity_main.xml b/aboutit-sample/src/main/res/layout/activity_main.xml deleted file mode 100644 index 9670712..0000000 --- a/aboutit-sample/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - diff --git a/aboutit-sample/src/main/res/layout/toolbar.xml b/aboutit-sample/src/main/res/layout/toolbar.xml deleted file mode 100644 index 0df34f8..0000000 --- a/aboutit-sample/src/main/res/layout/toolbar.xml +++ /dev/null @@ -1,7 +0,0 @@ - - diff --git a/aboutit-sample/src/main/res/menu/menu_main.xml b/aboutit-sample/src/main/res/menu/menu_main.xml deleted file mode 100644 index d46dc2e..0000000 --- a/aboutit-sample/src/main/res/menu/menu_main.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/aboutit-sample/src/main/res/values-w820dp/dimens.xml b/aboutit-sample/src/main/res/values-w820dp/dimens.xml deleted file mode 100644 index 63fc816..0000000 --- a/aboutit-sample/src/main/res/values-w820dp/dimens.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - 64dp - diff --git a/aboutit-sample/src/main/res/values/dimens.xml b/aboutit-sample/src/main/res/values/dimens.xml deleted file mode 100644 index 47c8224..0000000 --- a/aboutit-sample/src/main/res/values/dimens.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - 16dp - 16dp - diff --git a/aboutit-sample/src/main/res/values/strings.xml b/aboutit-sample/src/main/res/values/strings.xml deleted file mode 100644 index d9541ef..0000000 --- a/aboutit-sample/src/main/res/values/strings.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - AboutIt Sample - Hello world! - Settings - AboutActivity - This is a sampel application to demonstrate the AboutIt Library, https://github.com/victorhaggqvist/aboutit. A library to assist in creation/genaration of the about-page for your app. - About - About - Lorem ipsum dolor sit amet, pri ex vidit iuvaret. Cu mea nullam definiebas appellantur, ut mollis virtute accusata mea, eum eius omittantur et. Et errem dolorum his, mei inani convenire torquatos ei, nostrum explicari principes mel an. Qui modo eirmod alienum an, ius ex suas accusamus rationibus. Eros quas et vix, hinc everti no usu. - - - All components - Dynamic version - Library list - Custom version - Version string - - - diff --git a/aboutit-sample/src/main/res/values/styles.xml b/aboutit-sample/src/main/res/values/styles.xml deleted file mode 100644 index 6a7efa0..0000000 --- a/aboutit-sample/src/main/res/values/styles.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - diff --git a/aboutit/.gitignore b/aboutit/.gitignore deleted file mode 100644 index 796b96d..0000000 --- a/aboutit/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/build diff --git a/aboutit/build.gradle b/aboutit/build.gradle deleted file mode 100644 index d377df0..0000000 --- a/aboutit/build.gradle +++ /dev/null @@ -1,84 +0,0 @@ -apply plugin: 'com.android.library' -apply plugin: 'maven' -apply plugin: 'signing' -apply plugin: 'nexus-workflow' - -group = "com.snilius.aboutit" -archivesBaseName = "aboutit" -version = "1.2.0" - -android { - compileSdkVersion 23 - buildToolsVersion '23.0.1' - - defaultConfig { - minSdkVersion 14 - targetSdkVersion 23 - versionCode 6 - versionName version - } - buildTypes { - release { - minifyEnabled false - } - } -} - -dependencies { - compile 'com.android.support:appcompat-v7:23.0.1' -} - -configurations { - archives { - extendsFrom configurations.default - } -} - -signing { - sign configurations.archives -} - -uploadArchives { - repositories { - mavenDeployer { - beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } - - repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - pom.project { - name 'AboutIt' - packaging 'jar' - // optionally artifactId can be defined here - description 'A About-page creator' - url 'https://github.com/victorhaggqvist/AboutIt' - - scm { - connection 'scm:git:https://github.com/victorhaggqvist/AboutIt.git' - developerConnection 'scm:git:https://github.com/victorhaggqvist/AboutIt.git' - url 'https://github.com/victorhaggqvist/AboutIt' - } - - licenses { - license { - name 'The Apache License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - } - } - - developers { - developer { - id 'atriix' - name 'Victor Häggqvist' - email 'victor@snilius.com' - } - } - } - } - } -} \ No newline at end of file diff --git a/aboutit/proguard-rules.pro b/aboutit/proguard-rules.pro deleted file mode 100644 index 1e3e67e..0000000 --- a/aboutit/proguard-rules.pro +++ /dev/null @@ -1,22 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /opt/android-sdk-linux/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} --dontshrink - --keep class com.snilius.aboutit { - public *; -} \ No newline at end of file diff --git a/aboutit/src/androidTest/java/com/snilius/aboutit/ApplicationTest.java b/aboutit/src/androidTest/java/com/snilius/aboutit/ApplicationTest.java deleted file mode 100644 index c6f81f4..0000000 --- a/aboutit/src/androidTest/java/com/snilius/aboutit/ApplicationTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.snilius.aboutit; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { - super(Application.class); - } -} \ No newline at end of file diff --git a/aboutit/src/main/AndroidManifest.xml b/aboutit/src/main/AndroidManifest.xml deleted file mode 100644 index 65c8a5d..0000000 --- a/aboutit/src/main/AndroidManifest.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/aboutit/src/main/java/com/snilius/aboutit/AboutIt.java b/aboutit/src/main/java/com/snilius/aboutit/AboutIt.java deleted file mode 100644 index 1a2195f..0000000 --- a/aboutit/src/main/java/com/snilius/aboutit/AboutIt.java +++ /dev/null @@ -1,257 +0,0 @@ -package com.snilius.aboutit; - -import android.app.Activity; -import android.support.annotation.IdRes; -import android.support.annotation.StringRes; -import android.text.util.Linkify; -import android.widget.TextView; - -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Collections; -import java.util.Comparator; -import java.util.List; - -/** - *

AboutIt

- * A About-page creator - * - *
- * {@code
- * new AboutIt(this).app(R.string.app_name)
- *     .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME)
- *     .copyright("Example Business")
- *     .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit")
- *     .toTextView(R.id.about_text);
- * }
- * 
- * - * @author Victor Häggqvist - * @since 12/29/14 - * @version 1.0 - */ -public class AboutIt { - - private String copyright = null; - private int year = 0; - private int endYear = 0; - private List libs = new ArrayList<>(); - private Activity activity; - private String appName = null; - private boolean debug; - private int versionCode; - private String versionName; - private String releaseName = null; - private String description = null; - - /** - * Create a page generator - * @param activity The about page activity - */ - public AboutIt(Activity activity) { - - this.activity = activity; - } - - /** - * Generate text and put in @ref{about_text} - * @param about_text Resource it of destination TextView - */ - @SuppressWarnings("StringConcatenationInsideStringBufferAppend") - public void toTextView(@IdRes int about_text) { - TextView out = (TextView) activity.findViewById(about_text); - out.setAutoLinkMask(Linkify.WEB_URLS); - - endYear = endYear(); - - StringBuilder sb = new StringBuilder(); - if (appName != null) - sb.append(appName+" v"+getVersionString()+"\n"); - - if (copyright != null) { - sb.append("Copyright (c) "); - if (year != 0) - sb.append(year + (endYear != 0 ? " - " + endYear : "") + " "); - sb.append(copyright + "\n\n"); - } - - if (description != null) - sb.append(description+"\n\n"); - - // Sort library list alphabetically by name - Collections.sort(libs, new Comparator() { - @Override - public int compare(Lib lhs, Lib rhs) { - return lhs.name.compareTo(rhs.name); - } - }); - - for(Lib l:libs){ - sb.append(l.byLine() + "\n"); - } - - out.setText(sb.toString()); - } - - /** - * Get a baked version string. - * Version string is build from build info and release name - * It will look something like '1.42 (42-debug)' - * @return baked version string - */ - public String getVersionString() { - releaseName = "-"+(releaseName != null?releaseName:(debug?"debug":"")); - return versionName+" ("+versionCode+releaseName+")"; - } - - /** - * Determine what end year to show - * @return year to show - */ - private int endYear() { - if (endYear != 0) { - return endYear; - } else { - Calendar now = Calendar.getInstance(); - int yearNow = now.get(Calendar.YEAR); - if (year == yearNow) - return 0; - else - return yearNow; - } - } - - /** - * Get String by id - * @param stringId String id - * @return String - */ - private String s(@StringRes int stringId) { - return activity.getString(stringId); - } - - /** - * Copyright name - * @param copyright Name - */ - public AboutIt copyright(String copyright){ - this.copyright = copyright; - return this; - } - - /** - * Start copyright year. - * If there is no start year no year will be displayed at all. - * @param year Year - */ - public AboutIt year(int year) { - this.year = year; - return this; - } - - /** - * Add a library to the list - * @param name Name of Library - * @param author Author of library - * @param license Library license, defined by L - * @param url Url to or otherwise reference to library - * @see L - */ - public AboutIt libLicense(String name, String author, L license, String url) { - libs.add(new Lib(name, author, license, url)); - return this; - } - - /** - * Add a library to the list - * @param library A library build with LibBuilder - */ - public AboutIt libLicense(Lib library) { - libs.add(library); - return this; - } - - /** - * App name to display - * @param stringResource A string resource id - */ - public AboutIt app(@StringRes int stringResource) { - this.appName = s(stringResource); - return this; - } - - /** - * App name to display - * @see #app(int) - */ - public AboutIt app(String appName) { - this.appName = appName; - return this; - } - - /** - * Set a custom release name. Override the default name eg. beta - * @param releaseName The release name - */ - public AboutIt release(String releaseName){ - this.releaseName = releaseName; - return this; - } - - /** - * App build info. To be used in conjunction with the BuildConfig class - * {@code .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME)} - * - * @param debug If is debug build - * @param versionCode Version code - * @param versionName Version name - */ - public AboutIt buildInfo(boolean debug, int versionCode, String versionName) { - this.debug = debug; - this.versionCode = versionCode; - this.versionName = versionName; - return this; - } - - /** - * A longer description - * @param stringResource A string resource id - */ - public AboutIt description(@StringRes int stringResource) { - description = s(stringResource); - return this; - } - - /** - * A longer description - * @param description The description - * @see #description(int) - */ - public AboutIt description(String description) { - this.description = description; - return this; - } - - /** - * Holder for libraries - */ - static class Lib { - - final String name; - final String author; - final LicenseBase license; - final String url; - - public Lib(String name, String author, LicenseBase license, String url) { - - this.name = name; - this.author = author; - this.license = license; - this.url = url; - } - - String byLine() { - return name + " by " + author + " under " + license.display() + ", " + url; - } - } -} diff --git a/aboutit/src/main/java/com/snilius/aboutit/CustomLicense.java b/aboutit/src/main/java/com/snilius/aboutit/CustomLicense.java deleted file mode 100644 index 82df0cd..0000000 --- a/aboutit/src/main/java/com/snilius/aboutit/CustomLicense.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.snilius.aboutit; - -/** - * Custom license holder - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class CustomLicense implements LicenseBase { - - private String displayName; - - public CustomLicense(String displayName) { - - this.displayName = displayName; - } - - @Override - public String display() { - return displayName; - } -} diff --git a/aboutit/src/main/java/com/snilius/aboutit/L.java b/aboutit/src/main/java/com/snilius/aboutit/L.java deleted file mode 100644 index 2181464..0000000 --- a/aboutit/src/main/java/com/snilius/aboutit/L.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.snilius.aboutit; - -/** - * License Definitions - * @author Victor Häggqvist - * @since 12/29/14 - */ -public enum L implements LicenseBase { - AP2("Apache License, Version 2.0"), MIT("MIT"), - GPL2("GPL v2.0"), GPL3("GPL v3.0"), AGPL3("Affero GPL v3.0"), - BSD("BSD"), SBSD("Simplified BSD"), NBSD("New BSD"); - - private String mDisplayname; - - L(String displayname) { - mDisplayname = displayname; - } - - /** - * {@inheritDoc} - */ - public String display() { - return mDisplayname; - } - -} diff --git a/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java b/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java deleted file mode 100644 index df5c653..0000000 --- a/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -package com.snilius.aboutit; - -/** - * Library builder - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibBuilder { - - private String name; - private String author; - private LicenseBase license; - private String url; - - public LibBuilder() { - name = ""; - author = ""; - license= null; - url = ""; - } - - public LibBuilder name(String name) { - - this.name = name; - return this; - } - - public LibBuilder author(String author) { - - this.author = author; - return this; - } - - public LibBuilder license(LicenseBase license) { - - this.license = license; - return this; - } - - public LibBuilder url(String url) { - this.url = url; - return this; - } - - public AboutIt.Lib build() { - return new AboutIt.Lib(name, author, license,url); - } - -} diff --git a/aboutit/src/main/java/com/snilius/aboutit/LibSkeleton.java b/aboutit/src/main/java/com/snilius/aboutit/LibSkeleton.java deleted file mode 100644 index 244f3a0..0000000 --- a/aboutit/src/main/java/com/snilius/aboutit/LibSkeleton.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.snilius.aboutit; - -/** - * Library skeleton for creation of presets - * @author Victor Häggqvist - * @since 9/17/15 - */ -public class LibSkeleton extends AboutIt.Lib { - public LibSkeleton(String name, String author, LicenseBase license, String url) { - super(name, author, license, url); - } -} diff --git a/aboutit/src/main/java/com/snilius/aboutit/LicenseBase.java b/aboutit/src/main/java/com/snilius/aboutit/LicenseBase.java deleted file mode 100644 index 0398556..0000000 --- a/aboutit/src/main/java/com/snilius/aboutit/LicenseBase.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.snilius.aboutit; - -/** - * License base - * @author Victor Häggqvist - * @since 9/17/15 - */ -public interface LicenseBase { - - /** - * Get display name for license - * @return display name - */ - String display(); -} diff --git a/aboutit/src/main/res/values/strings.xml b/aboutit/src/main/res/values/strings.xml deleted file mode 100644 index 9b430f7..0000000 --- a/aboutit/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - AboutIt - diff --git a/allclasses-frame.html b/allclasses-frame.html new file mode 100644 index 0000000..dbe1d67 --- /dev/null +++ b/allclasses-frame.html @@ -0,0 +1,24 @@ + + + + + +All Classes (AboutIt) + + + + + +

All Classes

+ + + diff --git a/allclasses-noframe.html b/allclasses-noframe.html new file mode 100644 index 0000000..7b5e4d4 --- /dev/null +++ b/allclasses-noframe.html @@ -0,0 +1,24 @@ + + + + + +All Classes (AboutIt) + + + + + +

All Classes

+ + + diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 84ea789..0000000 --- a/build.gradle +++ /dev/null @@ -1,20 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - -buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:1.2.3' - classpath 'com.adaptc.gradle:nexus-workflow:0.6' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } -} - -allprojects { - repositories { - jcenter() - } -} diff --git a/com/snilius/aboutit/AboutIt.html b/com/snilius/aboutit/AboutIt.html new file mode 100644 index 0000000..7db57e3 --- /dev/null +++ b/com/snilius/aboutit/AboutIt.html @@ -0,0 +1,543 @@ + + + + + +AboutIt (AboutIt) + + + + + + + + + + + + +
+
com.snilius.aboutit
+

Class AboutIt

+
+
+ +
+
    +
  • +
    +
    +
    public class AboutIt
    +extends Object
    +

    AboutIt

    + A About-page creator + +
    + 
    + new AboutIt(this).app(R.string.app_name)
    +     .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME)
    +     .copyright("Example Business")
    +     .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit")
    +     .toTextView(R.id.about_text);
    + 
    + 
    +
    +
    Since:
    +
    12/29/14
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AboutIt

        +
        public AboutIt(Activity activity)
        +
        Create a page generator
        +
        +
        Parameters:
        +
        activity - The about page activity
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toTextView

        +
        public void toTextView(@IdRes
        +                       int about_text)
        +
        Generate text and put in @ref{about_text}
        +
        +
        Parameters:
        +
        about_text - Resource it of destination TextView
        +
        +
      • +
      + + + +
        +
      • +

        getVersionString

        +
        public String getVersionString()
        +
        Get a baked version string. + Version string is build from build info and release name + It will look something like '1.42 (42-debug)'
        +
        +
        Returns:
        +
        baked version string
        +
        +
      • +
      + + + +
        +
      • +

        copyright

        +
        public AboutIt copyright(String copyright)
        +
        Copyright name
        +
        +
        Parameters:
        +
        copyright - Name
        +
        +
      • +
      + + + +
        +
      • +

        year

        +
        public AboutIt year(int year)
        +
        Start copyright year. + If there is no start year no year will be displayed at all.
        +
        +
        Parameters:
        +
        year - Year
        +
        +
      • +
      + + + +
        +
      • +

        libLicense

        +
        public AboutIt libLicense(String name,
        +                          String author,
        +                          L license,
        +                          String url)
        +
        Add a library to the list
        +
        +
        Parameters:
        +
        name - Name of Library
        +
        author - Author of library
        +
        license - Library license, defined by L
        +
        url - Url to or otherwise reference to library
        +
        See Also:
        +
        L
        +
        +
      • +
      + + + +
        +
      • +

        libLicense

        +
        public AboutIt libLicense(com.snilius.aboutit.AboutIt.Lib library)
        +
        Add a library to the list
        +
        +
        Parameters:
        +
        library - A library build with LibBuilder
        +
        +
      • +
      + + + +
        +
      • +

        app

        +
        public AboutIt app(@StringRes
        +                   int stringResource)
        +
        App name to display
        +
        +
        Parameters:
        +
        stringResource - A string resource id
        +
        +
      • +
      + + + + + + + +
        +
      • +

        release

        +
        public AboutIt release(String releaseName)
        +
        Set a custom release name. Override the default name eg. beta
        +
        +
        Parameters:
        +
        releaseName - The release name
        +
        +
      • +
      + + + +
        +
      • +

        buildInfo

        +
        public AboutIt buildInfo(boolean debug,
        +                         int versionCode,
        +                         String versionName)
        +
        App build info. To be used in conjunction with the BuildConfig class + .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME)
        +
        +
        Parameters:
        +
        debug - If is debug build
        +
        versionCode - Version code
        +
        versionName - Version name
        +
        +
      • +
      + + + +
        +
      • +

        description

        +
        public AboutIt description(@StringRes
        +                           int stringResource)
        +
        A longer description
        +
        +
        Parameters:
        +
        stringResource - A string resource id
        +
        +
      • +
      + + + +
        +
      • +

        description

        +
        public AboutIt description(String description)
        +
        A longer description
        +
        +
        Parameters:
        +
        description - The description
        +
        See Also:
        +
        description(int)
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/com/snilius/aboutit/CustomLicense.html b/com/snilius/aboutit/CustomLicense.html new file mode 100644 index 0000000..47afaec --- /dev/null +++ b/com/snilius/aboutit/CustomLicense.html @@ -0,0 +1,287 @@ + + + + + +CustomLicense (AboutIt) + + + + + + + + + + + + +
+
com.snilius.aboutit
+

Class CustomLicense

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    LicenseBase
    +
    +
    +
    +
    public class CustomLicense
    +extends Object
    +implements LicenseBase
    +
    Custom license holder
    +
    +
    Since:
    +
    9/17/15
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CustomLicense

        +
        public CustomLicense(String displayName)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        display

        +
        public String display()
        +
        Description copied from interface: LicenseBase
        +
        Get display name for license
        +
        +
        Specified by:
        +
        display in interface LicenseBase
        +
        Returns:
        +
        display name
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/com/snilius/aboutit/L.html b/com/snilius/aboutit/L.html new file mode 100644 index 0000000..4892b39 --- /dev/null +++ b/com/snilius/aboutit/L.html @@ -0,0 +1,437 @@ + + + + + +L (AboutIt) + + + + + + + + + + + + +
+
com.snilius.aboutit
+

Enum L

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        AP2

        +
        public static final L AP2
        +
      • +
      + + + +
        +
      • +

        MIT

        +
        public static final L MIT
        +
      • +
      + + + +
        +
      • +

        GPL2

        +
        public static final L GPL2
        +
      • +
      + + + +
        +
      • +

        GPL3

        +
        public static final L GPL3
        +
      • +
      + + + +
        +
      • +

        AGPL3

        +
        public static final L AGPL3
        +
      • +
      + + + +
        +
      • +

        BSD

        +
        public static final L BSD
        +
      • +
      + + + +
        +
      • +

        SBSD

        +
        public static final L SBSD
        +
      • +
      + + + +
        +
      • +

        NBSD

        +
        public static final L NBSD
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static L[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (L c : L.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static L valueOf(String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        IllegalArgumentException - if this enum type has no constant with the specified name
        +
        NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        display

        +
        public String display()
        +
        Get display name for license
        +
        +
        Specified by:
        +
        display in interface LicenseBase
        +
        Returns:
        +
        display name
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/com/snilius/aboutit/LibBuilder.html b/com/snilius/aboutit/LibBuilder.html new file mode 100644 index 0000000..d3f8036 --- /dev/null +++ b/com/snilius/aboutit/LibBuilder.html @@ -0,0 +1,324 @@ + + + + + +LibBuilder (AboutIt) + + + + + + + + + + + + +
+
com.snilius.aboutit
+

Class LibBuilder

+
+
+ +
+
    +
  • +
    +
    +
    public class LibBuilder
    +extends Object
    +
    Library builder
    +
    +
    Since:
    +
    9/17/15
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/com/snilius/aboutit/LibSkeleton.html b/com/snilius/aboutit/LibSkeleton.html new file mode 100644 index 0000000..efa69cf --- /dev/null +++ b/com/snilius/aboutit/LibSkeleton.html @@ -0,0 +1,244 @@ + + + + + +LibSkeleton (AboutIt) + + + + + + + + + + + + +
+
com.snilius.aboutit
+

Class LibSkeleton

+
+
+ +
+
    +
  • +
    +
    +
    public class LibSkeleton
    +extends Object
    +
    Library skeleton for creation of presets
    +
    +
    Since:
    +
    9/17/15
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + + + + + + diff --git a/com/snilius/aboutit/LicenseBase.html b/com/snilius/aboutit/LicenseBase.html new file mode 100644 index 0000000..db99002 --- /dev/null +++ b/com/snilius/aboutit/LicenseBase.html @@ -0,0 +1,233 @@ + + + + + +LicenseBase (AboutIt) + + + + + + + + + + + + +
+
com.snilius.aboutit
+

Interface LicenseBase

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    CustomLicense, L
    +
    +
    +
    +
    public interface LicenseBase
    +
    License base
    +
    +
    Since:
    +
    9/17/15
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        display

        +
        String display()
        +
        Get display name for license
        +
        +
        Returns:
        +
        display name
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/com/snilius/aboutit/package-frame.html b/com/snilius/aboutit/package-frame.html new file mode 100644 index 0000000..2a00586 --- /dev/null +++ b/com/snilius/aboutit/package-frame.html @@ -0,0 +1,31 @@ + + + + + +com.snilius.aboutit (AboutIt) + + + + + +

com.snilius.aboutit

+
+

Interfaces

+ +

Classes

+ +

Enums

+
    +
  • L
  • +
+
+ + diff --git a/com/snilius/aboutit/package-summary.html b/com/snilius/aboutit/package-summary.html new file mode 100644 index 0000000..9f6a239 --- /dev/null +++ b/com/snilius/aboutit/package-summary.html @@ -0,0 +1,192 @@ + + + + + +com.snilius.aboutit (AboutIt) + + + + + + + + + + + +
+

Package com.snilius.aboutit

+
+
+
    +
  • + + + + + + + + + + + + +
    Interface Summary 
    InterfaceDescription
    LicenseBase +
    License base
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    AboutIt +
    AboutIt
    +
    CustomLicense +
    Custom license holder
    +
    LibBuilder +
    Library builder
    +
    LibSkeleton +
    Library skeleton for creation of presets
    +
    +
  • +
  • + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    L +
    License Definitions
    +
    +
  • +
+
+ + + + + + diff --git a/com/snilius/aboutit/package-tree.html b/com/snilius/aboutit/package-tree.html new file mode 100644 index 0000000..9306cd2 --- /dev/null +++ b/com/snilius/aboutit/package-tree.html @@ -0,0 +1,148 @@ + + + + + +com.snilius.aboutit Class Hierarchy (AboutIt) + + + + + + + + + + + +
+

Hierarchy For Package com.snilius.aboutit

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ + + + + + diff --git a/constant-values.html b/constant-values.html new file mode 100644 index 0000000..f1ab2d1 --- /dev/null +++ b/constant-values.html @@ -0,0 +1,120 @@ + + + + + +Constant Field Values (AboutIt) + + + + + + + + + + + +
+

Constant Field Values

+

Contents

+
+ + + + + + diff --git a/deprecated-list.html b/deprecated-list.html new file mode 100644 index 0000000..f9f5796 --- /dev/null +++ b/deprecated-list.html @@ -0,0 +1,120 @@ + + + + + +Deprecated List (AboutIt) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/gradle.properties b/gradle.properties deleted file mode 100644 index 1d3591c..0000000 --- a/gradle.properties +++ /dev/null @@ -1,18 +0,0 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx10248m -XX:MaxPermSize=256m -# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 0c71e76..0000000 --- a/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Wed Apr 10 15:27:10 PDT 2013 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip diff --git a/gradlew b/gradlew deleted file mode 100755 index 91a7e26..0000000 --- a/gradlew +++ /dev/null @@ -1,164 +0,0 @@ -#!/usr/bin/env bash - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn ( ) { - echo "$*" -} - -die ( ) { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; -esac - -# For Cygwin, ensure paths are in UNIX format before anything is touched. -if $cygwin ; then - [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` -fi - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >&- -APP_HOME="`pwd -P`" -cd "$SAVED" >&- - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/gradlew.bat b/gradlew.bat deleted file mode 100644 index 8a0b282..0000000 --- a/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/help-doc.html b/help-doc.html new file mode 100644 index 0000000..f0c9cf7 --- /dev/null +++ b/help-doc.html @@ -0,0 +1,217 @@ + + + + + +API Help (AboutIt) + + + + + + + + + + + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+
    +
  • +

    Package

    +

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:

    +
      +
    • Interfaces (italic)
    • +
    • Classes
    • +
    • Enums
    • +
    • Exceptions
    • +
    • Errors
    • +
    • Annotation Types
    • +
    +
  • +
  • +

    Class/Interface

    +

    Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
      +
    • Class inheritance diagram
    • +
    • Direct Subclasses
    • +
    • All Known Subinterfaces
    • +
    • All Known Implementing Classes
    • +
    • Class/interface declaration
    • +
    • Class/interface description
    • +
    +
      +
    • Nested Class Summary
    • +
    • Field Summary
    • +
    • Constructor Summary
    • +
    • Method Summary
    • +
    +
      +
    • Field Detail
    • +
    • Constructor Detail
    • +
    • Method Detail
    • +
    +

    Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

    +
  • +
  • +

    Annotation Type

    +

    Each annotation type has its own separate page with the following sections:

    +
      +
    • Annotation Type declaration
    • +
    • Annotation Type description
    • +
    • Required Element Summary
    • +
    • Optional Element Summary
    • +
    • Element Detail
    • +
    +
  • +
  • +

    Enum

    +

    Each enum has its own separate page with the following sections:

    +
      +
    • Enum declaration
    • +
    • Enum description
    • +
    • Enum Constant Summary
    • +
    • Enum Constant Detail
    • +
    +
  • +
  • +

    Tree (Class Hierarchy)

    +

    There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.

    +
      +
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • +
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    • +
    +
  • +
  • +

    Deprecated API

    +

    The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

    +
  • +
  • +

    Index

    +

    The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.

    +
  • +
  • +

    Prev/Next

    +

    These links take you to the next or previous class, interface, package, or related page.

    +
  • +
  • +

    Frames/No Frames

    +

    These links show and hide the HTML frames. All pages are available with or without frames.

    +
  • +
  • +

    All Classes

    +

    The All Classes link shows all classes and interfaces except non-static nested types.

    +
  • +
  • +

    Serialized Form

    +

    Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

    +
  • +
  • +

    Constant Field Values

    +

    The Constant Field Values page lists the static final fields and their values.

    +
  • +
+This help file applies to API documentation generated using the standard doclet.
+ + + + + + diff --git a/img/img1.png b/img/img1.png deleted file mode 100644 index d34b259..0000000 Binary files a/img/img1.png and /dev/null differ diff --git a/img/img2.png b/img/img2.png deleted file mode 100644 index 6aa1d46..0000000 Binary files a/img/img2.png and /dev/null differ diff --git a/img/img3.png b/img/img3.png deleted file mode 100644 index 4778081..0000000 Binary files a/img/img3.png and /dev/null differ diff --git a/img/img4.png b/img/img4.png deleted file mode 100644 index 23744e4..0000000 Binary files a/img/img4.png and /dev/null differ diff --git a/index-all.html b/index-all.html new file mode 100644 index 0000000..f92ffba --- /dev/null +++ b/index-all.html @@ -0,0 +1,302 @@ + + + + + +Index (AboutIt) + + + + + + + + + + + +
A B C D G L N R T U V Y  + + +

A

+
+
AboutIt - Class in com.snilius.aboutit
+
+
AboutIt
+
+
AboutIt(Activity) - Constructor for class com.snilius.aboutit.AboutIt
+
+
Create a page generator
+
+
app(int) - Method in class com.snilius.aboutit.AboutIt
+
+
App name to display
+
+
app(String) - Method in class com.snilius.aboutit.AboutIt
+
+
App name to display
+
+
author(String) - Method in class com.snilius.aboutit.LibBuilder
+
 
+
+ + + +

B

+
+
build() - Method in class com.snilius.aboutit.LibBuilder
+
 
+
buildInfo(boolean, int, String) - Method in class com.snilius.aboutit.AboutIt
+
+
App build info.
+
+
+ + + +

C

+
+
com.snilius.aboutit - package com.snilius.aboutit
+
 
+
copyright(String) - Method in class com.snilius.aboutit.AboutIt
+
+
Copyright name
+
+
CustomLicense - Class in com.snilius.aboutit
+
+
Custom license holder
+
+
CustomLicense(String) - Constructor for class com.snilius.aboutit.CustomLicense
+
 
+
+ + + +

D

+
+
description(int) - Method in class com.snilius.aboutit.AboutIt
+
+
A longer description
+
+
description(String) - Method in class com.snilius.aboutit.AboutIt
+
+
A longer description
+
+
display() - Method in class com.snilius.aboutit.CustomLicense
+
 
+
display() - Method in enum com.snilius.aboutit.L
+
+
Get display name for license
+
+
display() - Method in interface com.snilius.aboutit.LicenseBase
+
+
Get display name for license
+
+
+ + + +

G

+
+
getVersionString() - Method in class com.snilius.aboutit.AboutIt
+
+
Get a baked version string.
+
+
+ + + +

L

+
+
L - Enum in com.snilius.aboutit
+
+
License Definitions
+
+
LibBuilder - Class in com.snilius.aboutit
+
+
Library builder
+
+
LibBuilder() - Constructor for class com.snilius.aboutit.LibBuilder
+
 
+
libLicense(String, String, L, String) - Method in class com.snilius.aboutit.AboutIt
+
+
Add a library to the list
+
+
libLicense(AboutIt.Lib) - Method in class com.snilius.aboutit.AboutIt
+
+
Add a library to the list
+
+
LibSkeleton - Class in com.snilius.aboutit
+
+
Library skeleton for creation of presets
+
+
LibSkeleton(String, String, LicenseBase, String) - Constructor for class com.snilius.aboutit.LibSkeleton
+
 
+
license(LicenseBase) - Method in class com.snilius.aboutit.LibBuilder
+
 
+
LicenseBase - Interface in com.snilius.aboutit
+
+
License base
+
+
+ + + +

N

+
+
name(String) - Method in class com.snilius.aboutit.LibBuilder
+
 
+
+ + + +

R

+
+
release(String) - Method in class com.snilius.aboutit.AboutIt
+
+
Set a custom release name.
+
+
+ + + +

T

+
+
toTextView(int) - Method in class com.snilius.aboutit.AboutIt
+
+
Generate text and put in @ref{about_text}
+
+
+ + + +

U

+
+
url(String) - Method in class com.snilius.aboutit.LibBuilder
+
 
+
+ + + +

V

+
+
valueOf(String) - Static method in enum com.snilius.aboutit.L
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum com.snilius.aboutit.L
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
+ + + +

Y

+
+
year(int) - Method in class com.snilius.aboutit.AboutIt
+
+
Start copyright year.
+
+
+A B C D G L N R T U V Y 
+ + + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..970b65f --- /dev/null +++ b/index.html @@ -0,0 +1,71 @@ + + + + + +AboutIt + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="com/snilius/aboutit/package-summary.html">Non-frame version</a>.</p> + + + diff --git a/overview-tree.html b/overview-tree.html new file mode 100644 index 0000000..28aeebe --- /dev/null +++ b/overview-tree.html @@ -0,0 +1,152 @@ + + + + + +Class Hierarchy (AboutIt) + + + + + + + + + + + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ + + + + + diff --git a/package-list b/package-list new file mode 100644 index 0000000..9923a86 --- /dev/null +++ b/package-list @@ -0,0 +1 @@ +com.snilius.aboutit diff --git a/resources/background.gif b/resources/background.gif new file mode 100644 index 0000000..f471940 Binary files /dev/null and b/resources/background.gif differ diff --git a/resources/tab.gif b/resources/tab.gif new file mode 100644 index 0000000..1a73a83 Binary files /dev/null and b/resources/tab.gif differ diff --git a/resources/titlebar.gif b/resources/titlebar.gif new file mode 100644 index 0000000..17443b3 Binary files /dev/null and b/resources/titlebar.gif differ diff --git a/resources/titlebar_end.gif b/resources/titlebar_end.gif new file mode 100644 index 0000000..3ad78d4 Binary files /dev/null and b/resources/titlebar_end.gif differ diff --git a/script.js b/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index 1e7d24c..0000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':aboutit-sample', ':aboutit', ':aboutit-meta' diff --git a/stylesheet.css b/stylesheet.css new file mode 100644 index 0000000..0aeaa97 --- /dev/null +++ b/stylesheet.css @@ -0,0 +1,474 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ +body { + background-color:#ffffff; + color:#353833; + font-family:Arial, Helvetica, sans-serif; + font-size:76%; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4c6b87; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4c6b87; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-size:1.3em; +} +h1 { + font-size:1.8em; +} +h2 { + font-size:1.5em; +} +h3 { + font-size:1.4em; +} +h4 { + font-size:1.3em; +} +h5 { + font-size:1.2em; +} +h6 { + font-size:1.1em; +} +ul { + list-style-type:disc; +} +code, tt { + font-size:1.2em; +} +dt code { + font-size:1.2em; +} +table tr td dt code { + font-size:1.2em; + vertical-align:top; +} +sup { + font-size:.6em; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:.8em; + z-index:200; + margin-top:-7px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + background-image:url(resources/titlebar.gif); + background-position:left top; + background-repeat:no-repeat; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:1em; + margin:0; +} +.topNav { + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.bottomNav { + margin-top:10px; + background-image:url(resources/background.gif); + background-repeat:repeat-x; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; +} +.subNav { + background-color:#dee3e9; + border-bottom:1px solid #9eadc0; + float:left; + width:100%; + overflow:hidden; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding:3px 6px; +} +ul.subNavList li{ + list-style:none; + float:left; + font-size:90%; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; +} +.navBarCell1Rev { + background-image:url(resources/tab.gif); + background-color:#a88834; + color:#FFFFFF; + margin: auto 5px; + border:1px solid #c9aa44; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader h1 { + font-size:1.3em; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 25px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:1.2em; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + margin:0 0 6px -8px; + padding:2px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:1.0em; +} +.indexContainer h2 { + font-size:1.1em; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:1.1em; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:10px 0 10px 20px; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:25px; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #9eadc0; + background-color:#f9f9f9; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:1px solid #9eadc0; + border-top:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; + border-bottom:1px solid #9eadc0; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.contentContainer table, .classUseContainer table, .constantValuesContainer table { + border-bottom:1px solid #9eadc0; + width:100%; +} +.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { + width:100%; +} +.contentContainer .description table, .contentContainer .details table { + border-bottom:none; +} +.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ + vertical-align:top; + padding-right:20px; +} +.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, +.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, +.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, +.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { + padding-right:3px; +} +.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#FFFFFF; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + margin:0px; +} +caption a:link, caption a:hover, caption a:active, caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { + white-space:nowrap; + padding-top:8px; + padding-left:8px; + display:block; + float:left; + background-image:url(resources/titlebar.gif); + height:18px; +} +.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { + width:10px; + background-image:url(resources/titlebar_end.gif); + background-repeat:no-repeat; + background-position:top right; + position:relative; + float:left; +} +ul.blockList ul.blockList li.blockList table { + margin:0 0 12px 0px; + width:100%; +} +.tableSubHeadingColor { + background-color: #EEEEFF; +} +.altColor { + background-color:#eeeeef; +} +.rowColor { + background-color:#ffffff; +} +.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { + text-align:left; + padding:3px 3px 3px 7px; +} +th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { + background:#dee3e9; + border-top:1px solid #9eadc0; + border-bottom:1px solid #9eadc0; + text-align:left; + padding:3px 3px 3px 7px; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +td.colFirst, th.colFirst { + border-left:1px solid #9eadc0; + white-space:nowrap; +} +td.colLast, th.colLast { + border-right:1px solid #9eadc0; +} +td.colOne, th.colOne { + border-right:1px solid #9eadc0; + border-left:1px solid #9eadc0; +} +table.overviewSummary { + padding:0px; + margin-left:0px; +} +table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, +table.overviewSummary td.colOne, table.overviewSummary th.colOne { + width:25%; + vertical-align:middle; +} +table.packageSummary td.colFirst, table.overviewSummary th.colFirst { + width:25%; + vertical-align:middle; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:.9em; +} +.block { + display:block; + margin:3px 0 0 0; +} +.strong { + font-weight:bold; +} -- cgit v1.2.3