mirror of
https://github.com/KeymonSoft/AdditionalLibs.git
synced 2026-04-19 12:19:26 +00:00
Commit inicial
This commit is contained in:
BIN
B4J/BitmapsAsync.b4xlib
Normal file
BIN
B4J/BitmapsAsync.b4xlib
Normal file
Binary file not shown.
BIN
B4J/CalculationDistanceTime.jar
Normal file
BIN
B4J/CalculationDistanceTime.jar
Normal file
Binary file not shown.
105
B4J/CalculationDistanceTime.xml
Normal file
105
B4J/CalculationDistanceTime.xml
Normal file
@@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.00</doclet-version-NOT-library-version>
|
||||
<dependsOn>okhttp</dependsOn>
|
||||
<dependsOn includesSingletonModules="true">okhttputils2</dependsOn>
|
||||
<dependsOn>json</dependsOn>
|
||||
<dependsOn>okhttp-3.5.0</dependsOn>
|
||||
<dependsOn>okio-1.11.0</dependsOn>
|
||||
<dependsOn>javaobject</dependsOn>
|
||||
<dependsOn>stringutils</dependsOn>
|
||||
<class>
|
||||
<name>b4a.example.calculationdistancetime._typelevel</name>
|
||||
<shortname>typeLevel</shortname>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initializes the fields to their default value.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<field>
|
||||
<name>IsInitialized</name>
|
||||
<comment>Tests whether the object has been initialized.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>duration</name>
|
||||
<returntype>String</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>distance</name>
|
||||
<returntype>String</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>error</name>
|
||||
<returntype>String</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>b4a.example.calculationdistancetime</name>
|
||||
<shortname>calculationdistancetime</shortname>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment>Tests whether the object has been initialized.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="Initialize">_initialize</name>
|
||||
<comment>Initializes the object. You can add parameters to this method if needed.
|
||||
<b>originlat</b> - Double Original Latitude
|
||||
<b>originlot</b> - Double Original Longitude
|
||||
<b>destinationlat</b> - Double Destination Latitude
|
||||
<b>destinationlot</b> - Double Destination Longitude
|
||||
<b>units</b> - Units as Result - "km" returns distances in kilometers and meters or "imperial" returns distances in miles and feet
|
||||
<i>Example:</i> <code>
|
||||
Dim calculate As calculationdistancetime
|
||||
calculate.Initialize(41.923229,12.7241383,41.9191877,12.655384, "Km", Me, "Check_Result")
|
||||
|
||||
Sub Check_Result(valore As typeLevel)
|
||||
Log("Errore: " & valore.error)
|
||||
If valore.error.Length = 0 Then
|
||||
Log("Distance: " & valore.distance)
|
||||
Log("Time to Arrive: " & valore.duration)
|
||||
End If
|
||||
End Sub
|
||||
</code>
|
||||
</comment>
|
||||
<returntype>String</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>originlat</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>originlon</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>destinationlat</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>destinationlot</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>units</name>
|
||||
<type>String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Module</name>
|
||||
<type>Object</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<version>1</version>
|
||||
<author>Devil-App</author>
|
||||
</root>
|
||||
BIN
B4J/CompressStrings.jar
Normal file
BIN
B4J/CompressStrings.jar
Normal file
Binary file not shown.
25
B4J/CompressStrings.xml
Normal file
25
B4J/CompressStrings.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>de.donmanfred.GZipStringswrapper</name>
|
||||
<shortname>GZipStrings</shortname>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>compress</name>
|
||||
<comment></comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<version>0.01</version>
|
||||
<comment>Compress a Srring and return the Bytes.
|
||||
You should use StringUtils to convert the bytes to Base64
|
||||
|
||||
To decrypt it is enough to convert the base64 to bytes again.
|
||||
Use ByteConverter to get the String back from the Bytes.</comment>
|
||||
<author>DonManfred</author>
|
||||
</root>
|
||||
BIN
B4J/Encryption.jar
Normal file
BIN
B4J/Encryption.jar
Normal file
Binary file not shown.
685
B4J/Encryption.xml
Normal file
685
B4J/Encryption.xml
Normal file
@@ -0,0 +1,685 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.00</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper</name>
|
||||
<shortname>Cipher</shortname>
|
||||
<comment>This object provides the functionality of a secret (symmetric) key encryptor and
|
||||
decryptor. The algorithms may commonly be one of the following, there are others not listed here.
|
||||
|
||||
AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits.
|
||||
DES The Digital Encryption Standard as described in FIPS PUB 46-3.
|
||||
DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES).</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Decrypt</name>
|
||||
<comment>Encrypts the supplied data using the key provided. If an initialisation vector is
|
||||
to be used then useIV should be set True and the InitialisationVector property set
|
||||
to the required data.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>key</name>
|
||||
<type>java.security.Key</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>useIV</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initialises the Cipher object to perform the supplied transformation.
|
||||
|
||||
A transformation is a string that describes the operation (or set of operations) to be performed
|
||||
on the given input to produce some output. A transformation always includes the name of a
|
||||
cryptographic algorithm (e.g., DES), and may be followed by a mode and padding scheme.
|
||||
|
||||
A transformation is of the form "algorithm/mode/padding" or "algorithm".
|
||||
For example, the following are valid transformations:
|
||||
"DES/CBC/PKCS5Padding"
|
||||
"DES" note that this is actually a synonym for "DES/ECB/PKCS5Padding".
|
||||
"DES/ECB/NoPadding" use this for simple single block encoding.
|
||||
|
||||
Algorithm may commonly be one of the following, there are others not listed here.
|
||||
AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits.
|
||||
DES The Digital Encryption Standard as described in FIPS PUB 46-3.
|
||||
DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES).
|
||||
|
||||
Mode may commonly be one of the following, there are others not listed here.
|
||||
NONE No mode.
|
||||
CBC Cipher Block Chaining Mode, as defined in FIPS PUB 81.
|
||||
CFB, CFBx Cipher Feedback Mode, as defined in FIPS PUB 81.
|
||||
ECB Electronic Codebook Mode, as defined in FIPS PUB 81.
|
||||
OFB, OFBx Output Feedback Mode, as defined in FIPS PUB 81.
|
||||
Using modes such as CFB and OFB, block ciphers can encrypt data in units smaller than
|
||||
the cipher's actual block size. When requesting such a mode, you may optionally specify the
|
||||
number of bits to be processed at a time by appending this number to the mode name as shown
|
||||
in the "DES/CFB8/NoPadding" and "DES/OFB32/PKCS5Padding" transformations. If no such
|
||||
number is specified, a provider-specific default is used. Thus block ciphers can be turned into
|
||||
byte-oriented stream ciphers by using an 8 bit mode such as CFB8 or OFB8.
|
||||
|
||||
Padding may be one of
|
||||
NoPadding
|
||||
ISO10126Padding
|
||||
PKCS1Padding The padding scheme described in PKCS1, used with the RSA algorithm.
|
||||
PKCS5Padding The padding scheme described in RSA Laboratories, "PKCS5: version 1.5, November 1993.
|
||||
SSL3Padding The padding scheme defined in the SSL Protocol Version 3.0, November 18, 1996,
|
||||
section 5.2.3.2 (CBC block cipher):</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>transformation</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetAlgorithms</name>
|
||||
<comment>Returns an array of strings containing the algorithms that the specified security
|
||||
provider implements.</comment>
|
||||
<returntype>java.lang.String[]</returntype>
|
||||
<parameter>
|
||||
<name>servicename</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Encrypt</name>
|
||||
<comment>Decrypts the supplied data using the key provided. If an initialisation vector is
|
||||
to be used then useIV should be set True and the InitialisationVector property set
|
||||
to the required data.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>key</name>
|
||||
<type>java.security.Key</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>useIV</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetServices</name>
|
||||
<comment>Returns an array of strings containing the security providers present on the system.</comment>
|
||||
<returntype>java.lang.String[]</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>InitialisationVector</name>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>iv</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the initialisation vector array.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper.MessageDigestWrapper</name>
|
||||
<shortname>MessageDigest</shortname>
|
||||
<comment>Message digests are used to produce unique and reliable identifiers of data.
|
||||
They are sometimes called "checksums" or the "digital fingerprints" of the data.
|
||||
Changes to just one bit of the message should produce a different digest value.
|
||||
|
||||
Algorithm can be "MD2", "MD5", "SHA-1", "SHA-256", "SHA-384" or "SHA-512".</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>GetMessageDigest</name>
|
||||
<comment>Returns a byte array containing the message digest of the contents of the supplied
|
||||
array if bytes using the specified algorithm.
|
||||
Algorithm can be "MD5", "SHA-1", "SHA-224", "SHA-256", "SHA-384" or "SHA-512"</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>algorithm</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper.SecureRandomWrapper</name>
|
||||
<shortname>SecureRandom</shortname>
|
||||
<comment>A seed is an array of bytes used to bootstrap random number generation.
|
||||
To produce cryptographically secure random numbers, both the seed and the algorithm
|
||||
must be secure. By default, instances of this class will generate an initial seed
|
||||
using an internal entropy source. This seed is unpredictable and appropriate for secure use.
|
||||
You may alternatively specify the initial seed explicitly by calling setSeed(byte[]) before
|
||||
any random numbers have been generated. Specifying a fixed seed will cause the instance to
|
||||
return a predictable sequence of numbers. This may be useful for testing but it is not
|
||||
appropriate for secure use.
|
||||
|
||||
Although it is common practice to seed Random with the current time, that is dangerous with
|
||||
SecureRandom since that value is predictable to an attacker and not appropriate for secure use.</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>GetRandomBytes</name>
|
||||
<comment>Fills the provided array with cryptographically strong random numbers produced
|
||||
by the secure random number generator.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>bytes</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetRandomSeed</name>
|
||||
<comment>The random number generator seeds itself when created with a random seed. If it is
|
||||
required, say for testing purposes, to repeatedly reproduce the same sequence of
|
||||
random numbers then the generator may be seeded with a specific value before use.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>seed</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper.KeyGeneratorWrapper</name>
|
||||
<shortname>KeyGenerator</shortname>
|
||||
<comment>This object provides the functionality of a secret (symmetric) key generator.
|
||||
KeyGenerator objects are reusable, i.e., after a key has been generated, the same
|
||||
KeyGenerator object can be re-used to generate further keys.
|
||||
|
||||
Algorithm may commonly be one of the following, there are others not listed here.
|
||||
AES also known as Rijndael is a 128-bit block cipher supporting keys of 128, 192, and 256 bits.
|
||||
DES The Digital Encryption Standard as described in FIPS PUB 46-3.
|
||||
DESede Triple DES Encryption (also known as DES-EDE, 3DES, or Triple-DES).</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initialise this KeyGenerator to work with the specified algorithm.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>algorithm</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GenerateKey</name>
|
||||
<comment>Creates and saves internally a SecretKey object appropriate for use with the specified
|
||||
algorithm using internally provided random data .</comment>
|
||||
<returntype>javax.crypto.SecretKey</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>KeyFromBytes</name>
|
||||
<comment>Creates and saves internally a SecretKey object appropriate for use with the specified
|
||||
algorithm using the data in the byte array provided.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>keydata</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>KeyToBytes</name>
|
||||
<comment>Returns a byte array representing the SecretKey.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Format</name>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<comment>Returns the format of the key data obtained by KeyToBytes. This will almost certainly be "RAW".</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Key</name>
|
||||
<returntype>javax.crypto.SecretKey</returntype>
|
||||
<parameter>
|
||||
<name>key</name>
|
||||
<type>javax.crypto.SecretKey</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the SecretKey object.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper.KeyPairGeneratorWrapper</name>
|
||||
<shortname>KeyPairGenerator</shortname>
|
||||
<comment>The KeyPairGenerator is used to generate pairs of public and private keys.
|
||||
A key pair generator for a particular algorithm creates a public/private key pair
|
||||
that can be used with this algorithm.
|
||||
|
||||
Algorithm is commonly be the following, there may be others not listed here. *
|
||||
RSA The RSA encryption algorithm as defined in PRSA Public-Key Cryptography Standards .</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initialises the KeyPairGenerator with the specified algorithm and keysize.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>algorithm</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>keysize</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>PublicKeyFromBytes</name>
|
||||
<comment>Creates and saves internally a public key appropriate for use with the specified
|
||||
algorithm using the data in X.509 format from the byte array provided.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>keydata</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>PublicKeyToBytes</name>
|
||||
<comment>Returns a byte array in the X.509 format representing the PublicKey.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>PrivateKeyFromBytes</name>
|
||||
<comment>Creates and saves internally a private key appropriate for use with the specified
|
||||
algorithm using the data in the PKCS#8 format from the byte array provided.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>keydata</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>PrivateKeyToBytes</name>
|
||||
<comment>Returns a byte array in the PKC#8 format representing the PrivateKey.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GenerateKey</name>
|
||||
<comment>Generates a key pair appropriate for use with the specified algorithm.
|
||||
This is a simple holder for a key pair (a public key and a private key).
|
||||
It does not enforce any security, and, when initialized, should be treated like
|
||||
a private key.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>PublicKey</name>
|
||||
<returntype>java.security.PublicKey</returntype>
|
||||
<comment>Gets the public key of the KeyPairGenerator object.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Formats</name>
|
||||
<returntype>java.lang.String[]</returntype>
|
||||
<comment>Returns the formats of the key data obtained by xxxKeyToBytes in a String array.
|
||||
The public key format is at index 0 and will almost certainly be "X.509".
|
||||
The private key format is at index 1 and will almost certainly be "PKCS#8".</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>PrivateKey</name>
|
||||
<returntype>java.security.PrivateKey</returntype>
|
||||
<comment>Gets the private key of the KeyPairGenerator object.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper.SignaturerWrapper</name>
|
||||
<shortname>Signature</shortname>
|
||||
<comment>Similar to a MessageDigest, a Signature provides a way to check the integrity of information
|
||||
transmitted over or stored in an unreliable medium and also ensures that it can be verified
|
||||
that it originated from the person it purports to originate from. It accomplishes this by using
|
||||
a private key to encode a hash of the original data and the corresponding public key of the key
|
||||
pair to decode and check that hash value.
|
||||
|
||||
A Signature object is initialized for signing with a private key and is given the data
|
||||
to be signed. The resulting signature bytes are typically kept with the signed data.
|
||||
When verification is needed, another Signature object is created and initialized for
|
||||
verification and given the corresponding public key. The data and the signature bytes
|
||||
are fed to the signature object, and if the data and signature match, the Signature
|
||||
object reports success.</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialise</name>
|
||||
<comment>Initialises a Signature object that uses the specified algorithm for the specified mode.
|
||||
Mode must be either SIGNATURE_VERIFY or SIGNATURE_SIGN. Once the object is Initialised
|
||||
the data to be signed or verified is provided by one or more successive calls to Update.
|
||||
When the entire data to be signed or verified has been loaded Sign or Verify is called.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>algorithm</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>mode</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>key</name>
|
||||
<type>java.security.Key</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Update</name>
|
||||
<comment>One or more calls to this method are required after initialisation to load the data to be
|
||||
signed or verified.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Sign</name>
|
||||
<comment>Sign the uploaded data using the private key provided on initialisation.
|
||||
Return the calculated signature data.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Verify</name>
|
||||
<comment>Verify the uploaded data using the public key provided on initialisation and the signature
|
||||
provided. Return true if the verification is successful.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>signature</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
<field>
|
||||
<name>SIGNATURE_VERIFY</name>
|
||||
<comment></comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SIGNATURE_SIGN</name>
|
||||
<comment></comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.CipherWrapper.MacWrapper</name>
|
||||
<shortname>Mac</shortname>
|
||||
<comment>Similar to a MessageDigest, a Message Authentication Code (MAC) provides a way to check
|
||||
the integrity of information transmitted over or stored in an unreliable medium, but includes
|
||||
a secret key in the calculation. Only someone with the proper key will be able to verify the
|
||||
received message. Typically, message authentication codes are used between two parties that
|
||||
share a secret key in order to validate information transmitted between these parties.
|
||||
|
||||
A MAC object is initialized for signing with a secret key and is given the data to be signed.
|
||||
The resulting signature bytes are typically kept with the signed data. When verification is needed,
|
||||
another MAC object is created and initialized with the same secret key.The data is uploaded and the
|
||||
signature obtained is compared with the signature provided with the message. The comparison may
|
||||
be made externally by comparing the signature provided with the data to that returned by Sign or
|
||||
the MAC object can do the comparison itself by using the Verify method with the provided signature.</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialise</name>
|
||||
<comment>Initialises a Mac object that uses the specified algorithm and the specified secret key.
|
||||
Once the object is Initialised the data to be signed or verified is provided by one or more
|
||||
successive calls to Update. When the entire data to be signed or verified has been loaded
|
||||
Sign or Verify is called.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>algorithm</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>key</name>
|
||||
<type>java.security.Key</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Update</name>
|
||||
<comment>One or more calls to this method are required after initialisation to load the data to be
|
||||
signed or verified.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Sign</name>
|
||||
<comment>Sign the uploaded data using the secret key provided on initialisation.
|
||||
Return the calculated signature data.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Verify</name>
|
||||
<comment>Verify the uploaded data using the public key provided on initialisation and the signature
|
||||
provided. Return true if the verification is successful.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>signature</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.agraham.encryption.Base64</name>
|
||||
<shortname>Base64</shortname>
|
||||
<comment>The Base64 object encodes and decodes to and from Base64 notation.</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>EncodeStoS</name>
|
||||
<comment>Encode a string into a string of Base64 characters. The string is converted
|
||||
into an array of bytes according to encoding and then coded as Base64.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>encoding</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>EncodeStoB</name>
|
||||
<comment>Encode a string into a byte array of Base64 characters. The string is converted
|
||||
into an array of bytes according to encoding and then coded as Base64.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>encoding</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>EncodeBtoS</name>
|
||||
<comment>Encode a byte array into a string of Base64 characters.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>offset</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>length</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>DecodeStoS</name>
|
||||
<comment>Decode a string of Base64 characters into a string. Tab, CR, LF and Space
|
||||
characters in the data are ignored, invalid Base64 characters throw an exception.
|
||||
Encoding defines the encoding of the byte data of the original coded string.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>b64string</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>encoding</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>DecodeStoB</name>
|
||||
<comment>Decode a String of Base64 characters into a byte array. Tab, CR, LF and Space
|
||||
characters in the string are ignored, invalid Base64 characters throw an exception.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>b64string</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>DecodeBtoS</name>
|
||||
<comment>Decode an array of Base64 characters into a string. Tab, CR, LF and Space
|
||||
characters in the data are ignored, invalid Base64 characters throw an exception.
|
||||
Encoding defines the encoding of the byte data of the original coded string.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>b64bytes</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>offset</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>length</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>encoding</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>DecodeBtoB</name>
|
||||
<comment>Decode a byte array of Base64 characters into a byte array. Tab, CR, LF and Space
|
||||
characters in the data are ignored, invalid Base64 characters throw an exception.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>b64bytes</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>offset</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>length</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>EncodeBtoB</name>
|
||||
<comment>Encode a byte array into a byte array of Base64 characters.</comment>
|
||||
<returntype>byte[]</returntype>
|
||||
<parameter>
|
||||
<name>data</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>offset</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>length</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>LineLength</name>
|
||||
<returntype>int</returntype>
|
||||
<parameter>
|
||||
<name>linelength</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the number of Base64 characters placed on each line when line breaks
|
||||
are being added to the Base64 output when encoding.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Version</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the version number of the library.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>BreakLines</name>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>breaklines</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets whether line breaks are added to the Base64 output when encoding.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>UrlSafe</name>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>urlsafe</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets whether the Base64 encoding and decoding is done in a "URL safe" manner.
|
||||
In "URL safe mode" the "plus" character in the Base64 becomes a "hyphen" and the
|
||||
"slash" character becomes an "underscore".</comment>
|
||||
</property>
|
||||
</class>
|
||||
<version>1.1</version>
|
||||
<comment>This library implements various encryption and encoding methods
|
||||
|
||||
The following objects are available:
|
||||
|
||||
Base64: used to encode and decode data in Base64 representation.
|
||||
Cipher: used for encrypting/decrypting data.
|
||||
KeyGenerator: used to generate and mainpulate secret keys for symmetric ciphers.
|
||||
MAC: (Message Authentication Code) used generate secret key encrypted message digests.
|
||||
MessageDigest: used to calculate the message digest (hash) of specified data.
|
||||
SecureRandom: used to generate pseudo-random numbers.
|
||||
Signature: are used to sign data and verify digital signatures.
|
||||
|
||||
More information is given on each object in its help comments.
|
||||
|
||||
These comments are intended to document the facilities provided by this library.
|
||||
They are not intended in any way to cover their practical use. It is assumed that
|
||||
you know what you are doing when you use this library.
|
||||
|
||||
Documentation on the Java Cryptography Architecture may be found at
|
||||
<link>http://download.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html</link>
|
||||
|
||||
A list of standard names used in the Java Cryptography Architecture may be found at
|
||||
<link>http://download.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html</link>
|
||||
|
||||
Any implementation does not neccessarily include the complete list. A list of included
|
||||
Service Providers may be obtained with the Cipher.GetServices method and they may be passed
|
||||
individually to Cipher.GetAlgorithms to get the list of supported algorithms for that provider.</comment>
|
||||
<author>Andrew Graham</author>
|
||||
</root>
|
||||
BIN
B4J/FusedLocationProvider.jar
Normal file
BIN
B4J/FusedLocationProvider.jar
Normal file
Binary file not shown.
531
B4J/FusedLocationProvider.xml
Normal file
531
B4J/FusedLocationProvider.xml
Normal file
@@ -0,0 +1,531 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.04</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus</name>
|
||||
<shortname>LocationSettingsStatus</shortname>
|
||||
<objectwrapper>com.google.android.gms.common.api.Status</objectwrapper>
|
||||
<owner>activity</owner>
|
||||
<event>ResolutionDialogDismissed(LocationSettingsUpdated As Boolean)</event>
|
||||
<method>
|
||||
<name>StartResolutionDialog</name>
|
||||
<comment>Starts the resolution dialog.
|
||||
The user can then enable the location settings required to meet the location request requirements.
|
||||
This method must be called from an Activity.
|
||||
Raises the event:
|
||||
ResolutionDialogDismissed(LocationSettingsUpdated As Boolean)</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetStatusCode</name>
|
||||
<comment>Returns the status code that describes whether the location settings meet the location request requirements.</comment>
|
||||
<returntype>int</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<field>
|
||||
<name>StatusCodes</name>
|
||||
<comment>Contains the various StatusCode constants.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus.StatusCodes</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus.StatusCodes</name>
|
||||
<shortname>StatusCodes</shortname>
|
||||
<owner>process</owner>
|
||||
<field>
|
||||
<name>SETTINGS_CHANGE_UNAVAILABLE</name>
|
||||
<comment>Location settings do not meet the location request requirements.
|
||||
Location settings can't be changed to meet the location request requirements.
|
||||
No resolution dialog is available.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SUCCESS</name>
|
||||
<comment>Location settings meet the location request requirements.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>RESOLUTION_REQUIRED</name>
|
||||
<comment>Location settings do not meet the location request requirements.
|
||||
Location settings can be changed to meet the location request requirements.
|
||||
A resolution dialog is available.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStates</name>
|
||||
<shortname>LocationSettingsStates</shortname>
|
||||
<objectwrapper>com.google.android.gms.location.LocationSettingsStates</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsGpsPresent</name>
|
||||
<comment>Whether GPS provider is present on the device.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsBlePresent</name>
|
||||
<comment>Whether BLE is present on the device.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsNetworkLocationUsable</name>
|
||||
<comment>Whether network location provider is enabled and usable by the app.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsNetworkLocationPresent</name>
|
||||
<comment>Whether network location provider is present on the device.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsLocationPresent</name>
|
||||
<comment>Whether location is present on the device.
|
||||
This method returns true when either GPS or network location provider is present.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsGpsUsable</name>
|
||||
<comment>Whether GPS provider is enabled and is usable by the app.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsLocationUsable</name>
|
||||
<comment>Whether location is enabled and is usable by the app.
|
||||
This method returns true when either GPS or network location provider is usable.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsBleusable</name>
|
||||
<comment>Whether BLE is enabled and is usable by the app.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsResult</name>
|
||||
<shortname>LocationSettingsResult</shortname>
|
||||
<objectwrapper>com.google.android.gms.location.LocationSettingsResult</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetLocationSettingsStates</name>
|
||||
<comment>Returns the location settings states.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStates</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetLocationSettingsStatus</name>
|
||||
<comment>Returns the location settings result status.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsStatus</returntype>
|
||||
</method>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder</name>
|
||||
<shortname>LocationSettingsRequestBuilder</shortname>
|
||||
<objectwrapper>com.google.android.gms.location.LocationSettingsRequest.Builder</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Build</name>
|
||||
<comment>Creates a LocationSettingsRequest.</comment>
|
||||
<returntype>com.google.android.gms.location.LocationSettingsRequest</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetNeedBle</name>
|
||||
<comment>Sets whether the client wants BLE scan to be enabled.
|
||||
When this flag is set to true, if the platform supports BLE scan mode and Bluetooth is off, the dialog will prompt the user to enable BLE scan.
|
||||
If the platform doesn't support BLE scan mode, the dialog will prompt to enable Bluetooth.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder</returntype>
|
||||
<parameter>
|
||||
<name>NeedBle</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddLocationRequest</name>
|
||||
<comment>Adds one LocationRequest that the client is interested in.
|
||||
This method can be called multiple times if required to add additional location requests.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder</returntype>
|
||||
<parameter>
|
||||
<name>LocationRequest1</name>
|
||||
<type>com.google.android.gms.location.LocationRequest</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetAlwaysShow</name>
|
||||
<comment>Always show the dialog, without the "Never" option to suppress future dialogs from this app.
|
||||
When this flag is set to true, the dialog will show up if the location settings do not satisfy the request, even if a user has previously chosen "Never".
|
||||
NOTE: Only use this method if your dialog is the result of an explicit user-initiated action that requires location to proceed.
|
||||
Cancelling this dialog should also cancel the initiated action.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationSettingsRequestBuilder</returntype>
|
||||
<parameter>
|
||||
<name>AlwaysShow</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</name>
|
||||
<shortname>LocationRequest</shortname>
|
||||
<objectwrapper>com.google.android.gms.location.LocationRequest</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>SetExpirationTime</name>
|
||||
<comment>Set the request expiration time, in millisecond since boot.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>Millis</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetPriority</name>
|
||||
<comment>Set the priority of the request.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>Priority</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetFastestInterval</name>
|
||||
<comment>Explicitly set the fastest interval for location updates, in milliseconds.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>Millis</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initialize the LocationRequest with default parameters.
|
||||
Default parameters are for a block accuracy, slowly updated location.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetNumUpdates</name>
|
||||
<comment>Get the number of updates requested.</comment>
|
||||
<returntype>int</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetSmallestDisplacement</name>
|
||||
<comment>Get the minimum displacement between location updates in meters.
|
||||
By default this is 0.</comment>
|
||||
<returntype>float</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetFastestInterval</name>
|
||||
<comment>Get the fastest interval of this request, in milliseconds.</comment>
|
||||
<returntype>long</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetExpirationTime</name>
|
||||
<comment>Get the request expiration time, in milliseconds since boot.</comment>
|
||||
<returntype>long</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetPriority</name>
|
||||
<comment>Get the quality of the request.</comment>
|
||||
<returntype>int</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetSmallestDisplacement</name>
|
||||
<comment>Set the minimum displacement between location updates in meters.
|
||||
By default this is 0.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>SmallestDisplacementMeters</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetInterval</name>
|
||||
<comment>Get the desired interval of this request, in milliseconds.</comment>
|
||||
<returntype>long</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetInterval</name>
|
||||
<comment>Set the desired interval for active location updates, in milliseconds.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>Millis</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetExpirationDuration</name>
|
||||
<comment>Set the duration of this request, in milliseconds.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>Millis</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetNumUpdates</name>
|
||||
<comment>Set the number of location updates.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest</returntype>
|
||||
<parameter>
|
||||
<name>NumUpdates</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<field>
|
||||
<name>Priority</name>
|
||||
<comment>Contains the various priority constants.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest.Priority</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.LocationRequest.Priority</name>
|
||||
<shortname>Priority</shortname>
|
||||
<owner>process</owner>
|
||||
<field>
|
||||
<name>PRIORITY_HIGH_ACCURACY</name>
|
||||
<comment>Used with SetPriority(Int) to request the most accurate locations available.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>PRIORITY_LOW_POWER</name>
|
||||
<comment>Used with SetPriority(Int) to request "city" level accuracy.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>PRIORITY_NO_POWER</name>
|
||||
<comment>Used with SetPriority(Int) to request the best accuracy possible with zero additional power consumption.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>PRIORITY_BALANCED_POWER_ACCURACY</name>
|
||||
<comment>Used with SetPriority(Int) to request "block" level accuracy.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper</name>
|
||||
<shortname>FusedLocationProvider</shortname>
|
||||
<objectwrapper>uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProvider</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<event>ConnectionFailed(ConnectionResult1 As Int)</event>
|
||||
<event>ConnectionSuccess</event>
|
||||
<event>ConnectionSuspended(SuspendedCause1 As Int)</event>
|
||||
<event>LocationChanged(Location1 As Location)</event>
|
||||
<event>LocationSettingsChecked(LocationSettingsResult1 As LocationSettingsResult)</event>
|
||||
<method>
|
||||
<name>GetLastKnownLocation</name>
|
||||
<comment>Returns the best most recent location currently available.
|
||||
Can only be called if the FusedLocationProvider is connected.
|
||||
The returned Location object will not be initialized if no last known location is available.</comment>
|
||||
<returntype>anywheresoftware.b4a.gps.LocationWrapper</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>RemoveLocationUpdates</name>
|
||||
<comment>Remove all requests for location updates.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Connect</name>
|
||||
<comment>Attempt to connect to the Location Services.
|
||||
Will raise either event:
|
||||
ConnectionFailed(ConnectionResult1 As Int)
|
||||
ConnectionSuccess</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initialize the FusedLocationProvider object.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>pBA</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>CheckLocationSettings</name>
|
||||
<comment>Checks if the relevant system settings are enabled on the device to carry out the desired location requests.
|
||||
Raises the event:
|
||||
LocationSettingsChecked(LocationSettingsResult1 As LocationSettingsResult)</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>LocationSettingsRequest1</name>
|
||||
<type>com.google.android.gms.location.LocationSettingsRequest</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>RequestLocationUpdates</name>
|
||||
<comment>Request for location updates.
|
||||
The LocationRequest object defines the criteria for which location updates are requested.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>LocationRequest1</name>
|
||||
<type>com.google.android.gms.location.LocationRequest</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Disconnect</name>
|
||||
<comment>Disconnect from the Location Services.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsConnecting</name>
|
||||
<comment>Returns whether the FusedLocationProvider is trying to connect to the Location Services.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsConnected</name>
|
||||
<comment>Returns whether the FusedLocationProvider is connected to the Location Services.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<field>
|
||||
<name>ConnectionResult</name>
|
||||
<comment>Contains the various ConnectionResult constants.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.ConnectionResult</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SuspendedCause</name>
|
||||
<comment>Contains the various SuspendedCause constants.</comment>
|
||||
<returntype>uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.SuspendedCause</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.ConnectionResult</name>
|
||||
<shortname>ConnectionResult</shortname>
|
||||
<owner>process</owner>
|
||||
<field>
|
||||
<name>SUCCESS</name>
|
||||
<comment>The connection was successful.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>INTERNAL_ERROR</name>
|
||||
<comment>An internal error occurred.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>RESOLUTION_REQUIRED</name>
|
||||
<comment>Completing the connection requires some form of resolution.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SERVICE_INVALID</name>
|
||||
<comment>The version of the Google Play services installed on this device is not authentic.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>CANCELLED</name>
|
||||
<comment>The client cancelled the connection by calling Disconnect().</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>INVALID_ACCOUNT</name>
|
||||
<comment>The client attempted to connect to the service with an invalid account name specified.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>DEVELOPER_ERROR</name>
|
||||
<comment>The application is misconfigured.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SERVICE_MISSING</name>
|
||||
<comment>Google Play services is missing on this device.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>LICENSE_CHECK_FAILED</name>
|
||||
<comment>The application is not licensed to the user. This error is not recoverable and will be treated as fatal.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>NETWORK_ERROR</name>
|
||||
<comment>A network error occurred. Retrying should resolve the problem.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SERVICE_DISABLED</name>
|
||||
<comment>The installed version of Google Play services has been disabled on this device.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>API_UNAVAILABLE</name>
|
||||
<comment>One of the API components you attempted to connect to is not available.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SERVICE_VERSION_UPDATE_REQUIRED</name>
|
||||
<comment>The installed version of Google Play services is out of date.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>SIGN_IN_REQUIRED</name>
|
||||
<comment>The client attempted to connect to the service but the user is not signed in.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.SuspendedCause</name>
|
||||
<shortname>SuspendedCause</shortname>
|
||||
<owner>process</owner>
|
||||
<field>
|
||||
<name>CAUSE_NETWORK_LOST</name>
|
||||
<comment>A connection suspended cause informing you that a peer device connection was lost.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>CAUSE_SERVICE_DISCONNECTED</name>
|
||||
<comment>A connection suspended cause informing that the service has been killed.</comment>
|
||||
<returntype>int</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<version>1.31</version>
|
||||
<comment>The FusedLocationProvider intelligently manages the underlying location technology and gives you the best location according to your needs.
|
||||
https://developer.android.com/google/play-services/location.html
|
||||
This library depends on the Google Play Services library, android-support-v4 library and the GPS library.
|
||||
The GPS library is required in order to use it's Location object.</comment>
|
||||
<author>Martin Pearman</author>
|
||||
<dependsOn>android-support-v4</dependsOn>
|
||||
<dependsOn>google-play-services</dependsOn>
|
||||
<dependsOn>GPS</dependsOn>
|
||||
</root>
|
||||
BIN
B4J/GPS.jar
Normal file
BIN
B4J/GPS.jar
Normal file
Binary file not shown.
266
B4J/GPS.xml
Normal file
266
B4J/GPS.xml
Normal file
@@ -0,0 +1,266 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.04</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.gps.LocationWrapper</name>
|
||||
<shortname>Location</shortname>
|
||||
<comment>A Location object holds various information about a specific GPS fix.
|
||||
In most cases you will work with locations that are passed to the GPS LocationChanged event.
|
||||
The location object can also be used to calculate distance and bearing to other locations.</comment>
|
||||
<objectwrapper>android.location.Location</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initializes an empty location object.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>ConvertToSeconds</name>
|
||||
<comment>Converts the given coordinate to a string formatted with the following format:
|
||||
[+-]DDD:MM:SS.SSSSS (Minute = 1 / 60 of a degree, Second = 1 / 3600 of a degree)</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>Coordinate</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>DistanceTo</name>
|
||||
<comment>Returns the distance to the given location, measured in meters.</comment>
|
||||
<returntype>float</returntype>
|
||||
<parameter>
|
||||
<name>TargetLocation</name>
|
||||
<type>android.location.Location</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>ConvertToMinutes</name>
|
||||
<comment>Converts the given coordinate to a string formatted with the following format:
|
||||
[+-]DDD:MM.MMMMM (Minute = 1 / 60 of a degree)</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>Coordinate</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize2</name>
|
||||
<comment>Initializes the location object with the given Latitude and Longitude.
|
||||
Values can be formatted in any of the three formats:
|
||||
Degrees: [+-]DDD.DDDDD
|
||||
Minutes: [+-]DDD:MM.MMMMM (Minute = 1 / 60 of a degree)
|
||||
Seconds: [+-]DDD:MM:SS.SSSSS (Second = 1 / 3600 of a degree)
|
||||
Example:<code>
|
||||
Dim L1 As Location
|
||||
L1.Initialize2("45:30:30", "45:20:15")</code></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Latitude</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Longitude</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>BearingTo</name>
|
||||
<comment>Returns the bearing to the given location.</comment>
|
||||
<returntype>float</returntype>
|
||||
<parameter>
|
||||
<name>TargetLocation</name>
|
||||
<type>android.location.Location</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>AltitudeValid</name>
|
||||
<returntype>boolean</returntype>
|
||||
<comment>Returns true if the fix includes altitude value.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Accuracy</name>
|
||||
<returntype>float</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix accuracy (meters).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>BearingValid</name>
|
||||
<returntype>boolean</returntype>
|
||||
<comment>Returns true if the fix includes bearing value.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>SpeedValid</name>
|
||||
<returntype>boolean</returntype>
|
||||
<comment>Returns true if the fix includes speed value.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Altitude</name>
|
||||
<returntype>double</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix altitude (meters).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Speed</name>
|
||||
<returntype>float</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix speed (meters / second).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Time</name>
|
||||
<returntype>long</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix time.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Latitude</name>
|
||||
<returntype>double</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix latitude (degrees from -90 (South) to 90 (North)).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Longitude</name>
|
||||
<returntype>double</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix longitude (degrees from -180 to 180, positive values represent the eastern hemisphere).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>AccuracyValid</name>
|
||||
<returntype>boolean</returntype>
|
||||
<comment>Returns true if the fix includes accuracy value.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Bearing</name>
|
||||
<returntype>float</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the fix bearing East of true North.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.gps.GpsSatelliteWrapper</name>
|
||||
<shortname>GPSSatellite</shortname>
|
||||
<comment>The GPSSatellite object holds various information about a GPS satellite. A List with the available satellites is passed to the GpsStatus event.</comment>
|
||||
<objectwrapper>android.location.GpsSatellite</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>UsedInFix</name>
|
||||
<returntype>boolean</returntype>
|
||||
<comment>Tests whether this satellite was used to calculate the most recent fix.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Prn</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the PRN (pseudo-random number) for the satellite.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Elevation</name>
|
||||
<returntype>float</returntype>
|
||||
<comment>Returns the satellite elevation in degrees (0 - 90).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Azimuth</name>
|
||||
<returntype>float</returntype>
|
||||
<comment>Returns the satellite azimuth in degrees (0 - 360).</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Snr</name>
|
||||
<returntype>float</returntype>
|
||||
<comment>Returns the signal to noise ratio for the satellite.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.gps.GPS</name>
|
||||
<shortname>GPS</shortname>
|
||||
<comment>The main object that raises the GPS events.
|
||||
Note that this library requires Android 2.0 or above.</comment>
|
||||
<owner CheckForReinitialize="true">process</owner>
|
||||
<event>LocationChanged (Location1 As Location)</event>
|
||||
<event>UserEnabled (Enabled As Boolean)</event>
|
||||
<event>GpsStatus (Satellites As List)</event>
|
||||
<event>NMEA (TimeStamp As Long, Sentence As String)</event>
|
||||
<permission>android.permission.ACCESS_FINE_LOCATION</permission>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name RaisesSynchronousEvents="true">Start</name>
|
||||
<comment>Starts listening for events.
|
||||
MinimumTime - The shortest period (measured in milliseconds) between events. Pass 0 for highest frequency.
|
||||
MinimumDistance - The shortest change in distance (measured in meters) for which to raise events. Pass 0 for highest frequency.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>MinimumTime</name>
|
||||
<type>long</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>MinimumDistance</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Stop</name>
|
||||
<comment>Stops listening to the GPS. You will usually want to call Stop inside Sub Activity_Pause.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>GPSEnabled</name>
|
||||
<returntype>boolean</returntype>
|
||||
<comment>Tests whether the user has enabled the GPS.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>LocationSettingsIntent</name>
|
||||
<returntype>android.content.Intent</returntype>
|
||||
<comment>Returns the intent that is used to show the global locations settings.
|
||||
Example:<code>
|
||||
If GPS1.GPSEnabled = False Then StartActivity(GPS1.LocationSettingsIntent)</code></comment>
|
||||
</property>
|
||||
</class>
|
||||
<version>1.2</version>
|
||||
<comment>The GPS library allows you to get information from the phone's GPS device.
|
||||
See the <link>GPS tutorial|http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/6592-gps-tutorial.html</link> for more information about this library.</comment>
|
||||
</root>
|
||||
BIN
B4J/GoogleMaps.jar
Normal file
BIN
B4J/GoogleMaps.jar
Normal file
Binary file not shown.
BIN
B4J/GoogleMapsExtras.jar
Normal file
BIN
B4J/GoogleMapsExtras.jar
Normal file
Binary file not shown.
3262
B4J/GoogleMapsExtras.xml
Normal file
3262
B4J/GoogleMapsExtras.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
B4J/NHCalculateHASH.jar
Normal file
BIN
B4J/NHCalculateHASH.jar
Normal file
Binary file not shown.
111
B4J/NHCalculateHASH.xml
Normal file
111
B4J/NHCalculateHASH.xml
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.00</doclet-version-NOT-library-version>
|
||||
<b4x_version>9.80</b4x_version>
|
||||
<dependsOn>javaobject</dependsOn>
|
||||
<dependsOn>jcore</dependsOn>
|
||||
<dependsOn>jfx</dependsOn>
|
||||
<dependsOn>jxui</dependsOn>
|
||||
<dependsOn>byteconverter</dependsOn>
|
||||
<dependsOn>json</dependsOn>
|
||||
<class>
|
||||
<name>b4j.example.calculatehash</name>
|
||||
<shortname>CalculateHash</shortname>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment>Tests whether the object has been initialized.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="CalculateHasFromByteArray">_v6</name>
|
||||
<returntype>String</returntype>
|
||||
<parameter>
|
||||
<name>bByteArray</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="CalculateTheHash">_v7</name>
|
||||
<returntype>String</returntype>
|
||||
<parameter>
|
||||
<name>AnythingWillBeConvertedToStringToCalculateHASHCanBeBASE64String</name>
|
||||
<type>String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="CalculateTheHashWithAlgorithm">_v0</name>
|
||||
<comment><code>
|
||||
Dim clCH as CalculateHash
|
||||
clCH.Initialize
|
||||
Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.", clCH.MD5))
|
||||
Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.", clCH.SHA256))
|
||||
Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.", clCH.SHA1))
|
||||
</code>
|
||||
</comment>
|
||||
<returntype>String</returntype>
|
||||
<parameter>
|
||||
<name>AnythingWillBeConvertedToStringToCalculateHASHCanBeBASE64String</name>
|
||||
<type>String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Algorithm</name>
|
||||
<type>String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="CalculateTheHashWithAlgorithmFromByteArray">_vv1</name>
|
||||
<comment><code>
|
||||
Dim clCH as CalculateHash
|
||||
clCH.Initialize
|
||||
Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.".GetBytes("UTF-8"), clCH.MD5))
|
||||
Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.".GetBytes("UTF-8"), clCH.SHA256))
|
||||
Log(clCH.CalculateTheHashWithAlgorythm("Let's try this to see.".GetBytes("UTF-8"), clCH.SHA1))
|
||||
</code>
|
||||
</comment>
|
||||
<returntype>String</returntype>
|
||||
<parameter>
|
||||
<name>bytearray</name>
|
||||
<type>byte[]</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Algorithm</name>
|
||||
<type>String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="getMD5" HideFromIDE="true">_getvv5</name>
|
||||
<returntype>String</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="getSHA1" HideFromIDE="true">_getvv6</name>
|
||||
<returntype>String</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="getSHA256" HideFromIDE="true">_getvv7</name>
|
||||
<returntype>String</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name DesignerName="Initialize">_initialize</name>
|
||||
<comment>Initializes the object. You can add parameters to this method if needed.
|
||||
</comment>
|
||||
<returntype>String</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name DesignerName="MD5">_vv5</name>
|
||||
<returntype>String</returntype>
|
||||
</property>
|
||||
<property>
|
||||
<name DesignerName="SHA1">_vv6</name>
|
||||
<returntype>String</returntype>
|
||||
</property>
|
||||
<property>
|
||||
<name DesignerName="SHA256">_vv7</name>
|
||||
<returntype>String</returntype>
|
||||
</property>
|
||||
</class>
|
||||
<version>1</version>
|
||||
</root>
|
||||
BIN
B4J/SD_xComboBox.b4xlib
Normal file
BIN
B4J/SD_xComboBox.b4xlib
Normal file
Binary file not shown.
BIN
B4J/WobbleMenu.b4xlib
Normal file
BIN
B4J/WobbleMenu.b4xlib
Normal file
Binary file not shown.
BIN
B4J/WobbleMenu.b4xlib.bak
Normal file
BIN
B4J/WobbleMenu.b4xlib.bak
Normal file
Binary file not shown.
BIN
B4J/android-support-annotations.jar
Normal file
BIN
B4J/android-support-annotations.jar
Normal file
Binary file not shown.
BIN
B4J/android-support-v4.jar
Normal file
BIN
B4J/android-support-v4.jar
Normal file
Binary file not shown.
BIN
B4J/jBuilderUtils.jar
Normal file
BIN
B4J/jBuilderUtils.jar
Normal file
Binary file not shown.
72
B4J/jBuilderUtils.xml
Normal file
72
B4J/jBuilderUtils.xml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.04</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.ReadWriteLockWrapper</name>
|
||||
<shortname>ReadWriteLock</shortname>
|
||||
<objectwrapper>java.util.concurrent.locks.ReentrantReadWriteLock</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>ReadRelease</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>WriteRelease</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>ReadLock</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>WriteLock</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.ReadWriteLockWrapper.AtomicIntegerWrapper</name>
|
||||
<shortname>AtomicInteger</shortname>
|
||||
<objectwrapper>java.util.concurrent.atomic.AtomicInteger</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Value</name>
|
||||
<comment></comment>
|
||||
<returntype>int</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Decrement</name>
|
||||
<comment></comment>
|
||||
<returntype>int</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Increment</name>
|
||||
<comment></comment>
|
||||
<returntype>int</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
</class>
|
||||
<version>1.0</version>
|
||||
</root>
|
||||
BIN
B4J/jExcel.jar
Normal file
BIN
B4J/jExcel.jar
Normal file
Binary file not shown.
963
B4J/jExcel.xml
Normal file
963
B4J/jExcel.xml
Normal file
@@ -0,0 +1,963 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.04</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.objects.WorkbookWrapper</name>
|
||||
<shortname>ReadableWorkbook</shortname>
|
||||
<comment>This library wraps the open source jexcel project. It allows reading and writing Microsoft Excel files.
|
||||
See the tutorial in the forum for more information.</comment>
|
||||
<objectwrapper>jxl.Workbook</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<event>Ready (Success As Boolean)</event>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Opens the given workbook in read-only mode.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Dir</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FileName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Close</name>
|
||||
<comment>Closes the workbook.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>InitializeAsync</name>
|
||||
<comment>Opens the file asynchronously. The Ready event will be raised when the workbook is ready.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Dir</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FileName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetSheet</name>
|
||||
<comment>Gets the sheet at the specified index (first sheet is at index 0).</comment>
|
||||
<returntype>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.SheetWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Index</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetSheetNames</name>
|
||||
<comment>Returns an array with the sheets names.</comment>
|
||||
<returntype>java.lang.String[]</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>NumberOfSheets</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the number of sheets.</comment>
|
||||
</property>
|
||||
<field>
|
||||
<name>Encoding</name>
|
||||
<comment>Gets or sets the encoding. Must be set before Initialize is called.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.objects.WorkbookWrapper.WritableWorkbookWrapper</name>
|
||||
<shortname>WritableWorkbook</shortname>
|
||||
<objectwrapper>jxl.write.WritableWorkbook</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initializes the output file. <b>The output file will be deleted if it already exists.</b></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Dir</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FileName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Close</name>
|
||||
<comment>Closes the workbook.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Write</name>
|
||||
<comment>Writes the data to the disk.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetSheet</name>
|
||||
<comment>Gets the sheet at the specified index (first sheet is at index 0).</comment>
|
||||
<returntype>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableSheetWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Index</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>RemoveSheet</name>
|
||||
<comment>Removes the sheet at the given index.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Index</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddSheet</name>
|
||||
<comment>Adds a new sheet with the given name and at the specific index.</comment>
|
||||
<returntype>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableSheetWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Name</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Index</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize2</name>
|
||||
<comment>Initializes the output file and creates a copy of the given workbook.
|
||||
<b>The output file will be deleted if it already exists.</b></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Dir</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FileName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Workbook</name>
|
||||
<type>jxl.Workbook</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetSheetNames</name>
|
||||
<comment>Returns an array with the sheets names.</comment>
|
||||
<returntype>java.lang.String[]</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>NumberOfSheets</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the number of sheets.</comment>
|
||||
</property>
|
||||
<field>
|
||||
<name>Encoding</name>
|
||||
<comment>Gets or sets the encoding. Must be set before Initialize is called.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.SheetWrapper</name>
|
||||
<shortname>ReadableSheet</shortname>
|
||||
<objectwrapper>jxl.Sheet</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<event>ValuesAvailable (Success As Boolean, Rows As List)</event>
|
||||
<method>
|
||||
<name>GetAllAsync</name>
|
||||
<comment>Asynchronously retrieves all the values in the sheet.
|
||||
The ValuesAvailable event is raised when the data is ready with a List that holds the data.
|
||||
Each item in the list is an array of strings that represents a single row.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetCellValue</name>
|
||||
<comment>Returns the string value of the cell at the given column and row.
|
||||
(0, 0) is equivalent to A0.
|
||||
(0, 1) is equivalent to A1.
|
||||
(1, 0) is equivalent to B0.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>Col</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Row</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Name</name>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<comment>Gets the sheet's name.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>RowsCount</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the number of rows.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>ColumnsCount</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the number of columns.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableSheetWrapper</name>
|
||||
<shortname>WritableSheet</shortname>
|
||||
<objectwrapper>jxl.write.WritableSheet</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<event>ValuesAvailable (Success As Boolean, Rows As List)</event>
|
||||
<method>
|
||||
<name>GetAllAsync</name>
|
||||
<comment>Asynchronously retrieves all the values in the sheet.
|
||||
The ValuesAvailable event is raised when the data is ready with a List that holds the data.
|
||||
Each item in the list is an array of strings that represents a single row.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetRowHeight</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Row</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Height</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddCell</name>
|
||||
<comment>Adds a new cell to the sheet.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Cell</name>
|
||||
<type>jxl.write.WritableCell</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetColumnWidth</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Col</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Width</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>GetCellValue</name>
|
||||
<comment>Returns the string value of the cell at the given column and row.
|
||||
(0, 0) is equivalent to A0.
|
||||
(0, 1) is equivalent to A1.
|
||||
(1, 0) is equivalent to B0.</comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>Col</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Row</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Name</name>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<comment>Gets the sheet's name.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>RowsCount</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the number of rows.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>ColumnsCount</name>
|
||||
<returntype>int</returntype>
|
||||
<comment>Returns the number of columns.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableCellWrapper</name>
|
||||
<shortname>WritableCell</shortname>
|
||||
<objectwrapper>jxl.write.WritableCell</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>InitializeFormula</name>
|
||||
<comment>Creates a new WritableCell in the given coordinates and formula.
|
||||
Call WritableSheet.AddCell to add it to the sheet.
|
||||
<code>
|
||||
cell.InitializeFormula(0, 1, "34 + 34")
|
||||
sheet1.AddCell(cell)</code></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Col</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Row</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Formula</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>InitializeNumber</name>
|
||||
<comment>Creates a new WritableCell in the given coordinates and number value.
|
||||
Call WritableSheet.AddCell to add it to the sheet.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Col</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Row</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Value</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetCellFormat</name>
|
||||
<comment>Sets the cell format. Note that you can use the same WritableCellFormat for multiple cells.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>CellFormat</name>
|
||||
<type>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableCellFormatWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>InitializeText</name>
|
||||
<comment>Creates a new WritableCell in the given coordinates and text value.
|
||||
Call WritableSheet.AddCell to add it to the sheet.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Col</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Row</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Value</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4a.objects.WorkbookWrapper.AbsSheetWrapper.WritableCellFormatWrapper</name>
|
||||
<shortname>WritableCellFormat</shortname>
|
||||
<objectwrapper>jxl.write.WritableCellFormat</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Creates a new WritableCellFormat with the default settings.</comment>
|
||||
<returntype>void</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>SetBorder</name>
|
||||
<comment>Sets the cell's border.
|
||||
Border - One of the BORDER constants.
|
||||
Style - One of the BORDER_STYLE constants.
|
||||
BorderColor - One of the COLOR constants.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Border</name>
|
||||
<type>jxl.format.Border</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Style</name>
|
||||
<type>jxl.format.BorderLineStyle</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>BorderColor</name>
|
||||
<type>jxl.format.Colour</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize2</name>
|
||||
<comment>Creates a new WritableCellFormat with the specified font style.
|
||||
Font - One of the FONT constants.
|
||||
FontSize - Default value is 10.
|
||||
Bold - Whether the text should be bold.
|
||||
Underline - Whether the text should be underlined.
|
||||
Italic - Whether the text style should be italic.
|
||||
FontColor - One of the COLOR constants.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Font</name>
|
||||
<type>jxl.write.WritableFont.FontName</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FontSize</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Bold</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Underline</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Italic</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FontColor</name>
|
||||
<type>jxl.format.Colour</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>HorizontalAlignment</name>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>jxl.format.Alignment</type>
|
||||
</parameter>
|
||||
<comment>Sets the cell's horizontal alignment. The value should be one of the HALIGN constants.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>BackgroundColor</name>
|
||||
<parameter>
|
||||
<name>Clr</name>
|
||||
<type>jxl.format.Colour</type>
|
||||
</parameter>
|
||||
<comment>Sets the cell's background color. The color should be one of the COLOR constants.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>VertivalAlignment</name>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>jxl.format.VerticalAlignment</type>
|
||||
</parameter>
|
||||
<comment>Sets the cell's vertical alignment. The value should be one of the VALIGN constants.</comment>
|
||||
</property>
|
||||
<field>
|
||||
<name>COLOR_CORAL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_TEAL2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LIGHT_TURQUOISE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_TURQUOISE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_DOUBLE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>FONT_ARIAL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.write.WritableFont.FontName</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_TEAL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_UNKNOWN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_DASH_DOT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_ROSE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_BLUE_GREY</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_BLUE2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_BLUE2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_ORANGE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_BOTTOM</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Border</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_THIN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_TEAL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>FONT_TIMES</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.write.WritableFont.FontName</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_IVORY</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_PINK2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_BRIGHT_GREEN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_SEA_GREEN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_PINK</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_AUTOMATIC</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_GREY_50_PERCENT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>FONT_TAHOMA</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.write.WritableFont.FontName</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_MEDIUM_DASHED</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_GREEN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_BLACK</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_TAN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_MEDIUM</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>VALIGN_JUSTIFY</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.VerticalAlignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>VALIGN_TOP</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.VerticalAlignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>HALIGN_RIGHT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Alignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LAVENDER</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>HALIGN_GENERAL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Alignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_DASHED</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>VALIGN_CENTRE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.VerticalAlignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_THICK</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_DASH_DOT_DOT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_ICE_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_SLANTED_DASH_DOT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LIME</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_PLUM</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_AQUA</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LIGHT_ORANGE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_GREY_25_PERCENT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_VERY_LIGHT_YELLOW</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_GOLD</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>HALIGN_JUSTIFY</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Alignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_TOP</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Border</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_BROWN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_TURQOISE2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_OLIVE_GREEN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_WHITE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_LEFT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Border</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_NONE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_RIGHT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Border</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_PALE_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_YELLOW</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_GREEN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_RED</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_MEDIUM_DASH_DOT_DOT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_PLUM2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_YELLOW2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_VIOLET</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_GREY_80_PERCENT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_OCEAN_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_NONE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Border</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>VALIGN_BOTTOM</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.VerticalAlignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>HALIGN_LEFT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Alignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_SKY_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>HALIGN_FILL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Alignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>HALIGN_CENTRE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Alignment</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_VIOLET2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_INDIGO</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LIGHT_TURQUOISE2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_GREY_40_PERCENT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_PURPLE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_RED</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>FONT_COURIER</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.write.WritableFont.FontName</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LIGHT_GREEN</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_DOTTED</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_LIGHT_BLUE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_DARK_RED2</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_ALL</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Border</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_HAIR</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>BORDER_STYLE_MEDIUM_DASH_DOT</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.BorderLineStyle</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>COLOR_PERIWINKLE</name>
|
||||
<comment></comment>
|
||||
<returntype>jxl.format.Colour</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<version>1.0</version>
|
||||
<dependsOn>jxl</dependsOn>
|
||||
</root>
|
||||
BIN
B4J/jGoogleMaps.jar
Normal file
BIN
B4J/jGoogleMaps.jar
Normal file
Binary file not shown.
664
B4J/jGoogleMaps.xml
Normal file
664
B4J/jGoogleMaps.xml
Normal file
@@ -0,0 +1,664 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper</name>
|
||||
<shortname>GoogleMap</shortname>
|
||||
<comment>Uses GoogleMap JavaScript V3 API to show a map inside WebView.
|
||||
GoogleMap.AsPane returns a Pane which should be added to the nodes tree.
|
||||
The map is only ready after Ready event is raised.</comment>
|
||||
<owner>process</owner>
|
||||
<event>Ready</event>
|
||||
<event>CameraChange (Position As CameraPosition)</event>
|
||||
<event>Click (Point As LatLng)</event>
|
||||
<event>CircleClick (SelectedCircle As MapCircle)</event>
|
||||
<event>MarkerClick (SelectedMarker As Marker)</event>
|
||||
<event>PolygonClick (SelectedPolygon As MapPolygon)</event>
|
||||
<event>PolylineClick (SelectedPolyline As MapPolyline)</event>
|
||||
<method>
|
||||
<name>AddMarker2</name>
|
||||
<comment>Adds a marker to the map with a custom icon.
|
||||
The IconUri must point to an online image or an image from the assets folder.
|
||||
<b>In the later case the custom icon will only appear in Release mode.</b>
|
||||
Example: <code>
|
||||
gmap.AddMarker2(10, 10, "This is a test", _
|
||||
File.GetUri(File.DirAssets, "SomeIcon.png"))</code></comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Lat</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Lon</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Title</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>IconUri</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddInfoWindow2</name>
|
||||
<comment>Opens an info window with the given HTML content at the specified position. It cannot be larger than MaxWidth (in pixels).</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Content</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Position</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>MaxWidth</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddPolygon</name>
|
||||
<comment>Adds a polygon to the map.
|
||||
Points - A list or array of LatLng points.
|
||||
StrokeWidth - Stroke width.
|
||||
StrokeColor - Stroke color.
|
||||
FillColor - Inner color.
|
||||
Opacity - Inner color opacity. Value between 0 to 1.</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolygonWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Points</name>
|
||||
<type>anywheresoftware.b4a.objects.collections.List</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>StrokeWidth</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>StrokeColor</name>
|
||||
<type>javafx.scene.paint.Paint</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FillColor</name>
|
||||
<type>javafx.scene.paint.Paint</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Opacity</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>MoveCamera2</name>
|
||||
<comment>Moves the camera position.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>NewPosition</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddCircle</name>
|
||||
<comment>Adds a circle to the map.
|
||||
Center - Position of the circle center.
|
||||
Radius - Circle radius.
|
||||
StrokeWidth - Stroke width.
|
||||
StrokeColor - Stroke color.
|
||||
FillColor - Inner color.
|
||||
Opacity - Inner color opacity. Value between 0 to 1.</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CircleWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Center</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Radius</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>StrokeWidth</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>StrokeColor</name>
|
||||
<type>javafx.scene.paint.Paint</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>FillColor</name>
|
||||
<type>javafx.scene.paint.Paint</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Opacity</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddInfoWindow</name>
|
||||
<comment>Opens an info window with the given HTML content at the specified position.</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Content</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Position</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initializes the map. The Ready event will be raised when the map is ready.
|
||||
EventName - Sets the subs that will handle the events.
|
||||
Options - MapOptions object. Pass Null for the default options.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Options</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MapOptionsWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddMarker</name>
|
||||
<comment>Adds a marker to the map.</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Lat</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Lon</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Title</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>IsReady</name>
|
||||
<comment>Returns True when the map is ready.</comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>RemoveCircle</name>
|
||||
<comment>Removes the specified circle from the map.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Circle</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CircleWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>FitBounds</name>
|
||||
<comment>Moves the map to ensure the given bounds fit within the viewport.
|
||||
Note that the Google Maps API will add a margin around these bounds.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>bounds</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>PanToBounds</name>
|
||||
<comment>Pans the map by the minimum amount necessary to contain the given LatLongBounds. It makes no guarantee where on the map the bounds will be, except that as much of the bounds as possible will be visible.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>bounds</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddPolyline</name>
|
||||
<comment>Adds a polyline to the map.
|
||||
Points - A list or array of LatLng points.
|
||||
Width - Line width.
|
||||
Color - Line color.</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolylineWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Points</name>
|
||||
<type>anywheresoftware.b4a.objects.collections.List</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Width</name>
|
||||
<type>float</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Color</name>
|
||||
<type>javafx.scene.paint.Paint</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize2</name>
|
||||
<comment>Similar to Initialize. Allows setting the <link>api key|https://developers.google.com/maps/documentation/javascript/get-api-key#key</link>.
|
||||
Example: <code>map.Initialize2("map", Null, "AIzattttttt_tttttttthGujrM")</code></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>ba</name>
|
||||
<type>anywheresoftware.b4a.BA</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>EventName</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Options</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MapOptionsWrapper</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>ApiKey</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>MoveCamera</name>
|
||||
<comment>Moves the camera position.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>NewPosition</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CameraPositionWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>AddInfoWindowToMarker</name>
|
||||
<comment>Opens an info window with the given HTML content above the specified marker.</comment>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Content</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Marker</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>RemovePolygon</name>
|
||||
<comment>Removes the specified polygon from the map.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Polygon</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolygonWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>RemoveMarker</name>
|
||||
<comment>Removes the specified marker from the map.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Marker</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>CloseInfoWindow</name>
|
||||
<comment>Closes the specified info window.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>InfoWindow</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>RemovePolyline</name>
|
||||
<comment>Removes the specified polyline from the map.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Polyline</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolylineWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>CameraPosition</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CameraPositionWrapper</returntype>
|
||||
<comment>Returns the current camera position.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Bounds</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper</returntype>
|
||||
<comment>Returns the LatLongBounds of the visual area. It is recommended to read Bounds only inside the CameraChange event because its values may be incorrect otherwise.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Zoom</name>
|
||||
<parameter>
|
||||
<name>zoom</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
<comment>Sets the zoom level.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>MapType</name>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>java.lang.Object</type>
|
||||
</parameter>
|
||||
<comment>Sets the map type. The value should be one of the MAP_TYPE constants.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>AsPane</name>
|
||||
<returntype>anywheresoftware.b4j.objects.PaneWrapper.ConcretePaneWrapper</returntype>
|
||||
<comment>Returns the pane that holds the map.</comment>
|
||||
</property>
|
||||
<field>
|
||||
<name>MAP_TYPE_SATELLITE</name>
|
||||
<comment></comment>
|
||||
<returntype>com.lynden.gmapsfx.javascript.object.MapTypeIdEnum</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>MAP_TYPE_NORMAL</name>
|
||||
<comment></comment>
|
||||
<returntype>com.lynden.gmapsfx.javascript.object.MapTypeIdEnum</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>MAP_TYPE_HYBRID</name>
|
||||
<comment></comment>
|
||||
<returntype>com.lynden.gmapsfx.javascript.object.MapTypeIdEnum</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>MAP_TYPE_TERRAIN</name>
|
||||
<comment></comment>
|
||||
<returntype>com.lynden.gmapsfx.javascript.object.MapTypeIdEnum</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MapOptionsWrapper</name>
|
||||
<shortname>MapOptions</shortname>
|
||||
<comment>MapOptions is passed to GoogleMap.Initialize method.
|
||||
It allows you to choose which controls will be available.</comment>
|
||||
<owner>process</owner>
|
||||
<field>
|
||||
<name>ScrollWheel</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>ZoomControl</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>PanControl</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>OverviewMapControl</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>StreetViewControl</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
<field>
|
||||
<name>MapTypeControl</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</field>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</name>
|
||||
<shortname>LatLng</shortname>
|
||||
<comment>Holds latitude and longitude values.</comment>
|
||||
<objectwrapper>com.lynden.gmapsfx.javascript.object.LatLong</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initializes a new object.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Latitude</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Longitude</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>Latitude</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the latitude value.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Longitude</name>
|
||||
<returntype>double</returntype>
|
||||
<comment>Returns the longitude value.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CameraPositionWrapper</name>
|
||||
<shortname>CameraPosition</shortname>
|
||||
<comment>The map view is modeled as a camera looking down on a flat plane.
|
||||
See this <link>link|https://developers.google.com/maps/documentation/android/views#the_camera_position</link> for more information about the possible values.</comment>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>toString</name>
|
||||
<comment></comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment>Initializes the camera position with the given latitude, longitude and zoom.</comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>Lat</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Lng</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>Zoom</name>
|
||||
<type>int</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>Target</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</returntype>
|
||||
<comment>Returns the location that the camera is pointing at.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Zoom</name>
|
||||
<returntype>float</returntype>
|
||||
<comment>Returns the zoom level.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper</name>
|
||||
<shortname>LatLongBounds</shortname>
|
||||
<objectwrapper>com.lynden.gmapsfx.javascript.object.LatLongBounds</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<method>
|
||||
<name>Initialize</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>NorthEast</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>SouthWest</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<property>
|
||||
<name>SouthWest</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</returntype>
|
||||
<comment></comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>NorthEast</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</returntype>
|
||||
<comment></comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MarkerWrapper</name>
|
||||
<shortname>Marker</shortname>
|
||||
<objectwrapper>com.lynden.gmapsfx.javascript.object.Marker</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Position</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</returntype>
|
||||
<parameter>
|
||||
<name>value</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
<comment>Get or sets the marker position.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Visible</name>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets whether the marker is visible.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Title</name>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<comment>Sets the marker title.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.InfoWindowWrapper</name>
|
||||
<shortname>MapInfoWindow</shortname>
|
||||
<objectwrapper>com.lynden.gmapsfx.javascript.object.InfoWindow</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Position</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Position</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the position of this info window.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Content</name>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>Content</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the HTML content of this info window.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolylineWrapper</name>
|
||||
<shortname>MapPolyline</shortname>
|
||||
<objectwrapper>com.lynden.gmapsfx.shapes.Polyline</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Visible</name>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets whether this polyline is visible.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.PolygonWrapper</name>
|
||||
<shortname>MapPolygon</shortname>
|
||||
<objectwrapper>com.lynden.gmapsfx.shapes.Polygon</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Visible</name>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets whether this polygon is visible.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<class>
|
||||
<name>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.CircleWrapper</name>
|
||||
<shortname>MapCircle</shortname>
|
||||
<objectwrapper>com.lynden.gmapsfx.shapes.Circle</objectwrapper>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>IsInitialized</name>
|
||||
<comment></comment>
|
||||
<returntype>boolean</returntype>
|
||||
</method>
|
||||
<property>
|
||||
<name>Radius</name>
|
||||
<returntype>double</returntype>
|
||||
<parameter>
|
||||
<name>Radius</name>
|
||||
<type>double</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the circle radius.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Center</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</returntype>
|
||||
<parameter>
|
||||
<name>Center</name>
|
||||
<type>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLngWrapper</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets the circle center.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Bounds</name>
|
||||
<returntype>anywheresoftware.b4j.googlemaps.GoogleMapWrapper.LatLongBoundsWrapper</returntype>
|
||||
<comment>Gets the circle bounds.</comment>
|
||||
</property>
|
||||
<property>
|
||||
<name>Visible</name>
|
||||
<returntype>boolean</returntype>
|
||||
<parameter>
|
||||
<name>v</name>
|
||||
<type>boolean</type>
|
||||
</parameter>
|
||||
<comment>Gets or sets whether this circle is visible.</comment>
|
||||
</property>
|
||||
</class>
|
||||
<version>2.0</version>
|
||||
</root>
|
||||
BIN
B4J/jScriptEngine.jar
Normal file
BIN
B4J/jScriptEngine.jar
Normal file
Binary file not shown.
51
B4J/jScriptEngine.xml
Normal file
51
B4J/jScriptEngine.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<root>
|
||||
<doclet-version-NOT-library-version>1.02</doclet-version-NOT-library-version>
|
||||
<class>
|
||||
<name>jScriptEngine.jScriptEngine</name>
|
||||
<shortname>jScriptEngine</shortname>
|
||||
<owner>process</owner>
|
||||
<method>
|
||||
<name>enginePut</name>
|
||||
<comment></comment>
|
||||
<returntype>void</returntype>
|
||||
<parameter>
|
||||
<name>a</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<name>b</name>
|
||||
<type>java.lang.Object</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>engineGet</name>
|
||||
<comment></comment>
|
||||
<returntype>java.lang.Object</returntype>
|
||||
<parameter>
|
||||
<name>a</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>evalFile</name>
|
||||
<comment></comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>fileAndPath</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
<method>
|
||||
<name>evalString</name>
|
||||
<comment></comment>
|
||||
<returntype>java.lang.String</returntype>
|
||||
<parameter>
|
||||
<name>s</name>
|
||||
<type>java.lang.String</type>
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<version>1.0</version>
|
||||
<author>Daestrum</author>
|
||||
</root>
|
||||
BIN
B4J/jxl.jar
Normal file
BIN
B4J/jxl.jar
Normal file
Binary file not shown.
BIN
B4J/mysql-connector-java-5.1.47-bin.jar
Normal file
BIN
B4J/mysql-connector-java-5.1.47-bin.jar
Normal file
Binary file not shown.
BIN
B4J/mysql-connector-java-8.0.21.jar
Normal file
BIN
B4J/mysql-connector-java-8.0.21.jar
Normal file
Binary file not shown.
BIN
B4J/mysql-connector-java-8.0.26.jar
Normal file
BIN
B4J/mysql-connector-java-8.0.26.jar
Normal file
Binary file not shown.
BIN
B4J/mysql-connector-java-8.0.27.jar
Normal file
BIN
B4J/mysql-connector-java-8.0.27.jar
Normal file
Binary file not shown.
BIN
B4J/ojdbc5.jar
Normal file
BIN
B4J/ojdbc5.jar
Normal file
Binary file not shown.
BIN
B4J/ojdbc6.jar
Normal file
BIN
B4J/ojdbc6.jar
Normal file
Binary file not shown.
BIN
B4J/ojdbc8.jar
Normal file
BIN
B4J/ojdbc8.jar
Normal file
Binary file not shown.
BIN
B4J/postgresql-42.2.27.jre6.jar
Normal file
BIN
B4J/postgresql-42.2.27.jre6.jar
Normal file
Binary file not shown.
BIN
B4J/postgresql-42.2.27.jre7.jar
Normal file
BIN
B4J/postgresql-42.2.27.jre7.jar
Normal file
Binary file not shown.
BIN
B4J/postgresql-42.7.0.jar
Normal file
BIN
B4J/postgresql-42.7.0.jar
Normal file
Binary file not shown.
BIN
B4J/postgresql-9.2-1003-jdbc4.jar
Normal file
BIN
B4J/postgresql-9.2-1003-jdbc4.jar
Normal file
Binary file not shown.
BIN
B4J/sqlite-jdbc-3.44.1.0.jar
Normal file
BIN
B4J/sqlite-jdbc-3.44.1.0.jar
Normal file
Binary file not shown.
BIN
B4J/sqlite-jdbc-3.7.2.jar
Normal file
BIN
B4J/sqlite-jdbc-3.7.2.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user